Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009579/0.0009579, allocations: 76.88 kB / 21.55 MB, free: 2.785 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 154 kB / 24.95 MB, free: 9.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.972/0.972, allocations: 177.1 MB / 205.4 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.933/1.933, allocations: 389.6 MB / 0.6362 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.776 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.354e-05, allocations: 2.969 kB / 0.776 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00452/0.004543, allocations: 2.454 MB / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1416/0.1461, allocations: 144.2 MB / 0.9193 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.1463, allocations: 7.938 kB / 0.9193 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.1466, allocations: 95.38 kB / 0.9194 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.1471, allocations: 246.4 kB / 0.9196 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1481, allocations: 0.611 MB / 0.9202 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.1484, allocations: 450.4 kB / 0.9206 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.1485, allocations: 38.81 kB / 0.9207 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1487, allocations: 251.5 kB / 0.9209 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.149, allocations: 159.7 kB / 0.9211 GB, free: 424 kB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.149, allocations: 35.94 kB / 0.9211 GB, free: 388 kB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007564/0.1498, allocations: 0.6119 MB / 0.9217 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.1498, allocations: 83.72 kB / 0.9218 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.573e-05/0.1499, allocations: 119.7 kB / 0.9219 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.1505, allocations: 0.6231 MB / 0.9225 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1505, allocations: 4 kB / 0.9225 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1505, allocations: 4 kB / 0.9225 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1505, allocations: 0 / 0.9225 GB, free: 14.93 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008399/0.1514, allocations: 0.6446 MB / 0.9231 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1514, allocations: 8.75 kB / 0.9231 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007919/0.1522, allocations: 192.6 kB / 0.9233 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.1525, allocations: 230.5 kB / 0.9236 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.1525, allocations: 50.25 kB / 0.9236 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.1526, allocations: 32.08 kB / 0.9236 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1528, allocations: 184.6 kB / 0.9238 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1528, allocations: 0 / 0.9238 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1528, allocations: 8 kB / 0.9238 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1528, allocations: 0 / 0.9238 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.07e-05/0.1529, allocations: 80.67 kB / 0.9239 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009869/0.1539, allocations: 0.6403 MB / 0.9245 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.1542, allocations: 164.1 kB / 0.9247 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.1543, allocations: 62.55 kB / 0.9247 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1543, allocations: 4 kB / 0.9247 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.1544, allocations: 184 kB / 0.9249 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.774e-06/0.1544, allocations: 0 / 0.9249 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001032/0.1555, allocations: 443 kB / 0.9253 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.1555, allocations: 85.05 kB / 0.9254 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.1558, allocations: 274.9 kB / 0.9257 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1558, allocations: 33.69 kB / 0.9257 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.1559, allocations: 137.4 kB / 0.9258 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.1559, allocations: 63.52 kB / 0.9259 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.226e-05/0.156, allocations: 77.89 kB / 0.926 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.1561, allocations: 342.8 kB / 0.9263 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.764e-05/0.1562, allocations: 73.11 kB / 0.9264 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.1563, allocations: 233.9 kB / 0.9266 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.1565, allocations: 220.5 kB / 0.9268 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1565, allocations: 4 kB / 0.9268 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008315/0.1573, allocations: 446.9 kB / 0.9272 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.1574, allocations: 37.69 kB / 0.9273 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1574, allocations: 0 / 0.9273 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004945/0.1579, allocations: 197.6 kB / 0.9275 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.158, allocations: 43.91 kB / 0.9275 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.1593, allocations: 1.965 MB / 0.9294 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.1594, allocations: 39.77 kB / 0.9295 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.1595, allocations: 16.02 kB / 0.9295 GB, free: 7.32 MB / 0.8855 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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 {7} * Without analytic Jacobian (size): 0 systems 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.1596, allocations: 166.9 kB / 0.9296 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.1596, allocations: 19.98 kB / 0.9297 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.1596, allocations: 30.25 kB / 0.9297 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1596, allocations: 3.938 kB / 0.9297 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1596, allocations: 3.938 kB / 0.9297 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1597, allocations: 3.984 kB / 0.9297 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007437/0.1604, allocations: 0.5707 MB / 0.9302 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1604, allocations: 4 kB / 0.9303 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1604, allocations: 7.984 kB / 0.9303 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.1605, allocations: 76.86 kB / 0.9303 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1606, allocations: 12 kB / 0.9303 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003134/0.1609, allocations: 0.6561 MB / 0.931 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1609, allocations: 4 kB / 0.931 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006751/0.1615, allocations: 0.527 MB / 0.9315 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.1616, allocations: 31.8 kB / 0.9315 GB, free: 5.086 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.1616, allocations: 8 kB / 0.9315 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.1617, allocations: 16.02 kB / 0.9316 GB, free: 5.062 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.1618, allocations: 11.98 kB / 0.9316 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1618, allocations: 7.984 kB / 0.9316 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.202e-05/0.1619, allocations: 100.6 kB / 0.9317 GB, free: 4.941 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1619, allocations: 7.938 kB / 0.9317 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003082/0.1622, allocations: 123.8 kB / 0.9318 GB, free: 4.812 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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 {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002462/0.1624, allocations: 184.1 kB / 0.932 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005853/0.163, allocations: 455.3 kB / 0.9324 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.163, allocations: 0 / 0.9324 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.1634, allocations: 210.5 kB / 0.9326 GB, free: 3.902 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1637, allocations: 79.61 kB / 0.9327 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009334/0.1646, allocations: 0.5814 MB / 0.9333 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.934e-05/0.1646, allocations: 92.55 kB / 0.9333 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.242e-05/0.1647, allocations: 21.95 kB / 0.9334 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.1649, allocations: 113.3 kB / 0.9335 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of SimCode: time 1.193e-06/0.1649, allocations: 4 kB / 0.9335 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of Templates: time 0.00969/0.1746, allocations: 8.425 MB / 0.9417 GB, free: 10.68 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.245385737158358]