Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.551/1.551, allocations: 289.9 MB / 297.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 176.8 kB / 366.7 MB, free: 1.699 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008158/0.0008163, allocations: 92.03 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.973e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6656/0.6656, allocations: 116.3 MB / 0.9733 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.798/5.463, allocations: 2.081 GB / 3.054 GB, free: 3.285 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/5.464, allocations: 103.5 kB / 3.054 GB, free: 3.23 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8707/6.334, allocations: 143 MB / 3.194 GB, free: 252.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.174e-06/6.335, allocations: 0 / 3.194 GB, free: 252.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002796/6.335, allocations: 32 kB / 3.194 GB, free: 252.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.006008/6.341, allocations: 2.226 MB / 3.196 GB, free: 250.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/6.341, allocations: 12.03 kB / 3.196 GB, free: 250.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02246/6.363, allocations: 2.919 MB / 3.199 GB, free: 247.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006564/6.37, allocations: 2.839 MB / 3.202 GB, free: 244.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/6.37, allocations: 174.3 kB / 3.202 GB, free: 244.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005371/6.371, allocations: 36 kB / 3.202 GB, free: 244.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004527/6.376, allocations: 3.551 MB / 3.206 GB, free: 240.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003297/6.379, allocations: 2.577 MB / 3.208 GB, free: 238.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/6.379, allocations: 0 / 3.208 GB, free: 238.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002936/6.379, allocations: 0 / 3.208 GB, free: 238.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/6.379, allocations: 12 kB / 3.208 GB, free: 238.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01922/6.398, allocations: 8.699 MB / 3.217 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008444/6.407, allocations: 3.974 MB / 3.221 GB, free: 225.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/6.409, allocations: 1.599 MB / 3.222 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/6.409, allocations: 24.53 kB / 3.222 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002591/6.411, allocations: 2.344 MB / 3.224 GB, free: 221.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 3.717e-06/6.411, allocations: 0 / 3.224 GB, free: 221.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.02365/6.435, allocations: 5.136 MB / 3.229 GB, free: 216.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/6.435, allocations: 97.88 kB / 3.229 GB, free: 216.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008018/6.443, allocations: 3.994 MB / 3.233 GB, free: 212.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008858/6.444, allocations: 38.73 kB / 3.233 GB, free: 212.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/6.446, allocations: 0.9977 MB / 3.234 GB, free: 211.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006716/6.446, allocations: 228.7 kB / 3.235 GB, free: 211 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/6.447, allocations: 4 kB / 3.235 GB, free: 211 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001063/6.447, allocations: 341.9 kB / 3.235 GB, free: 210.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/6.449, allocations: 2.139 MB / 3.237 GB, free: 208.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/6.451, allocations: 2.162 MB / 3.239 GB, free: 206.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02415/6.475, allocations: 11.37 MB / 3.25 GB, free: 195 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/6.475, allocations: 3.953 kB / 3.25 GB, free: 195 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.04541/6.521, allocations: 15.54 MB / 3.265 GB, free: 179.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002838/6.521, allocations: 393.8 kB / 3.266 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/6.521, allocations: 0 / 3.266 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/6.525, allocations: 0.9492 MB / 3.267 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004581/6.53, allocations: 0.6592 MB / 3.267 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/6.534, allocations: 4.843 MB / 3.272 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005708/6.54, allocations: 0.5614 MB / 3.273 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000782/6.541, allocations: 147.9 kB / 3.273 GB, free: 171.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/6.541, allocations: 4 kB / 3.273 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04624/6.587, allocations: 15.22 MB / 3.288 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/6.587, allocations: 3.938 kB / 3.288 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003073/6.59, allocations: 0.8751 MB / 3.289 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/6.595, allocations: 0.6553 MB / 3.289 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006/6.601, allocations: 8.223 MB / 3.297 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005362/6.606, allocations: 0.5498 MB / 3.298 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006965/6.607, allocations: 151.9 kB / 3.298 GB, free: 145.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001125/6.608, allocations: 175.7 kB / 3.298 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/6.609, allocations: 256.8 kB / 3.298 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02432/6.633, allocations: 5.207 MB / 3.303 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/6.634, allocations: 11.95 kB / 3.303 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/6.634, allocations: 0 / 3.303 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/6.634, allocations: 3.984 kB / 3.303 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006229/6.64, allocations: 3.511 MB / 3.307 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/6.64, allocations: 0 / 3.307 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004073/6.644, allocations: 0.6124 MB / 3.307 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007988/6.645, allocations: 205.5 kB / 3.308 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004268/6.645, allocations: 67.88 kB / 3.308 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/6.647, allocations: 2.088 MB / 3.31 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/6.647, allocations: 7.891 kB / 3.31 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02297/6.67, allocations: 4.868 MB / 3.314 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003155/6.673, allocations: 1.115 MB / 3.316 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001603/6.675, allocations: 51.97 kB / 3.316 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005425/6.68, allocations: 0.5461 MB / 3.316 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/6.681, allocations: 80.66 kB / 3.316 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005926/6.681, allocations: 135.9 kB / 3.316 GB, free: 126 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006032/6.688, allocations: 3.021 MB / 3.319 GB, free: 123 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.7e-07/6.688, allocations: 4 kB / 3.319 GB, free: 123 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005437/6.693, allocations: 1.089 MB / 3.32 GB, free: 121.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[wetCoi.cooCap.stage],wetCoi.cooCap.checkBoundsTCon[wetCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003043/6.696, allocations: 1.254 MB / 3.322 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01088/6.707, allocations: 7.947 MB / 3.329 GB, free: 112.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/6.707, allocations: 4 kB / 3.329 GB, free: 112.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00265/6.71, allocations: 1.944 MB / 3.331 GB, free: 110.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/6.714, allocations: 0.622 MB / 3.332 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/6.728, allocations: 5.887 MB / 3.338 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00232/6.731, allocations: 2.142 MB / 3.34 GB, free: 101.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009398/6.74, allocations: 2.856 MB / 3.342 GB, free: 99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/6.742, allocations: 191.2 kB / 3.343 GB, free: 98.81 MB / 0.948 GB Notification: Performance of SimCode: time 8.51e-07/6.742, allocations: 4 kB / 3.343 GB, free: 98.81 MB / 0.948 GB Notification: Performance of Templates: time 0.08955/6.831, allocations: 63.63 MB / 3.405 GB, free: 35.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)