Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.503/2.503, allocations: 287.5 MB / 302.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 185 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 102 kB / 0.743 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004679, allocations: 12.38 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.566/7.775, allocations: 2.394 GB / 3.373 GB, free: 219 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/7.776, allocations: 101.9 kB / 3.373 GB, free: 218.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 14.02/21.8, allocations: 2.68 GB / 6.052 GB, free: 123.2 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.066e-06/21.8, allocations: 0 / 6.052 GB, free: 123.2 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001401/21.8, allocations: 168.5 kB / 6.053 GB, free: 123.2 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.03615/21.84, allocations: 7.48 MB / 6.06 GB, free: 120.1 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/21.84, allocations: 10.03 kB / 6.06 GB, free: 120.1 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/21.85, allocations: 1.497 MB / 6.061 GB, free: 119.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02784/21.88, allocations: 7.461 MB / 6.069 GB, free: 118.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005943/21.88, allocations: 372.1 kB / 6.069 GB, free: 118.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002654/21.88, allocations: 0.4939 MB / 6.069 GB, free: 118.7 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02516/21.91, allocations: 6.726 MB / 6.076 GB, free: 116.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/21.91, allocations: 7.531 kB / 6.076 GB, free: 116.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002101/21.91, allocations: 201 kB / 6.076 GB, free: 116.7 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003364/21.91, allocations: 227.4 kB / 6.076 GB, free: 116.7 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02015/21.93, allocations: 5.89 MB / 6.082 GB, free: 114.5 MB / 1.01 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.06777/22, allocations: 28.09 MB / 6.11 GB, free: 96.98 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/22.01, allocations: 4.538 MB / 6.114 GB, free: 94.26 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001642/22.01, allocations: 0.9227 MB / 6.115 GB, free: 93.2 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006939/22.02, allocations: 2.208 MB / 6.117 GB, free: 91.44 MB / 1.01 GB Notification: Performance of pre-optimization done (n=324): time 7.985e-06/22.02, allocations: 0 / 6.117 GB, free: 91.44 MB / 1.01 GB Notification: Performance of matching and sorting (n=328): time 0.04383/22.06, allocations: 11.76 MB / 6.129 GB, free: 79.74 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/22.06, allocations: 248 kB / 6.129 GB, free: 79.45 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/22.07, allocations: 4.568 MB / 6.133 GB, free: 74.89 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001077/22.07, allocations: 93.7 kB / 6.133 GB, free: 74.79 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00394/22.08, allocations: 2.737 MB / 6.136 GB, free: 72.03 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002051/22.08, allocations: 1.131 MB / 6.137 GB, free: 70.91 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004394/22.08, allocations: 68 kB / 6.137 GB, free: 70.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002607/22.08, allocations: 452.8 kB / 6.138 GB, free: 70.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004762/22.09, allocations: 1.794 MB / 6.139 GB, free: 68.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006574/22.09, allocations: 2.719 MB / 6.142 GB, free: 65.57 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007007/22.1, allocations: 2.32 MB / 6.144 GB, free: 63.26 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/22.1, allocations: 7.406 kB / 6.144 GB, free: 63.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01765/22.12, allocations: 5.196 MB / 6.149 GB, free: 58.03 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001407/22.12, allocations: 6.209 MB / 6.155 GB, free: 51.26 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.729e-05/22.12, allocations: 19.98 kB / 6.155 GB, free: 51.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/22.12, allocations: 213.5 kB / 6.156 GB, free: 51.03 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006977/22.13, allocations: 0.7514 MB / 6.156 GB, free: 50.28 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004255/22.13, allocations: 3.458 MB / 6.16 GB, free: 46.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/22.14, allocations: 0.5929 MB / 6.16 GB, free: 46.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/22.14, allocations: 136 kB / 6.161 GB, free: 45.92 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/22.14, allocations: 4 kB / 6.161 GB, free: 45.91 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01497/22.16, allocations: 4.741 MB / 6.165 GB, free: 41.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.386e-05/22.16, allocations: 12 kB / 6.165 GB, free: 41.12 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009293/22.16, allocations: 213.6 kB / 6.165 GB, free: 40.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006713/22.17, allocations: 0.745 MB / 6.166 GB, free: 40.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005881/22.17, allocations: 4.132 MB / 6.17 GB, free: 35.76 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/22.18, allocations: 0.5773 MB / 6.171 GB, free: 35.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/22.18, allocations: 132 kB / 6.171 GB, free: 35.05 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 392 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.007093/22.19, allocations: 2.411 MB / 6.173 GB, free: 32.62 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002026/22.19, allocations: 0.4901 MB / 6.174 GB, free: 32.13 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/22.21, allocations: 4.952 MB / 6.178 GB, free: 27.12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.272e-05/22.21, allocations: 32 kB / 6.179 GB, free: 27.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/22.21, allocations: 0 / 6.179 GB, free: 27.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01251/22.22, allocations: 4.139 MB / 6.183 GB, free: 22.89 MB / 1.01 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 postOpt removeSimpleEquations (simulation): time 0.03747/22.26, allocations: 12.15 MB / 6.194 GB, free: 10.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/22.26, allocations: 4 kB / 6.194 GB, free: 10.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007183/22.27, allocations: 0.7489 MB / 6.195 GB, free: 9.844 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008791/22.27, allocations: 169.5 kB / 6.195 GB, free: 9.672 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008739/22.27, allocations: 91.95 kB / 6.195 GB, free: 9.582 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003604/22.27, allocations: 3.359 MB / 6.199 GB, free: 6.055 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/22.27, allocations: 4 kB / 6.199 GB, free: 6.051 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02296/22.29, allocations: 8.107 MB / 6.207 GB, free: 13.7 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006775/22.3, allocations: 1.217 MB / 6.208 GB, free: 12.45 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00267/22.3, allocations: 75.98 kB / 6.208 GB, free: 12.38 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01149/22.32, allocations: 0.5067 MB / 6.208 GB, free: 11.87 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001466/22.32, allocations: 198.1 kB / 6.209 GB, free: 11.68 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001182/22.32, allocations: 123.9 kB / 6.209 GB, free: 11.55 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0159/22.33, allocations: 3.593 MB / 6.212 GB, free: 7.973 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.102e-06/22.33, allocations: 0 / 6.212 GB, free: 7.973 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02889/22.36, allocations: 3.181 MB / 6.215 GB, free: 4.793 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01065/22.37, allocations: 3.212 MB / 6.218 GB, free: 1.809 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.8504/23.22, allocations: 7.347 MB / 6.226 GB, free: 143.1 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/23.22, allocations: 3.906 kB / 6.226 GB, free: 143.1 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.007527/23.23, allocations: 2.36 MB / 6.228 GB, free: 142.9 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02814/23.26, allocations: 3.072 MB / 6.231 GB, free: 142.9 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04093/23.3, allocations: 15.66 MB / 6.246 GB, free: 137.4 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01038/23.31, allocations: 4.662 MB / 6.251 GB, free: 136.6 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0165/23.33, allocations: 2.677 MB / 6.253 GB, free: 136.5 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003107/23.33, allocations: 385.9 kB / 6.254 GB, free: 136.5 MB / 1.026 GB Notification: Performance of SimCode: time 1.012e-06/23.33, allocations: 0 / 6.254 GB, free: 136.5 MB / 1.026 GB Notification: Performance of Templates: time 0.329/23.66, allocations: 138.9 MB / 6.389 GB, free: 130 MB / 1.026 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)