Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HEX.pipe_1.mediums.10..T|HEX.pipe_1.mediums.10..p|HEX.pipe_1.mediums.11..T|HEX.pipe_1.mediums.11..p|HEX.pipe_1.mediums.12..T|HEX.pipe_1.mediums.12..p|HEX.pipe_1.mediums.13..T|HEX.pipe_1.mediums.13..p|HEX.pipe_1.mediums.14..T|HEX.pipe_1.mediums.14..p|HEX.pipe_1.mediums.15..T|HEX.pipe_1.mediums.15..p|HEX.pipe_1.mediums.16..T|HEX.pipe_1.mediums.16..p|HEX.pipe_1.mediums.17..T|HEX.pipe_1.mediums.17..p|HEX.pipe_1.mediums.18..T|HEX.pipe_1.mediums.18..p|HEX.pipe_1.mediums.19..T|HEX.pipe_1.mediums.19..p|HEX.pipe_1.mediums.1..T|HEX.pipe_1.mediums.1..p|HEX.pipe_1.mediums.20..T|HEX.pipe_1.mediums.20..p|HEX.pipe_1.mediums.2..T|HEX.pipe_1.mediums.2..p|HEX.pipe_1.mediums.3..T|HEX.pipe_1.mediums.3..p|HEX.pipe_1.mediums.4..T|HEX.pipe_1.mediums.4..p|HEX.pipe_1.mediums.5..T|HEX.pipe_1.mediums.5..p|HEX.pipe_1.mediums.6..T|HEX.pipe_1.mediums.6..p|HEX.pipe_1.mediums.7..T|HEX.pipe_1.mediums.7..p|HEX.pipe_1.mediums.8..T|HEX.pipe_1.mediums.8..p|HEX.pipe_1.mediums.9..T|HEX.pipe_1.mediums.9..p|HEX.pipe_2.mediums.10..T|HEX.pipe_2.mediums.10..p|HEX.pipe_2.mediums.11..T|HEX.pipe_2.mediums.11..p|HEX.pipe_2.mediums.12..T|HEX.pipe_2.mediums.12..p|HEX.pipe_2.mediums.13..T|HEX.pipe_2.mediums.13..p|HEX.pipe_2.mediums.14..T|HEX.pipe_2.mediums.14..p|HEX.pipe_2.mediums.15..T|HEX.pipe_2.mediums.15..p|HEX.pipe_2.mediums.16..T|HEX.pipe_2.mediums.16..p|HEX.pipe_2.mediums.17..T|HEX.pipe_2.mediums.17..p|HEX.pipe_2.mediums.18..T|HEX.pipe_2.mediums.18..p|HEX.pipe_2.mediums.19..T|HEX.pipe_2.mediums.19..p|HEX.pipe_2.mediums.1..T|HEX.pipe_2.mediums.1..p|HEX.pipe_2.mediums.20..T|HEX.pipe_2.mediums.20..p|HEX.pipe_2.mediums.2..T|HEX.pipe_2.mediums.2..p|HEX.pipe_2.mediums.3..T|HEX.pipe_2.mediums.3..p|HEX.pipe_2.mediums.4..T|HEX.pipe_2.mediums.4..p|HEX.pipe_2.mediums.5..T|HEX.pipe_2.mediums.5..p|HEX.pipe_2.mediums.6..T|HEX.pipe_2.mediums.6..p|HEX.pipe_2.mediums.7..T|HEX.pipe_2.mediums.7..p|HEX.pipe_2.mediums.8..T|HEX.pipe_2.mediums.8..p|HEX.pipe_2.mediums.9..T|HEX.pipe_2.mediums.9..p|HEX.wall.T.10.|HEX.wall.T.11.|HEX.wall.T.12.|HEX.wall.T.13.|HEX.wall.T.14.|HEX.wall.T.15.|HEX.wall.T.16.|HEX.wall.T.17.|HEX.wall.T.18.|HEX.wall.T.19.|HEX.wall.T.1.|HEX.wall.T.20.|HEX.wall.T.2.|HEX.wall.T.3.|HEX.wall.T.4.|HEX.wall.T.5.|HEX.wall.T.6.|HEX.wall.T.7.|HEX.wall.T.8.|HEX.wall.T.9.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation") translateModel(Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HEX.pipe_1.mediums.10..T|HEX.pipe_1.mediums.10..p|HEX.pipe_1.mediums.11..T|HEX.pipe_1.mediums.11..p|HEX.pipe_1.mediums.12..T|HEX.pipe_1.mediums.12..p|HEX.pipe_1.mediums.13..T|HEX.pipe_1.mediums.13..p|HEX.pipe_1.mediums.14..T|HEX.pipe_1.mediums.14..p|HEX.pipe_1.mediums.15..T|HEX.pipe_1.mediums.15..p|HEX.pipe_1.mediums.16..T|HEX.pipe_1.mediums.16..p|HEX.pipe_1.mediums.17..T|HEX.pipe_1.mediums.17..p|HEX.pipe_1.mediums.18..T|HEX.pipe_1.mediums.18..p|HEX.pipe_1.mediums.19..T|HEX.pipe_1.mediums.19..p|HEX.pipe_1.mediums.1..T|HEX.pipe_1.mediums.1..p|HEX.pipe_1.mediums.20..T|HEX.pipe_1.mediums.20..p|HEX.pipe_1.mediums.2..T|HEX.pipe_1.mediums.2..p|HEX.pipe_1.mediums.3..T|HEX.pipe_1.mediums.3..p|HEX.pipe_1.mediums.4..T|HEX.pipe_1.mediums.4..p|HEX.pipe_1.mediums.5..T|HEX.pipe_1.mediums.5..p|HEX.pipe_1.mediums.6..T|HEX.pipe_1.mediums.6..p|HEX.pipe_1.mediums.7..T|HEX.pipe_1.mediums.7..p|HEX.pipe_1.mediums.8..T|HEX.pipe_1.mediums.8..p|HEX.pipe_1.mediums.9..T|HEX.pipe_1.mediums.9..p|HEX.pipe_2.mediums.10..T|HEX.pipe_2.mediums.10..p|HEX.pipe_2.mediums.11..T|HEX.pipe_2.mediums.11..p|HEX.pipe_2.mediums.12..T|HEX.pipe_2.mediums.12..p|HEX.pipe_2.mediums.13..T|HEX.pipe_2.mediums.13..p|HEX.pipe_2.mediums.14..T|HEX.pipe_2.mediums.14..p|HEX.pipe_2.mediums.15..T|HEX.pipe_2.mediums.15..p|HEX.pipe_2.mediums.16..T|HEX.pipe_2.mediums.16..p|HEX.pipe_2.mediums.17..T|HEX.pipe_2.mediums.17..p|HEX.pipe_2.mediums.18..T|HEX.pipe_2.mediums.18..p|HEX.pipe_2.mediums.19..T|HEX.pipe_2.mediums.19..p|HEX.pipe_2.mediums.1..T|HEX.pipe_2.mediums.1..p|HEX.pipe_2.mediums.20..T|HEX.pipe_2.mediums.20..p|HEX.pipe_2.mediums.2..T|HEX.pipe_2.mediums.2..p|HEX.pipe_2.mediums.3..T|HEX.pipe_2.mediums.3..p|HEX.pipe_2.mediums.4..T|HEX.pipe_2.mediums.4..p|HEX.pipe_2.mediums.5..T|HEX.pipe_2.mediums.5..p|HEX.pipe_2.mediums.6..T|HEX.pipe_2.mediums.6..p|HEX.pipe_2.mediums.7..T|HEX.pipe_2.mediums.7..p|HEX.pipe_2.mediums.8..T|HEX.pipe_2.mediums.8..p|HEX.pipe_2.mediums.9..T|HEX.pipe_2.mediums.9..p|HEX.wall.T.10.|HEX.wall.T.11.|HEX.wall.T.12.|HEX.wall.T.13.|HEX.wall.T.14.|HEX.wall.T.15.|HEX.wall.T.16.|HEX.wall.T.17.|HEX.wall.T.18.|HEX.wall.T.19.|HEX.wall.T.1.|HEX.wall.T.20.|HEX.wall.T.2.|HEX.wall.T.3.|HEX.wall.T.4.|HEX.wall.T.5.|HEX.wall.T.6.|HEX.wall.T.7.|HEX.wall.T.8.|HEX.wall.T.9.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 200.2 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 226.6 MB / 244.7 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008758/0.0008759, allocations: 94.09 kB / 296.8 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.0002631, allocations: 11.98 kB / 356.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2629, allocations: 51.29 MB / 408 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation): time 0.06219/0.3251, allocations: 78.69 MB / 486.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.4278/0.753, allocations: 164 MB / 0.6355 GB, free: 7.09 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.7553, allocations: 67.44 kB / 0.6355 GB, free: 7.023 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.758, allocations: 0.7897 MB / 0.6363 GB, free: 6.242 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01316/0.7712, allocations: 3.935 MB / 0.6401 GB, free: 2.422 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02417/0.7954, allocations: 7.559 MB / 0.6475 GB, free: 10.9 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.02298/0.8184, allocations: 23.91 MB / 0.6709 GB, free: 2.941 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.829, allocations: 5.73 MB / 0.6765 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3367/1.166, allocations: 17.79 MB / 0.6938 GB, free: 16.22 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02895/1.195, allocations: 20.29 MB / 0.7137 GB, free: 16.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003923/1.199, allocations: 0.5732 MB / 0.7142 GB, free: 16.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02118/1.22, allocations: 9.323 MB / 0.7233 GB, free: 16.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007889/1.228, allocations: 5.139 MB / 0.7283 GB, free: 16.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01678/1.245, allocations: 7.127 MB / 0.7353 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02625/1.271, allocations: 24.54 MB / 0.7593 GB, free: 1.465 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.271, allocations: 0 / 0.7593 GB, free: 1.465 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.966e-06/1.271, allocations: 0 / 0.7593 GB, free: 1.465 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007735/1.272, allocations: 0 / 0.7593 GB, free: 1.465 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3731 * Number of variables: 3731 Notification: Performance of Generate backend data structure: time 0.1526/1.424, allocations: 39.18 MB / 0.7975 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.424, allocations: 8.875 kB / 0.7975 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02379/1.448, allocations: 3.267 MB / 0.8007 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02238/1.471, allocations: 9.703 MB / 0.8102 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/1.472, allocations: 0.8357 MB / 0.811 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005936/1.478, allocations: 1.086 MB / 0.8121 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0602/1.538, allocations: 26.55 MB / 0.838 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004884/1.538, allocations: 53.2 kB / 0.8381 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005569/1.544, allocations: 445.9 kB / 0.8385 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0019/1.546, allocations: 1.974 MB / 0.8404 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05775/1.604, allocations: 26.74 MB / 0.8665 GB, free: 14.16 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6138/2.217, allocations: 107.7 MB / 0.9717 GB, free: 212.9 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02931/2.247, allocations: 16.44 MB / 0.9878 GB, free: 203.9 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01424/2.261, allocations: 9.661 MB / 0.9972 GB, free: 195.3 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07622/2.337, allocations: 54.82 MB / 1.051 GB, free: 133.7 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/2.337, allocations: 176.4 kB / 1.051 GB, free: 133.5 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1173): time 1.198e-05/2.337, allocations: 0 / 1.051 GB, free: 133.5 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1373): time 0.1502/2.488, allocations: 75.53 MB / 1.125 GB, free: 57.9 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/2.488, allocations: 0.7998 MB / 1.125 GB, free: 56.94 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/2.499, allocations: 7.389 MB / 1.133 GB, free: 49.54 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.004152/2.503, allocations: 265.7 kB / 1.133 GB, free: 49.27 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002985/2.506, allocations: 4.855 MB / 1.138 GB, free: 44.44 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.005495/2.512, allocations: 4.816 MB / 1.142 GB, free: 39.66 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00231/2.514, allocations: 316 kB / 1.143 GB, free: 39.35 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0007622/2.515, allocations: 0.943 MB / 1.144 GB, free: 38.4 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01655/2.531, allocations: 11.09 MB / 1.154 GB, free: 27.3 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01981/2.551, allocations: 14.49 MB / 1.169 GB, free: 11.55 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2387/2.79, allocations: 26.19 MB / 1.194 GB, free: 255.3 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.94e-05/2.79, allocations: 23.75 kB / 1.194 GB, free: 255.3 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1986) (initialization): time 0.06992/2.86, allocations: 37.02 MB / 1.23 GB, free: 237.8 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.001212/2.861, allocations: 2.694 MB / 1.233 GB, free: 234.1 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.916e-05/2.862, allocations: 87.94 kB / 1.233 GB, free: 234 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2592/3.121, allocations: 87.45 MB / 1.318 GB, free: 147.8 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00625/3.127, allocations: 1.7 MB / 1.32 GB, free: 146.1 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07063/3.198, allocations: 40.02 MB / 1.359 GB, free: 106.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0152/3.213, allocations: 1.558 MB / 1.361 GB, free: 104.7 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003902/3.217, allocations: 0.7068 MB / 1.361 GB, free: 104 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/3.217, allocations: 4 kB / 1.361 GB, free: 104 MB / 0.5887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.258/3.475, allocations: 34.19 MB / 1.395 GB, free: 242.6 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002054/3.475, allocations: 86.88 kB / 1.395 GB, free: 242.6 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2339/3.709, allocations: 73.65 MB / 1.467 GB, free: 209 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006691/3.716, allocations: 1.768 MB / 1.469 GB, free: 207.4 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06381/3.78, allocations: 36.21 MB / 1.504 GB, free: 171.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0139/3.794, allocations: 1.48 MB / 1.505 GB, free: 169.9 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003676/3.797, allocations: 0.6834 MB / 1.506 GB, free: 169.2 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 390 * Number of states: 0 () * Number of discrete variables: 48 (HEX.pipe_2.mediums[20].phase,HEX.pipe_2.mediums[19].phase,HEX.pipe_2.mediums[18].phase,HEX.pipe_2.mediums[17].phase,HEX.pipe_2.mediums[16].phase,HEX.pipe_2.mediums[15].phase,HEX.pipe_2.mediums[14].phase,HEX.pipe_2.mediums[13].phase,HEX.pipe_2.mediums[12].phase,HEX.pipe_2.mediums[11].phase,HEX.pipe_2.mediums[10].phase,HEX.pipe_2.mediums[9].phase,HEX.pipe_2.mediums[8].phase,HEX.pipe_2.mediums[7].phase,HEX.pipe_2.mediums[6].phase,HEX.pipe_2.mediums[5].phase,HEX.pipe_2.mediums[4].phase,HEX.pipe_2.mediums[3].phase,HEX.pipe_2.mediums[2].phase,HEX.pipe_2.mediums[1].phase,HEX.pipe_2.state_a.phase,HEX.pipe_1.mediums[20].phase,HEX.pipe_1.mediums[19].phase,HEX.pipe_1.mediums[18].phase,HEX.pipe_1.mediums[17].phase,HEX.pipe_1.mediums[16].phase,HEX.pipe_1.mediums[15].phase,HEX.pipe_1.mediums[14].phase,HEX.pipe_1.mediums[13].phase,HEX.pipe_1.mediums[12].phase,HEX.pipe_1.mediums[11].phase,HEX.pipe_1.mediums[10].phase,HEX.pipe_1.mediums[9].phase,HEX.pipe_1.mediums[8].phase,HEX.pipe_1.mediums[7].phase,HEX.pipe_1.mediums[6].phase,HEX.pipe_1.mediums[5].phase,HEX.pipe_1.mediums[4].phase,HEX.pipe_1.mediums[3].phase,HEX.pipe_1.mediums[2].phase,HEX.pipe_1.mediums[1].phase,HEX.pipe_1.state_b.phase,massFlowRate1.medium.phase,massFlowRate2.medium.phase,ambient1.medium.phase,ambient2.medium.phase,HEX.pipe_2.state_b.phase,HEX.pipe_1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (923): * Single equations (assignments): 922 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {100 964} Notification: Performance of prepare postOptimizeDAE: time 0.01156/3.809, allocations: 4.721 MB / 1.511 GB, free: 164.6 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003506/3.812, allocations: 0.9138 MB / 1.512 GB, free: 164.2 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06942/3.882, allocations: 43.24 MB / 1.554 GB, free: 120.9 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002119/3.882, allocations: 283.7 kB / 1.554 GB, free: 120.6 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.02e-05/3.882, allocations: 12 kB / 1.554 GB, free: 120.6 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05503/3.937, allocations: 37.53 MB / 1.591 GB, free: 82.75 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3114/4.249, allocations: 68.22 MB / 1.657 GB, free: 229.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001087/4.249, allocations: 0 / 1.657 GB, free: 229.2 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01507/4.264, allocations: 2.916 MB / 1.66 GB, free: 226.8 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06443/4.328, allocations: 14.71 MB / 1.675 GB, free: 212.3 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003907/4.332, allocations: 0.5543 MB / 1.675 GB, free: 211.8 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04684/4.379, allocations: 86.72 MB / 1.76 GB, free: 119.4 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/4.379, allocations: 0 / 1.76 GB, free: 119.4 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07599/4.455, allocations: 52.95 MB / 1.811 GB, free: 66.29 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003716/4.459, allocations: 1.52 MB / 1.813 GB, free: 64.81 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004792/4.464, allocations: 443.8 kB / 1.813 GB, free: 64.38 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01177/4.475, allocations: 1.099 MB / 1.814 GB, free: 63.3 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003534/4.479, allocations: 0.9163 MB / 1.815 GB, free: 62.38 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002244/4.481, allocations: 0.4958 MB / 1.816 GB, free: 61.88 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.007283/4.489, allocations: 5.022 MB / 1.821 GB, free: 56.86 MB / 0.5887 GB Notification: Performance of sort global known variables: time 1.062e-06/4.489, allocations: 0 / 1.821 GB, free: 56.86 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.03016/4.519, allocations: 8.801 MB / 1.829 GB, free: 48.23 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (HEX.wall.T[1],HEX.wall.T[2],HEX.wall.T[3],HEX.wall.T[4],HEX.wall.T[5],HEX.wall.T[6],HEX.wall.T[7],HEX.wall.T[8],HEX.wall.T[9],HEX.wall.T[10],HEX.wall.T[11],HEX.wall.T[12],HEX.wall.T[13],HEX.wall.T[14],HEX.wall.T[15],HEX.wall.T[16],HEX.wall.T[17],HEX.wall.T[18],HEX.wall.T[19],HEX.wall.T[20],HEX.pipe_1.mediums[1].p,HEX.pipe_1.mediums[1].T,HEX.pipe_1.mediums[2].p,HEX.pipe_1.mediums[2].T,HEX.pipe_1.mediums[3].p,HEX.pipe_1.mediums[3].T,HEX.pipe_1.mediums[4].p,HEX.pipe_1.mediums[4].T,HEX.pipe_1.mediums[5].p,HEX.pipe_1.mediums[5].T,HEX.pipe_1.mediums[6].p,HEX.pipe_1.mediums[6].T,HEX.pipe_1.mediums[7].p,HEX.pipe_1.mediums[7].T,HEX.pipe_1.mediums[8].p,HEX.pipe_1.mediums[8].T,HEX.pipe_1.mediums[9].p,HEX.pipe_1.mediums[9].T,HEX.pipe_1.mediums[10].p,HEX.pipe_1.mediums[10].T,HEX.pipe_1.mediums[11].p,HEX.pipe_1.mediums[11].T,HEX.pipe_1.mediums[12].p,HEX.pipe_1.mediums[12].T,HEX.pipe_1.mediums[13].p,HEX.pipe_1.mediums[13].T,HEX.pipe_1.mediums[14].p,HEX.pipe_1.mediums[14].T,HEX.pipe_1.mediums[15].p,HEX.pipe_1.mediums[15].T,HEX.pipe_1.mediums[16].p,HEX.pipe_1.mediums[16].T,HEX.pipe_1.mediums[17].p,HEX.pipe_1.mediums[17].T,HEX.pipe_1.mediums[18].p,HEX.pipe_1.mediums[18].T,HEX.pipe_1.mediums[19].p,HEX.pipe_1.mediums[19].T,HEX.pipe_1.mediums[20].p,HEX.pipe_1.mediums[20].T,HEX.pipe_2.mediums[1].p,HEX.pipe_2.mediums[1].T,HEX.pipe_2.mediums[2].p,HEX.pipe_2.mediums[2].T,HEX.pipe_2.mediums[3].p,HEX.pipe_2.mediums[3].T,HEX.pipe_2.mediums[4].p,HEX.pipe_2.mediums[4].T,HEX.pipe_2.mediums[5].p,HEX.pipe_2.mediums[5].T,HEX.pipe_2.mediums[6].p,HEX.pipe_2.mediums[6].T,HEX.pipe_2.mediums[7].p,HEX.pipe_2.mediums[7].T,HEX.pipe_2.mediums[8].p,HEX.pipe_2.mediums[8].T,HEX.pipe_2.mediums[9].p,HEX.pipe_2.mediums[9].T,HEX.pipe_2.mediums[10].p,HEX.pipe_2.mediums[10].T,HEX.pipe_2.mediums[11].p,HEX.pipe_2.mediums[11].T,HEX.pipe_2.mediums[12].p,HEX.pipe_2.mediums[12].T,HEX.pipe_2.mediums[13].p,HEX.pipe_2.mediums[13].T,HEX.pipe_2.mediums[14].p,HEX.pipe_2.mediums[14].T,HEX.pipe_2.mediums[15].p,HEX.pipe_2.mediums[15].T,HEX.pipe_2.mediums[16].p,HEX.pipe_2.mediums[16].T,HEX.pipe_2.mediums[17].p,HEX.pipe_2.mediums[17].T,HEX.pipe_2.mediums[18].p,HEX.pipe_2.mediums[18].T,HEX.pipe_2.mediums[19].p,HEX.pipe_2.mediums[19].T,HEX.pipe_2.mediums[20].p,HEX.pipe_2.mediums[20].T) * Number of discrete variables: 92 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse81.phase,$cse81.region,$cse82.phase,$cse82.region,$cse83.phase,$cse83.region,$cse84.phase,$cse84.region,$cse85.phase,$cse85.region,$cse86.phase,$cse86.region,$cse87.phase,$cse87.region,$cse88.phase,$cse88.region,$cse89.phase,$cse89.region,$cse90.phase,$cse90.region,$cse91.phase,$cse91.region,$cse92.phase,$cse92.region,$cse93.phase,$cse93.region,$cse94.phase,$cse94.region,$cse95.phase,$cse95.region,$cse96.phase,$cse96.region,$cse97.phase,$cse97.region,$cse98.phase,$cse98.region,$cse99.phase,$cse99.region,$cse100.phase,$cse100.region,$cse101.phase,$cse101.region,$cse102.phase,$cse102.region,$cse123.phase,$cse123.region,$cse124.phase,$cse124.region,$cse127.phase,$cse127.region,$cse128.phase,$cse128.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1379): * Single equations (assignments): 1253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 46 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 80 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 40 {2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009471/4.528, allocations: 2.267 MB / 1.832 GB, free: 46.27 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.2922/4.821, allocations: 46.43 MB / 1.877 GB, free: 235.9 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/4.821, allocations: 6.938 kB / 1.877 GB, free: 235.9 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.0297/4.85, allocations: 21.51 MB / 1.898 GB, free: 228.6 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01981/4.87, allocations: 4.103 MB / 1.902 GB, free: 227.6 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06991/4.94, allocations: 51.96 MB / 1.953 GB, free: 194 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008972/4.949, allocations: 8.585 MB / 1.961 GB, free: 185.4 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005726/4.955, allocations: 0.9991 MB / 1.962 GB, free: 184.4 MB / 0.5887 GB Notification: Performance of SimCode: time 9.12e-07/4.955, allocations: 7.938 kB / 1.962 GB, free: 184.4 MB / 0.5887 GB Notification: Performance of Templates: time 5.091/10.05, allocations: 2.571 GB / 4.533 GB, free: 112.3 MB / 0.5887 GB make -j1 -f Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.makefile (rm -f Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe >> ../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.sim & ./Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/HeatExchanger/HeatExchangerSimulation/HeatExchangerSimulation.csv","../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches