Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009165/0.0009164, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006938/0.006938, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.013/3.013, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003829, allocations: 8 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3539, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003244/0.3572, allocations: 2.082 MB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1801/0.5373, allocations: 147.1 MB / 1.22 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.5377, allocations: 0 / 1.22 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004713/0.5382, allocations: 83.61 kB / 1.22 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008605/0.5391, allocations: 206.9 kB / 1.22 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.541, allocations: 0.5865 MB / 1.221 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.5416, allocations: 410.6 kB / 1.221 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.5417, allocations: 44.72 kB / 1.221 GB, free: 460 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.542, allocations: 163.4 kB / 1.221 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.5423, allocations: 187.3 kB / 1.221 GB, free: 108 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.5424, allocations: 16 kB / 1.221 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.5437, allocations: 0.6707 MB / 1.222 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.5438, allocations: 71.61 kB / 1.222 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.544, allocations: 176.9 kB / 1.222 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008466/0.5448, allocations: 0.6465 MB / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.5449, allocations: 0 / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5449, allocations: 0 / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5449, allocations: 0 / 1.223 GB, free: 14.52 MB / 0.9825 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.001485/0.5464, allocations: 0.6949 MB / 1.224 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.5464, allocations: 8.031 kB / 1.224 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.548, allocations: 156.4 kB / 1.224 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.5484, allocations: 318.6 kB / 1.224 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.5485, allocations: 41.7 kB / 1.224 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.5486, allocations: 27.98 kB / 1.224 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.549, allocations: 212.7 kB / 1.224 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.549, allocations: 0 / 1.224 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.5491, allocations: 8 kB / 1.224 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.5491, allocations: 0 / 1.224 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.5494, allocations: 124.1 kB / 1.225 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.5518, allocations: 0.9964 MB / 1.226 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000778/0.5526, allocations: 162.5 kB / 1.226 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.5528, allocations: 100.8 kB / 1.226 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.5529, allocations: 3.984 kB / 1.226 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004115/0.5533, allocations: 198.5 kB / 1.226 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.784e-06/0.5533, allocations: 0 / 1.226 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.00417/0.5575, allocations: 0.8791 MB / 1.227 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.5576, allocations: 81.11 kB / 1.227 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.558, allocations: 340.4 kB / 1.227 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/0.5581, allocations: 33.7 kB / 1.227 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.5582, allocations: 152.5 kB / 1.227 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.5583, allocations: 55.23 kB / 1.227 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.5584, allocations: 41.7 kB / 1.227 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5585, allocations: 350.7 kB / 1.228 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.5588, allocations: 140.5 kB / 1.228 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.5593, allocations: 221.3 kB / 1.228 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/0.5599, allocations: 344.6 kB / 1.229 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5599, allocations: 0 / 1.229 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003775/0.5637, allocations: 0.8656 MB / 1.229 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/0.5638, allocations: 41.69 kB / 1.229 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.5638, allocations: 4 kB / 1.229 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/0.5648, allocations: 205.7 kB / 1.23 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.5651, allocations: 39.91 kB / 1.23 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.5683, allocations: 2.24 MB / 1.232 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.5689, allocations: 43.61 kB / 1.232 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.569, allocations: 19.97 kB / 1.232 GB, free: 4.918 MB / 0.9825 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.0003073/0.5693, allocations: 196.3 kB / 1.232 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.5693, allocations: 35.62 kB / 1.232 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.5694, allocations: 27.17 kB / 1.232 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5694, allocations: 0 / 1.232 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5694, allocations: 4 kB / 1.232 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5694, allocations: 0 / 1.232 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.5728, allocations: 1.06 MB / 1.233 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5728, allocations: 0 / 1.233 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.5729, allocations: 4 kB / 1.233 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/0.5732, allocations: 120.8 kB / 1.233 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.5733, allocations: 8 kB / 1.233 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009189/0.5742, allocations: 0.7497 MB / 1.234 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5742, allocations: 3.938 kB / 1.234 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.5775, allocations: 0.8857 MB / 1.235 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.5777, allocations: 140.5 kB / 1.235 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.5778, allocations: 11.98 kB / 1.235 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.5781, allocations: 8 kB / 1.235 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.5782, allocations: 15.98 kB / 1.235 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.5782, allocations: 8.047 kB / 1.235 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003506/0.5786, allocations: 243 kB / 1.235 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5786, allocations: 0 / 1.235 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007044/0.5793, allocations: 116 kB / 1.235 GB, free: 1.16 MB / 0.9825 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.0004738/0.5798, allocations: 185.3 kB / 1.236 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.5816, allocations: 0.5728 MB / 1.236 GB, free: 380 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5816, allocations: 0 / 1.236 GB, free: 380 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.5824, allocations: 248.2 kB / 1.236 GB, free: 116 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006663/0.583, allocations: 64.92 kB / 1.236 GB, free: 52 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.5847, allocations: 0.713 MB / 1.237 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.585, allocations: 0.7599 MB / 1.238 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000185/0.5852, allocations: 30.28 kB / 1.238 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.5853, allocations: 23.42 kB / 1.238 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of SimCode: time 1.663e-06/0.5853, allocations: 4 kB / 1.238 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.01262/0.5979, allocations: 6.806 MB / 1.245 GB, free: 7.727 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)