Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 108.2 kB / 16.37 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 190.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 71.03 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2319, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow): time 0.6756/0.9075, allocations: 264.2 MB / 1.043 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02727/0.9348, allocations: 21.21 MB / 1.064 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002694/0.9375, allocations: 79.56 kB / 1.064 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.9406, allocations: 1.258 MB / 1.065 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009766/0.9504, allocations: 4.003 MB / 1.069 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006676/0.9571, allocations: 2.753 MB / 1.071 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.02208/0.9792, allocations: 17.53 MB / 1.089 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.9896, allocations: 8.047 MB / 1.096 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/1.002, allocations: 6.392 MB / 1.103 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008855/1.011, allocations: 5.147 MB / 1.108 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001848/1.012, allocations: 0.8164 MB / 1.108 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009908/1.022, allocations: 4.648 MB / 1.113 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002762/1.025, allocations: 2.24 MB / 1.115 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006102/1.031, allocations: 4.116 MB / 1.119 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01609/1.047, allocations: 14.01 MB / 1.133 GB, free: 5.078 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/1.047, allocations: 0 / 1.133 GB, free: 5.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/1.047, allocations: 0 / 1.133 GB, free: 5.078 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003055/1.048, allocations: 0 / 1.133 GB, free: 5.078 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.3603/1.408, allocations: 7.882 MB / 1.141 GB, free: 300.9 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.408, allocations: 10.5 kB / 1.141 GB, free: 300.9 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007632/1.416, allocations: 1.401 MB / 1.142 GB, free: 300.6 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/1.427, allocations: 6.246 MB / 1.148 GB, free: 298.4 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/1.427, allocations: 354.6 kB / 1.148 GB, free: 298.2 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/1.429, allocations: 480.9 kB / 1.149 GB, free: 298.1 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01659/1.446, allocations: 6.876 MB / 1.156 GB, free: 295.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/1.446, allocations: 15.67 kB / 1.156 GB, free: 295.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007365/1.447, allocations: 184.2 kB / 1.156 GB, free: 295.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003282/1.447, allocations: 218.7 kB / 1.156 GB, free: 295.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/1.46, allocations: 6.128 MB / 1.162 GB, free: 293.3 MB / 0.92 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.03687/1.497, allocations: 26.87 MB / 1.188 GB, free: 276.6 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005618/1.502, allocations: 4.106 MB / 1.192 GB, free: 274.6 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003327/1.506, allocations: 2.505 MB / 1.195 GB, free: 273.6 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/1.507, allocations: 1.009 MB / 1.196 GB, free: 272.6 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003108/1.51, allocations: 2.186 MB / 1.198 GB, free: 271.2 MB / 0.92 GB Notification: Performance of pre-optimization done (n=310): time 5.19e-06/1.51, allocations: 0 / 1.198 GB, free: 271.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=314): time 0.01864/1.528, allocations: 11.21 MB / 1.209 GB, free: 264.9 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/1.528, allocations: 143.1 kB / 1.209 GB, free: 264.8 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00612/1.535, allocations: 4.633 MB / 1.213 GB, free: 262.4 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000518/1.535, allocations: 89.55 kB / 1.213 GB, free: 262.3 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.537, allocations: 2.463 MB / 1.216 GB, free: 260.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008973/1.538, allocations: 1.077 MB / 1.217 GB, free: 259.3 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009372/1.539, allocations: 0.668 MB / 1.218 GB, free: 259 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 3.305e-05/1.539, allocations: 301.1 kB / 1.218 GB, free: 258.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/1.541, allocations: 1.891 MB / 1.22 GB, free: 257.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002847/1.544, allocations: 2.706 MB / 1.222 GB, free: 255.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005359/1.549, allocations: 4.705 MB / 1.227 GB, free: 252.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/1.549, allocations: 4 kB / 1.227 GB, free: 252.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007776/1.557, allocations: 5.275 MB / 1.232 GB, free: 247 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.734e-05/1.557, allocations: 75.39 kB / 1.232 GB, free: 246.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/1.557, allocations: 17.22 kB / 1.232 GB, free: 246.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/1.558, allocations: 126.9 kB / 1.232 GB, free: 246.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/1.561, allocations: 0.7632 MB / 1.233 GB, free: 246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/1.563, allocations: 2.973 MB / 1.236 GB, free: 242.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/1.567, allocations: 283.9 kB / 1.236 GB, free: 242.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003781/1.568, allocations: 128 kB / 1.236 GB, free: 242.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005428/1.573, allocations: 3.976 MB / 1.24 GB, free: 238.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003211/1.576, allocations: 2.688 MB / 1.243 GB, free: 235.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005552/1.582, allocations: 4.683 MB / 1.247 GB, free: 230.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.286e-05/1.582, allocations: 5.125 kB / 1.247 GB, free: 230.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=434) (initialization_lambda0): time 0.007576/1.589, allocations: 5.262 MB / 1.253 GB, free: 225.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/1.589, allocations: 75.33 kB / 1.253 GB, free: 225.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/1.59, allocations: 17.62 kB / 1.253 GB, free: 225.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/1.59, allocations: 129.5 kB / 1.253 GB, free: 225.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/1.593, allocations: 0.745 MB / 1.254 GB, free: 224.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/1.594, allocations: 2.381 MB / 1.256 GB, free: 221.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/1.598, allocations: 302.7 kB / 1.256 GB, free: 221.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/1.599, allocations: 132 kB / 1.256 GB, free: 221.4 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 14 (mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 405 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007431/1.6, allocations: 446 kB / 1.257 GB, free: 221 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008601/1.6, allocations: 463.2 kB / 1.257 GB, free: 220.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006428/1.607, allocations: 4.746 MB / 1.262 GB, free: 215.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004775/1.612, allocations: 3.996 MB / 1.266 GB, free: 211.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.612, allocations: 7.938 kB / 1.266 GB, free: 211.6 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/1.614, allocations: 1.069 MB / 1.267 GB, free: 210.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007251/1.614, allocations: 75.98 kB / 1.267 GB, free: 210.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/1.617, allocations: 196.9 kB / 1.267 GB, free: 210.3 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/1.617, allocations: 182.1 kB / 1.267 GB, free: 210.1 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007446/1.625, allocations: 4.993 MB / 1.272 GB, free: 205.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00841/1.633, allocations: 7.435 MB / 1.279 GB, free: 197.5 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002119/1.635, allocations: 2.096 MB / 1.281 GB, free: 195.4 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004288/1.64, allocations: 3.275 MB / 1.285 GB, free: 192.2 MB / 0.92 GB Notification: Performance of Backend: time 3.81e-07/1.64, allocations: 4 kB / 1.285 GB, free: 192.1 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01233/1.652, allocations: 6.848 MB / 1.291 GB, free: 185.4 MB / 0.92 GB Notification: Performance of SimCode: time 0.02138/1.673, allocations: 13.57 MB / 1.304 GB, free: 172.1 MB / 0.92 GB Notification: Performance of Templates: time 0.1507/1.824, allocations: 124 MB / 1.426 GB, free: 49.2 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)