Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001671/0.001671, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007309/0.0007308, allocations: 82.42 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003191, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2734, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation): time 0.06772/0.3412, allocations: 78.59 MB / 453.7 MB, free: 1.938 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.4847/0.826, allocations: 164.2 MB / 0.6034 GB, free: 8.562 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.8289, allocations: 71.44 kB / 0.6034 GB, free: 8.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.8314, allocations: 0.7849 MB / 0.6042 GB, free: 7.715 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01339/0.8448, allocations: 3.928 MB / 0.608 GB, free: 3.898 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02538/0.8702, allocations: 7.543 MB / 0.6154 GB, free: 12.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02367/0.8939, allocations: 23.9 MB / 0.6387 GB, free: 4.438 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.9042, allocations: 5.731 MB / 0.6443 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03333/0.9375, allocations: 17.79 MB / 0.6617 GB, free: 12.84 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3778/1.315, allocations: 20.26 MB / 0.6815 GB, free: 28.54 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00784/1.323, allocations: 0.5757 MB / 0.6821 GB, free: 28.54 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02877/1.352, allocations: 9.256 MB / 0.6911 GB, free: 28.52 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01125/1.363, allocations: 5.138 MB / 0.6961 GB, free: 28.52 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02499/1.388, allocations: 7.121 MB / 0.7031 GB, free: 28.49 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03786/1.426, allocations: 24.51 MB / 0.727 GB, free: 19.73 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.426, allocations: 0 / 0.727 GB, free: 19.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.426, allocations: 0 / 0.727 GB, free: 19.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009121/1.427, allocations: 0 / 0.727 GB, free: 19.73 MB / 474.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.1567/1.584, allocations: 39.16 MB / 0.7652 GB, free: 6.703 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/1.584, allocations: 8.031 kB / 0.7653 GB, free: 6.695 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02517/1.609, allocations: 3.215 MB / 0.7684 GB, free: 3.914 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02793/1.637, allocations: 9.698 MB / 0.7779 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001401/1.639, allocations: 0.8363 MB / 0.7787 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008099/1.647, allocations: 1.089 MB / 0.7797 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07698/1.724, allocations: 26.54 MB / 0.8057 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009622/1.725, allocations: 48.41 kB / 0.8057 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008853/1.734, allocations: 445.4 kB / 0.8061 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00226/1.736, allocations: 1.97 MB / 0.8081 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07842/1.814, allocations: 26.74 MB / 0.8342 GB, free: 8.766 MB / 0.5261 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.4586/2.273, allocations: 104.7 MB / 0.9364 GB, free: 209.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03502/2.308, allocations: 16.44 MB / 0.9525 GB, free: 200.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.018/2.326, allocations: 9.665 MB / 0.9619 GB, free: 195.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09449/2.421, allocations: 49.68 MB / 1.01 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/2.421, allocations: 167.8 kB / 1.011 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1173): time 0.0001158/2.421, allocations: 0 / 1.011 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1373): time 0.2314/2.653, allocations: 75.5 MB / 1.084 GB, free: 64.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/2.653, allocations: 0.7998 MB / 1.085 GB, free: 63.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01348/2.666, allocations: 7.385 MB / 1.092 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004081/2.671, allocations: 281.5 kB / 1.093 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003285/2.674, allocations: 4.851 MB / 1.097 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.008246/2.682, allocations: 4.814 MB / 1.102 GB, free: 46.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002546/2.685, allocations: 308 kB / 1.102 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0008994/2.686, allocations: 0.9469 MB / 1.103 GB, free: 45.14 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01832/2.704, allocations: 11.09 MB / 1.114 GB, free: 34.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02379/2.728, allocations: 14.49 MB / 1.128 GB, free: 18.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3214/3.049, allocations: 26.17 MB / 1.154 GB, free: 241.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/3.049, allocations: 24.88 kB / 1.154 GB, free: 241.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1986) (initialization): time 0.1004/3.15, allocations: 37.02 MB / 1.19 GB, free: 227.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001904/3.152, allocations: 2.698 MB / 1.193 GB, free: 224.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002286/3.152, allocations: 83.62 kB / 1.193 GB, free: 224.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2807/3.433, allocations: 87.44 MB / 1.278 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00746/3.44, allocations: 1.704 MB / 1.28 GB, free: 143 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08761/3.528, allocations: 39.99 MB / 1.319 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01773/3.546, allocations: 1.546 MB / 1.32 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005532/3.551, allocations: 0.699 MB / 1.321 GB, free: 101 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/3.551, allocations: 8 kB / 1.321 GB, free: 101 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08204/3.633, allocations: 34.18 MB / 1.354 GB, free: 66.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003702/3.634, allocations: 88 kB / 1.354 GB, free: 66.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4814/4.115, allocations: 73.62 MB / 1.426 GB, free: 209.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007391/4.123, allocations: 1.777 MB / 1.428 GB, free: 207.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07044/4.193, allocations: 36.2 MB / 1.463 GB, free: 173.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01513/4.208, allocations: 1.452 MB / 1.465 GB, free: 172.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004042/4.212, allocations: 0.6795 MB / 1.465 GB, free: 171.5 MB / 0.5573 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.01266/4.225, allocations: 4.73 MB / 1.47 GB, free: 166.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003531/4.229, allocations: 0.9092 MB / 1.471 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07084/4.299, allocations: 43.21 MB / 1.513 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002272/4.3, allocations: 275.7 kB / 1.513 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.011e-05/4.3, allocations: 8 kB / 1.513 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05591/4.356, allocations: 37.54 MB / 1.55 GB, free: 84.94 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3062/4.662, allocations: 68.19 MB / 1.617 GB, free: 226.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001016/4.662, allocations: 0 / 1.617 GB, free: 226.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01546/4.678, allocations: 2.909 MB / 1.62 GB, free: 226.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06465/4.742, allocations: 14.72 MB / 1.634 GB, free: 219.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003996/4.746, allocations: 0.5543 MB / 1.634 GB, free: 219.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04857/4.795, allocations: 86.72 MB / 1.719 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/4.795, allocations: 0 / 1.719 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08435/4.879, allocations: 52.94 MB / 1.771 GB, free: 73.97 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003848/4.883, allocations: 1.514 MB / 1.772 GB, free: 72.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005275/4.888, allocations: 443.8 kB / 1.773 GB, free: 72.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01197/4.9, allocations: 1.09 MB / 1.774 GB, free: 71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003548/4.904, allocations: 0.9163 MB / 1.775 GB, free: 70.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002198/4.906, allocations: 499.7 kB / 1.775 GB, free: 69.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.007352/4.914, allocations: 5.026 MB / 1.78 GB, free: 64.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/4.914, allocations: 0 / 1.78 GB, free: 64.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.03191/4.946, allocations: 8.776 MB / 1.789 GB, free: 55.96 MB / 0.5573 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.01041/4.956, allocations: 2.262 MB / 1.791 GB, free: 54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.09366/5.05, allocations: 46.43 MB / 1.836 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/5.05, allocations: 5.875 kB / 1.836 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.2418/5.291, allocations: 21.5 MB / 1.857 GB, free: 216.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02562/5.317, allocations: 4.083 MB / 1.861 GB, free: 216.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0845/5.402, allocations: 51.96 MB / 1.912 GB, free: 192.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01306/5.415, allocations: 8.591 MB / 1.92 GB, free: 189.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007038/5.422, allocations: 0.9939 MB / 1.921 GB, free: 189.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.162e-06/5.422, allocations: 5.953 kB / 1.921 GB, free: 189.7 MB / 0.5573 GB Notification: Performance of Templates: time 5.422/10.84, allocations: 2.57 GB / 4.491 GB, free: 65.73 MB / 0.5573 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.sim & ./Modelica_3.2.3_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/HeatExchanger/HeatExchangerSimulation/HeatExchangerSimulation.csv","../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches