Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009328/0.0009328, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008739/0.0008739, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.577/1.577, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004793, allocations: 18.47 kB / 0.6736 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002411/0.2096, allocations: 1.974 MB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5264/0.736, allocations: 127.5 MB / 0.9136 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.7362, allocations: 1.688 kB / 0.9136 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.7365, allocations: 81.52 kB / 0.9136 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005866/0.7371, allocations: 230.1 kB / 0.9139 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.7385, allocations: 0.5142 MB / 0.9144 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000316/0.7388, allocations: 267.6 kB / 0.9146 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.7389, allocations: 44.41 kB / 0.9147 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.7391, allocations: 159.9 kB / 0.9148 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.7394, allocations: 177.4 kB / 0.915 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.7395, allocations: 16.19 kB / 0.915 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009262/0.7404, allocations: 0.5204 MB / 0.9155 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.7405, allocations: 69.45 kB / 0.9156 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.007e-05/0.7406, allocations: 75.08 kB / 0.9156 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.7411, allocations: 447.7 kB / 0.9161 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.7411, allocations: 0 / 0.9161 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7411, allocations: 0 / 0.9161 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7411, allocations: 1.031 kB / 0.9161 GB, free: 5.629 MB / 0.7169 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.001578/0.7427, allocations: 0.6919 MB / 0.9167 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7427, allocations: 8.844 kB / 0.9168 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.7442, allocations: 157.1 kB / 0.9169 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.7448, allocations: 302 kB / 0.9172 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.436e-05/0.7449, allocations: 50.45 kB / 0.9172 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.7449, allocations: 23.62 kB / 0.9173 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.7454, allocations: 204 kB / 0.9175 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.7454, allocations: 3.953 kB / 0.9175 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.7454, allocations: 10.88 kB / 0.9175 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.7454, allocations: 3.453 kB / 0.9175 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.7457, allocations: 120.5 kB / 0.9176 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.7481, allocations: 0.9882 MB / 0.9186 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000698/0.7488, allocations: 166 kB / 0.9187 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.7489, allocations: 3.344 kB / 0.9187 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003884/0.7493, allocations: 186.7 kB / 0.9189 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.7493, allocations: 4 kB / 0.9189 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.003765/0.7531, allocations: 0.9547 MB / 0.9198 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.7531, allocations: 84.03 kB / 0.9199 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.7535, allocations: 344 kB / 0.9202 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.7536, allocations: 31.55 kB / 0.9203 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.7537, allocations: 151.5 kB / 0.9204 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.7537, allocations: 59.58 kB / 0.9205 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.7538, allocations: 7.188 kB / 0.9205 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7539, allocations: 347.7 kB / 0.9208 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.7542, allocations: 136.6 kB / 0.9209 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.7545, allocations: 221.5 kB / 0.9211 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.7548, allocations: 170.7 kB / 0.9213 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.7549, allocations: 6.812 kB / 0.9213 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003292/0.7582, allocations: 0.8616 MB / 0.9222 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/0.7582, allocations: 39 kB / 0.9222 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7582, allocations: 7.484 kB / 0.9222 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008677/0.7591, allocations: 192.8 kB / 0.9224 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.7594, allocations: 43.23 kB / 0.9224 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.762, allocations: 2.252 MB / 0.9246 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.7625, allocations: 49.23 kB / 0.9247 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.7626, allocations: 21.95 kB / 0.9247 GB, free: 17.02 MB / 0.7325 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 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.7628, allocations: 185.1 kB / 0.9249 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.7629, allocations: 35.98 kB / 0.9249 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.7629, allocations: 29.38 kB / 0.9249 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.7629, allocations: 0 / 0.9249 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.7629, allocations: 2.625 kB / 0.9249 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7629, allocations: 5.125 kB / 0.9249 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.7659, allocations: 1.048 MB / 0.926 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7659, allocations: 0.7969 kB / 0.926 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.766, allocations: 6.109 kB / 0.926 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/0.7663, allocations: 121.6 kB / 0.9261 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.7663, allocations: 9.781 kB / 0.9261 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008/0.7671, allocations: 0.7531 MB / 0.9268 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7671, allocations: 0 / 0.9268 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.77, allocations: 0.886 MB / 0.9277 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.7703, allocations: 134.7 kB / 0.9278 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.7703, allocations: 7.094 kB / 0.9278 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.7706, allocations: 14.98 kB / 0.9278 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.7706, allocations: 10.25 kB / 0.9279 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.7707, allocations: 8.672 kB / 0.9279 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002869/0.771, allocations: 240.1 kB / 0.9281 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.771, allocations: 0 / 0.9281 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006369/0.7716, allocations: 114 kB / 0.9282 GB, free: 15.44 MB / 0.7325 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003968/0.772, allocations: 185.2 kB / 0.9284 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.7735, allocations: 0.565 MB / 0.9289 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7735, allocations: 0 / 0.9289 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006814/0.7742, allocations: 253.5 kB / 0.9292 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.7746, allocations: 59.31 kB / 0.9292 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.7759, allocations: 0.6974 MB / 0.9299 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.7762, allocations: 0.7687 MB / 0.9307 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001815/0.7764, allocations: 25.69 kB / 0.9307 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.7765, allocations: 26.67 kB / 0.9307 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.7765, allocations: 0 / 0.9307 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of Templates: time 0.01276/0.7893, allocations: 6.626 MB / 0.9372 GB, free: 13.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) Environment - environmentSimulation: