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.002089/0.002089, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002202/0.002203, allocations: 193.9 kB / 16.14 MB, free: 6.656 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.5 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3634, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004702/0.3681, allocations: 2.44 MB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.5475, allocations: 148.7 MB / 1.215 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.5479, allocations: 0 / 1.215 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004839/0.5484, allocations: 87.56 kB / 1.215 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008396/0.5493, allocations: 210.9 kB / 1.215 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.5511, allocations: 0.5739 MB / 1.216 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006146/0.5517, allocations: 422.6 kB / 1.216 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.5519, allocations: 40.73 kB / 1.216 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000324/0.5522, allocations: 167.4 kB / 1.217 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.5526, allocations: 191.4 kB / 1.217 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.934e-05/0.5527, allocations: 16 kB / 1.217 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.5541, allocations: 0.6745 MB / 1.217 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.5542, allocations: 75.66 kB / 1.218 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.5544, allocations: 151.2 kB / 1.218 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.5556, allocations: 0.6544 MB / 1.218 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.5556, allocations: 0 / 1.218 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5556, allocations: 7.938 kB / 1.218 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.5556, allocations: 0 / 1.218 GB, free: 15.96 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.001963/0.5576, allocations: 0.7475 MB / 1.219 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5577, allocations: 8.031 kB / 1.219 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.5594, allocations: 156.4 kB / 1.219 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.5599, allocations: 310.7 kB / 1.219 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.17e-05/0.56, allocations: 53.69 kB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.5601, allocations: 16 kB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.5606, allocations: 201.9 kB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5606, allocations: 7.984 kB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.5606, allocations: 4 kB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.5607, allocations: 4 kB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.5609, allocations: 124.1 kB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.5637, allocations: 0.9886 MB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008672/0.5646, allocations: 170.4 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.5648, allocations: 102.5 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.5649, allocations: 7.938 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005755/0.5655, allocations: 189 kB / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 2.896e-06/0.5655, allocations: 0 / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.004577/0.5701, allocations: 0.8597 MB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.5702, allocations: 85.11 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.5707, allocations: 336.4 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.85e-05/0.5708, allocations: 37.7 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.571, allocations: 156.5 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.5711, allocations: 51.27 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.5713, allocations: 81.94 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5715, allocations: 346.7 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.5719, allocations: 132.5 kB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.5723, allocations: 225.3 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.573, allocations: 344.6 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5731, allocations: 0 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003986/0.5771, allocations: 0.8653 MB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.5771, allocations: 37.69 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5771, allocations: 0 / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.5782, allocations: 193.6 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.5784, allocations: 39.91 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/0.5816, allocations: 2.231 MB / 1.227 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.5821, allocations: 39.67 kB / 1.227 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.5822, allocations: 31.97 kB / 1.227 GB, free: 6.332 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.0003132/0.5825, allocations: 186.9 kB / 1.227 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.302e-05/0.5826, allocations: 31.62 kB / 1.227 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.5827, allocations: 31.17 kB / 1.227 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5827, allocations: 0 / 1.227 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5827, allocations: 0 / 1.227 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5827, allocations: 0 / 1.227 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/0.5862, allocations: 1.045 MB / 1.228 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5862, allocations: 0 / 1.228 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.5863, allocations: 4 kB / 1.228 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003352/0.5866, allocations: 120.9 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.5867, allocations: 8 kB / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009726/0.5877, allocations: 0.7575 MB / 1.229 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5877, allocations: 3.938 kB / 1.229 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.5911, allocations: 0.8669 MB / 1.23 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.5913, allocations: 144.5 kB / 1.23 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.5914, allocations: 4.062 kB / 1.23 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.5917, allocations: 16 kB / 1.23 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.5918, allocations: 15.91 kB / 1.23 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.5918, allocations: 12 kB / 1.23 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003361/0.5922, allocations: 231 kB / 1.231 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5922, allocations: 4 kB / 1.231 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005956/0.5928, allocations: 112 kB / 1.231 GB, free: 2.617 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.0004407/0.5932, allocations: 193.2 kB / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.5951, allocations: 0.5581 MB / 1.231 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5952, allocations: 4.062 kB / 1.231 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007801/0.5959, allocations: 250.9 kB / 1.232 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.5965, allocations: 64.98 kB / 1.232 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.5981, allocations: 0.6595 MB / 1.232 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.5984, allocations: 0.7753 MB / 1.233 GB, free: 20 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.5986, allocations: 26.34 kB / 1.233 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.5987, allocations: 27.38 kB / 1.233 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.5987, allocations: 0 / 1.233 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of Templates: time 0.01402/0.6127, allocations: 6.865 MB / 1.24 GB, free: 9.164 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)