Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001657, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001924/0.001924, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.469/1.469, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002003, allocations: 62.44 kB / 307.9 MB, free: 480 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.116, allocations: 50.54 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation): time 0.2823/0.3984, allocations: 83.26 MB / 441.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.5168/0.9152, allocations: 182.3 MB / 0.6093 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.9182, allocations: 61 kB / 0.6094 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003076/0.9213, allocations: 0.9834 MB / 0.6103 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.014/0.9354, allocations: 4.532 MB / 0.6148 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02528/0.9607, allocations: 9.79 MB / 0.6243 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02416/0.9848, allocations: 24.41 MB / 0.6482 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.9975, allocations: 7.095 MB / 0.6551 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03309/1.031, allocations: 14.18 MB / 0.6689 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03281/1.063, allocations: 15.35 MB / 0.6839 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00588/1.069, allocations: 1.727 MB / 0.6856 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03033/1.1, allocations: 10.7 MB / 0.6961 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.01047/1.11, allocations: 6.193 MB / 0.7021 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.02196/1.132, allocations: 8.709 MB / 0.7106 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.05093/1.183, allocations: 31.1 MB / 0.741 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/1.183, allocations: 4 kB / 0.741 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.244e-06/1.183, allocations: 0 / 0.741 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0007152/1.184, allocations: 0 / 0.741 GB, free: 4.449 MB / 0.5606 GB 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.7446/1.929, allocations: 38.47 MB / 0.7786 GB, free: 93.81 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.929, allocations: 13.75 kB / 0.7786 GB, free: 93.81 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02583/1.955, allocations: 3.266 MB / 0.7818 GB, free: 92.56 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02336/1.978, allocations: 9.634 MB / 0.7912 GB, free: 89.82 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/1.979, allocations: 0.8332 MB / 0.792 GB, free: 89.79 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007052/1.986, allocations: 1.086 MB / 0.7931 GB, free: 89.75 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06802/2.054, allocations: 26.56 MB / 0.819 GB, free: 74.72 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006608/2.055, allocations: 37.03 kB / 0.819 GB, free: 74.7 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006587/2.061, allocations: 445.1 kB / 0.8194 GB, free: 74.27 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001591/2.063, allocations: 1.978 MB / 0.8214 GB, free: 72.3 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06022/2.123, allocations: 26.68 MB / 0.8474 GB, free: 45.72 MB / 0.5607 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.1843/2.308, allocations: 107.3 MB / 0.9522 GB, free: 12.36 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2738/2.581, allocations: 16.4 MB / 0.9682 GB, free: 310.7 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01819/2.6, allocations: 9.62 MB / 0.9776 GB, free: 308.3 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09134/2.691, allocations: 54.47 MB / 1.031 GB, free: 270.5 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/2.691, allocations: 169.7 kB / 1.031 GB, free: 270.3 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=1173): time 1.498e-05/2.691, allocations: 7.469 kB / 1.031 GB, free: 270.3 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1373): time 0.1664/2.858, allocations: 75.1 MB / 1.104 GB, free: 201.4 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000214/2.858, allocations: 0.8037 MB / 1.105 GB, free: 200.4 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/2.869, allocations: 7.439 MB / 1.112 GB, free: 193 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.003694/2.873, allocations: 269.7 kB / 1.113 GB, free: 192.7 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003027/2.876, allocations: 4.848 MB / 1.117 GB, free: 187.8 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.006283/2.882, allocations: 4.825 MB / 1.122 GB, free: 183 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009371/2.892, allocations: 3.125 MB / 1.125 GB, free: 179.9 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 6.237e-05/2.892, allocations: 301.1 kB / 1.125 GB, free: 179.6 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01701/2.909, allocations: 11.39 MB / 1.137 GB, free: 168.2 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02057/2.929, allocations: 14.72 MB / 1.151 GB, free: 152.2 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03879/2.968, allocations: 26.63 MB / 1.177 GB, free: 124.3 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/2.968, allocations: 28 kB / 1.177 GB, free: 124.3 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1986) (initialization): time 0.07394/3.042, allocations: 37.6 MB / 1.214 GB, free: 86.57 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.209e-05/3.042, allocations: 43.98 kB / 1.214 GB, free: 86.53 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/3.043, allocations: 89.03 kB / 1.214 GB, free: 86.44 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4732/3.516, allocations: 86.01 MB / 1.298 GB, free: 281.9 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00709/3.523, allocations: 1.688 MB / 1.299 GB, free: 281.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07783/3.601, allocations: 39.82 MB / 1.338 GB, free: 268.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01382/3.615, allocations: 0.8042 MB / 1.339 GB, free: 268.7 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004057/3.619, allocations: 0.7025 MB / 1.34 GB, free: 268.5 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02432/3.643, allocations: 14.62 MB / 1.354 GB, free: 262.5 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01942/3.663, allocations: 13.92 MB / 1.368 GB, free: 254.6 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03513/3.698, allocations: 25.05 MB / 1.392 GB, free: 235.1 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001071/3.698, allocations: 27.56 kB / 1.392 GB, free: 235.1 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1986) (initialization_lambda0): time 0.06511/3.763, allocations: 34.88 MB / 1.426 GB, free: 203.9 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/3.763, allocations: 45.16 kB / 1.426 GB, free: 203.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/3.763, allocations: 91.75 kB / 1.426 GB, free: 203.8 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2142/3.977, allocations: 49.45 MB / 1.475 GB, free: 154.4 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00655/3.984, allocations: 1.755 MB / 1.476 GB, free: 152.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06012/4.044, allocations: 36.27 MB / 1.512 GB, free: 116.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01397/4.058, allocations: 0.781 MB / 1.513 GB, free: 115.7 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004094/4.062, allocations: 0.6795 MB / 1.513 GB, free: 115 MB / 0.6388 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(100,964)} Notification: Performance of prepare postOptimizeDAE: time 0.007239/4.07, allocations: 1.019 MB / 1.514 GB, free: 114 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004657/4.074, allocations: 0.908 MB / 1.515 GB, free: 113.6 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07484/4.149, allocations: 43.04 MB / 1.557 GB, free: 70.53 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002569/4.149, allocations: 279.7 kB / 1.557 GB, free: 70.26 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-05/4.15, allocations: 12 kB / 1.557 GB, free: 70.25 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2861/4.436, allocations: 37.35 MB / 1.594 GB, free: 286 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.115/4.551, allocations: 67.93 MB / 1.66 GB, free: 255 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001423/4.551, allocations: 0 / 1.66 GB, free: 255 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01546/4.566, allocations: 2.898 MB / 1.663 GB, free: 254.3 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06492/4.631, allocations: 14.49 MB / 1.677 GB, free: 242.6 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004359/4.636, allocations: 0.5543 MB / 1.678 GB, free: 242 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04893/4.685, allocations: 91.1 MB / 1.767 GB, free: 145 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/4.685, allocations: 0 / 1.767 GB, free: 145 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08352/4.768, allocations: 52.68 MB / 1.818 GB, free: 92.64 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003523/4.772, allocations: 1.467 MB / 1.82 GB, free: 91.22 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005635/4.777, allocations: 459.6 kB / 1.82 GB, free: 90.77 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0116/4.789, allocations: 0.5659 MB / 1.821 GB, free: 90.2 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004447/4.793, allocations: 0.9163 MB / 1.821 GB, free: 89.29 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003228/4.797, allocations: 0.4919 MB / 1.822 GB, free: 88.79 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007442/4.804, allocations: 5.069 MB / 1.827 GB, free: 83.73 MB / 0.6388 GB Notification: Performance of sort global known variables: time 6.11e-07/4.804, allocations: 4 kB / 1.827 GB, free: 83.72 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.03262/4.837, allocations: 8.779 MB / 1.835 GB, free: 75.11 MB / 0.6388 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 (not torn): 0 * Torn equation systems: 80 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 40 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 40 systems {(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.01033/4.847, allocations: 2.293 MB / 1.838 GB, free: 73.13 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.599/5.446, allocations: 161.5 MB / 1.995 GB, free: 239.4 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/5.446, allocations: 5.875 kB / 1.995 GB, free: 239.4 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0329/5.479, allocations: 21.61 MB / 2.016 GB, free: 219.7 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02624/5.506, allocations: 4.293 MB / 2.021 GB, free: 216.6 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08454/5.59, allocations: 45.36 MB / 2.065 GB, free: 173.7 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01497/5.605, allocations: 8.599 MB / 2.073 GB, free: 165.1 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008328/5.613, allocations: 0.9952 MB / 2.074 GB, free: 164.1 MB / 0.6388 GB Notification: Performance of SimCode: time 1.202e-06/5.614, allocations: 8 kB / 2.074 GB, free: 164.1 MB / 0.6388 GB Notification: Performance of Templates: time 5.049/10.66, allocations: 2.573 GB / 4.647 GB, free: 235.6 MB / 0.6388 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/HeatExchanger/HeatExchangerSimulation/HeatExchangerSimulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches