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.000937/0.000937, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.000947/0.000947, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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 1.038/1.038, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.893/1.893, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.613e-06/1.613e-06, allocations: 0 / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.528e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00402/0.004045, allocations: 2.416 MB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1414/0.1454, allocations: 144.2 MB / 0.9184 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1456, allocations: 3.938 kB / 0.9184 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.146, allocations: 91.38 kB / 0.9185 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.000662/0.1466, allocations: 254.3 kB / 0.9188 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1479, allocations: 0.6384 MB / 0.9194 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.1484, allocations: 446.4 kB / 0.9198 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1485, allocations: 38.88 kB / 0.9198 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.1487, allocations: 247.5 kB / 0.9201 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.149, allocations: 167.6 kB / 0.9202 GB, free: 492 kB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/0.149, allocations: 32 kB / 0.9203 GB, free: 460 kB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008991/0.1499, allocations: 0.5807 MB / 0.9208 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.527e-05/0.15, allocations: 83.72 kB / 0.9209 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1501, allocations: 119.7 kB / 0.921 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0008024/0.1509, allocations: 0.627 MB / 0.9216 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1509, allocations: 0 / 0.9216 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1509, allocations: 0 / 0.9216 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1509, allocations: 0 / 0.9216 GB, free: 15.04 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.0009858/0.1519, allocations: 0.6485 MB / 0.9223 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.152, allocations: 12.75 kB / 0.9223 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008817/0.1529, allocations: 192.7 kB / 0.9225 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1532, allocations: 226.5 kB / 0.9227 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.1533, allocations: 46.27 kB / 0.9227 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.1533, allocations: 32.06 kB / 0.9228 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.1537, allocations: 188.6 kB / 0.9229 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1537, allocations: 4 kB / 0.9229 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1537, allocations: 4 kB / 0.9229 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1537, allocations: 4 kB / 0.9229 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.834e-05/0.1538, allocations: 81.95 kB / 0.923 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1549, allocations: 0.6441 MB / 0.9237 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.1553, allocations: 168.1 kB / 0.9238 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.1553, allocations: 58.55 kB / 0.9239 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1554, allocations: 4 kB / 0.9239 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.1555, allocations: 170.5 kB / 0.924 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 2.665e-06/0.1555, allocations: 0 / 0.924 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001094/0.1566, allocations: 449 kB / 0.9245 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.1567, allocations: 81.11 kB / 0.9245 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1568, allocations: 274.9 kB / 0.9248 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.1569, allocations: 33.7 kB / 0.9248 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.1569, allocations: 145.3 kB / 0.925 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.157, allocations: 55.52 kB / 0.925 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/0.1571, allocations: 81.89 kB / 0.9251 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.1572, allocations: 334.8 kB / 0.9254 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1573, allocations: 81.11 kB / 0.9255 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1574, allocations: 233.9 kB / 0.9257 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.1576, allocations: 216.5 kB / 0.9259 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1576, allocations: 0 / 0.9259 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008904/0.1585, allocations: 454.9 kB / 0.9264 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.1585, allocations: 37.69 kB / 0.9264 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1585, allocations: 3.938 kB / 0.9264 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.1591, allocations: 197.7 kB / 0.9266 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1592, allocations: 39.91 kB / 0.9266 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.1606, allocations: 1.966 MB / 0.9286 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.1608, allocations: 35.77 kB / 0.9286 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.1608, allocations: 19.92 kB / 0.9286 GB, free: 7.422 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.0001735/0.161, allocations: 163 kB / 0.9288 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.161, allocations: 23.97 kB / 0.9288 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.161, allocations: 34.19 kB / 0.9288 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.161, allocations: 0 / 0.9288 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.161, allocations: 3.938 kB / 0.9288 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.161, allocations: 4 kB / 0.9288 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000788/0.1618, allocations: 0.5688 MB / 0.9294 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1618, allocations: 0 / 0.9294 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.1618, allocations: 7.938 kB / 0.9294 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.162, allocations: 72.8 kB / 0.9295 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.162, allocations: 7.984 kB / 0.9295 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004725/0.1625, allocations: 0.66 MB / 0.9301 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1625, allocations: 4 kB / 0.9301 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/0.1631, allocations: 0.5331 MB / 0.9306 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.1632, allocations: 43.77 kB / 0.9307 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.1633, allocations: 7.938 kB / 0.9307 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1634, allocations: 12 kB / 0.9307 GB, free: 5.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1634, allocations: 11.97 kB / 0.9307 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1634, allocations: 16.02 kB / 0.9307 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.241e-05/0.1635, allocations: 96.62 kB / 0.9308 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3e-08/0.1635, allocations: 4 kB / 0.9308 GB, free: 5.031 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003398/0.1638, allocations: 123.8 kB / 0.9309 GB, free: 4.91 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.0002657/0.1641, allocations: 178.8 kB / 0.9311 GB, free: 4.727 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006371/0.1647, allocations: 459.2 kB / 0.9315 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.1647, allocations: 0 / 0.9315 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.165, allocations: 214.5 kB / 0.9317 GB, free: 4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.1653, allocations: 70.84 kB / 0.9318 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1663, allocations: 0.5845 MB / 0.9324 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.486e-05/0.1664, allocations: 88.55 kB / 0.9325 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.502e-05/0.1664, allocations: 29.92 kB / 0.9325 GB, free: 3.184 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.1666, allocations: 113.3 kB / 0.9326 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of SimCode: time 1.373e-06/0.1666, allocations: 0 / 0.9326 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of Templates: time 0.01072/0.1773, allocations: 8.429 MB / 0.9408 GB, free: 10.78 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.269421166274697]