{"action":"closed","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/1758","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/1758/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/1758/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/1758/events","html_url":"https://github.com/tbeu/Modelica/issues/1758","id":197619965,"number":1758,"title":"Simulation of HeatExchangerSimulation fails","user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"labels":[{"id":506762997,"url":"https://api.github.com/repos/tbeu/Modelica/labels/bug","name":"bug","color":"ee0701","default":true},{"id":506769233,"url":"https://api.github.com/repos/tbeu/Modelica/labels/L:Fluid","name":"L:Fluid","color":"0000aa","default":false},{"id":506770201,"url":"https://api.github.com/repos/tbeu/Modelica/labels/P:%20highest","name":"P: highest","color":"aa8888","default":false}],"state":"closed","locked":false,"assignee":{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false},"assignees":[{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/tbeu/Modelica/milestones/13","html_url":"https://github.com/tbeu/Modelica/milestone/13","labels_url":"https://api.github.com/repos/tbeu/Modelica/milestones/13/labels","id":2214816,"number":13,"title":"MSL3.2.1+build.4","description":"","creator":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":6,"state":"closed","created_at":"2016-12-25T12:55:21Z","updated_at":"2016-12-26T21:13:58Z","due_on":null,"closed_at":"2016-12-25T12:55:21Z"},"comments":11,"created_at":"2016-12-26T21:11:01Z","updated_at":"2016-12-26T21:13:58Z","closed_at":"2016-12-26T21:13:57Z","body":"**Reported by anonymous on 10 Aug 2015 11:04 UTC**\nDymola 2016 fails on Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation of new MSL 3.2.1+build.3 with cyclic parameter bindings and conflicting start values.\n```\nTranslation of Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation:\n\nThe parameter bindings \nHEX.pipe_1.flowModel.m_flow_nominal = (if system.use_eps_Re then system.m_flow_nominal else 100.0*HEX.pipe_1.flowModel.m_flow_small);\nHEX.pipe_1.flowModel.m_flow_small = (if system.use_eps_Re then system.eps_m_flow*HEX.pipe_1.flowModel.m_flow_nominal else system.m_flow_small);\nare cyclic and that is illegal.\n\nThe parameter bindings \nHEX.pipe_2.flowModel.m_flow_small = (if system.use_eps_Re then system.eps_m_flow*HEX.pipe_2.flowModel.m_flow_nominal else system.m_flow_small);\nHEX.pipe_2.flowModel.m_flow_nominal = (if system.use_eps_Re then system.m_flow_nominal else 100.0*HEX.pipe_2.flowModel.m_flow_small);\nare cyclic and that is illegal.\n\nThe DAE has 3731 scalar unknowns and 3731 scalar equations.\n\nStatistics\n\nOriginal Model\nNumber of components: 277\nVariables: 2315\nConstants: 56 (56 scalars)\nParameters: 345 (624 scalars)\nUnknowns: 1914 (3735 scalars)\nDifferentiated variables: 180 scalars\nEquations: 902\nNontrivial: 612\n\nTranslated Model\nConstants: 1194 scalars\nFree parameters: 33 scalars\nParameter depending: 265 scalars\nContinuous time states: 100 scalars\nTime-varying variables: 1125 scalars\nAlias variables: 1798 scalars\nNumber of mixed real/discrete systems of equations: 0\nSizes of linear systems of equations: {2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 2, 2, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 3, 3, 3, 3, 2, 2, 3, 3, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3}\nSizes after manipulation of the linear systems: {0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 0, 2, 0, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 0, 2, 0, 0, 2, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 2, 2, 2, 0, 0, 2, 2, 2, 0, 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}\nSizes of nonlinear systems of equations: { }\nSizes after manipulation of the nonlinear systems: { }\nNumber of numerical Jacobians: 0\n\nInitialization problem\nSizes of linear systems of equations: {2, 2, 2, 2}\nSizes after manipulation of the linear systems: {0, 0, 0, 0}\nSizes of nonlinear systems of equations: {724}\nSizes after manipulation of the nonlinear systems: {160}\nNumber of numerical Jacobians: 1\n\nSelected continuous time states\n\nStatically selected continuous time states\nHEX.pipe_1.mediums[1].p\nHEX.pipe_1.mediums[1].T\nHEX.pipe_1.mediums[2].p\nHEX.pipe_1.mediums[2].T\nHEX.pipe_1.mediums[3].p\nHEX.pipe_1.mediums[3].T\nHEX.pipe_1.mediums[4].p\nHEX.pipe_1.mediums[4].T\nHEX.pipe_1.mediums[5].p\nHEX.pipe_1.mediums[5].T\nHEX.pipe_1.mediums[6].p\nHEX.pipe_1.mediums[6].T\nHEX.pipe_1.mediums[7].p\nHEX.pipe_1.mediums[7].T\nHEX.pipe_1.mediums[8].p\nHEX.pipe_1.mediums[8].T\nHEX.pipe_1.mediums[9].p\nHEX.pipe_1.mediums[9].T\nHEX.pipe_1.mediums[10].p\nHEX.pipe_1.mediums[10].T\nHEX.pipe_1.mediums[11].p\nHEX.pipe_1.mediums[11].T\nHEX.pipe_1.mediums[12].p\nHEX.pipe_1.mediums[12].T\nHEX.pipe_1.mediums[13].p\nHEX.pipe_1.mediums[13].T\nHEX.pipe_1.mediums[14].p\nHEX.pipe_1.mediums[14].T\nHEX.pipe_1.mediums[15].p\nHEX.pipe_1.mediums[15].T\nHEX.pipe_1.mediums[16].p\nHEX.pipe_1.mediums[16].T\nHEX.pipe_1.mediums[17].p\nHEX.pipe_1.mediums[17].T\nHEX.pipe_1.mediums[18].p\nHEX.pipe_1.mediums[18].T\nHEX.pipe_1.mediums[19].p\nHEX.pipe_1.mediums[19].T\nHEX.pipe_1.mediums[20].p\nHEX.pipe_1.mediums[20].T\nHEX.pipe_2.mediums[1].p\nHEX.pipe_2.mediums[1].T\nHEX.pipe_2.mediums[2].p\nHEX.pipe_2.mediums[2].T\nHEX.pipe_2.mediums[3].p\nHEX.pipe_2.mediums[3].T\nHEX.pipe_2.mediums[4].p\nHEX.pipe_2.mediums[4].T\nHEX.pipe_2.mediums[5].p\nHEX.pipe_2.mediums[5].T\nHEX.pipe_2.mediums[6].p\nHEX.pipe_2.mediums[6].T\nHEX.pipe_2.mediums[7].p\nHEX.pipe_2.mediums[7].T\nHEX.pipe_2.mediums[8].p\nHEX.pipe_2.mediums[8].T\nHEX.pipe_2.mediums[9].p\nHEX.pipe_2.mediums[9].T\nHEX.pipe_2.mediums[10].p\nHEX.pipe_2.mediums[10].T\nHEX.pipe_2.mediums[11].p\nHEX.pipe_2.mediums[11].T\nHEX.pipe_2.mediums[12].p\nHEX.pipe_2.mediums[12].T\nHEX.pipe_2.mediums[13].p\nHEX.pipe_2.mediums[13].T\nHEX.pipe_2.mediums[14].p\nHEX.pipe_2.mediums[14].T\nHEX.pipe_2.mediums[15].p\nHEX.pipe_2.mediums[15].T\nHEX.pipe_2.mediums[16].p\nHEX.pipe_2.mediums[16].T\nHEX.pipe_2.mediums[17].p\nHEX.pipe_2.mediums[17].T\nHEX.pipe_2.mediums[18].p\nHEX.pipe_2.mediums[18].T\nHEX.pipe_2.mediums[19].p\nHEX.pipe_2.mediums[19].T\nHEX.pipe_2.mediums[20].p\nHEX.pipe_2.mediums[20].T\nHEX.wall.T[1]\nHEX.wall.T[2]\nHEX.wall.T[3]\nHEX.wall.T[4]\nHEX.wall.T[5]\nHEX.wall.T[6]\nHEX.wall.T[7]\nHEX.wall.T[8]\nHEX.wall.T[9]\nHEX.wall.T[10]\nHEX.wall.T[11]\nHEX.wall.T[12]\nHEX.wall.T[13]\nHEX.wall.T[14]\nHEX.wall.T[15]\nHEX.wall.T[16]\nHEX.wall.T[17]\nHEX.wall.T[18]\nHEX.wall.T[19]\nHEX.wall.T[20]\n\nConflicting start values\n\nA set of alias variables having conflicting start values of the same precedence\n0.2, the start value of HEX.pipe_1.m_flows[21] given as 0.2.\n0.2, the start value of HEX.pipe_1.flowModel.m_flows[20] given as 0.2.\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate1.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_1.mediums[1].p given as HEX.pipe_1.ps_start[1].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate2.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_2.mediums[20].p given as HEX.pipe_2.ps_start[20].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate1.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_1.mediums[1].p given as HEX.pipe_1.ps_start[1].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate2.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_2.mediums[20].p given as HEX.pipe_2.ps_start[20].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate1.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_1.mediums[1].p given as HEX.pipe_1.ps_start[1].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate2.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_2.mediums[20].p given as HEX.pipe_2.ps_start[20].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate1.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_1.mediums[1].p given as HEX.pipe_1.ps_start[1].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate2.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_2.mediums[20].p given as HEX.pipe_2.ps_start[20].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate1.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_1.mediums[1].p given as HEX.pipe_1.ps_start[1].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate2.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_2.mediums[20].p given as HEX.pipe_2.ps_start[20].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate1.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_1.mediums[1].p given as HEX.pipe_1.ps_start[1].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate2.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_2.mediums[20].p given as HEX.pipe_2.ps_start[20].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate1.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_1.mediums[1].p given as HEX.pipe_1.ps_start[1].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate2.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_2.mediums[20].p given as HEX.pipe_2.ps_start[20].\n\nA set of alias variables having conflicting start values of the same precedence\n101325.0, the start value of HEX.pipe_1.mediums[1].p given as HEX.pipe_1.ps_start[1].\n5000000.0, the start value of massFlowRate1.ports[1].p given as 5000000.0.\n\nA set of alias variables having conflicting start values of the same precedence\n101325.0, the start value of HEX.pipe_2.mediums[20].p given as HEX.pipe_2.ps_start[20].\n5000000.0, the start value of massFlowRate2.ports[1].p given as 5000000.0.\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate1.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_1.mediums[1].p given as HEX.pipe_1.ps_start[1].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate2.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_2.mediums[20].p given as HEX.pipe_2.ps_start[20].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate1.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_1.mediums[1].p given as HEX.pipe_1.ps_start[1].\n\nA set of alias variables having conflicting start values of the same precedence\n5000000.0, the start value of massFlowRate2.ports[1].p given as 5000000.0.\n101325.0, the start value of HEX.pipe_2.mediums[20].p given as HEX.pipe_2.ps_start[20].\n\nA set of alias variables having conflicting start values of the same precedence\n101325.0, the start value of HEX.pipe_1.mediums[1].p given as HEX.pipe_1.ps_start[1].\n5000000.0, the start value of massFlowRate1.ports[1].p given as 5000000.0.\n\nA set of alias variables having conflicting start values of the same precedence\n101325.0, the start value of HEX.pipe_2.mediums[20].p given as HEX.pipe_2.ps_start[20].\n5000000.0, the start value of massFlowRate2.ports[1].p given as 5000000.0.\n\nError detected when generating code.\n\nTranslation aborted.\n\nERROR: 3 errors were found\n```\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/1758"}}
{"actor":{"display_login":"modelica-trac-importer"}}