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.0009167/0.0009168, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009446/0.0009451, allocations: 172.7 kB / 15.95 MB, free: 208 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.461/1.461, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.627/1.627, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004635/0.0004636, allocations: 18.72 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2116, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002478/0.2141, allocations: 2.036 MB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.546/0.7601, allocations: 137.1 MB / 0.9232 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.7603, allocations: 3.25 kB / 0.9232 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.7606, allocations: 83.64 kB / 0.9233 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.761, allocations: 207.7 kB / 0.9235 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.7622, allocations: 0.5024 MB / 0.924 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000306/0.7625, allocations: 374 kB / 0.9243 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.7627, allocations: 44.08 kB / 0.9244 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.7628, allocations: 156.6 kB / 0.9245 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.7631, allocations: 177.7 kB / 0.9247 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.7632, allocations: 17.75 kB / 0.9247 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009493/0.7641, allocations: 0.5014 MB / 0.9252 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.391e-05/0.7642, allocations: 68.55 kB / 0.9252 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.7645, allocations: 76.08 kB / 0.9253 GB, free: 21.6 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.7651, allocations: 459 kB / 0.9258 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.7651, allocations: 0 / 0.9258 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7651, allocations: 0 / 0.9258 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.7651, allocations: 3 kB / 0.9258 GB, free: 21.57 MB / 0.7325 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.001244/0.7663, allocations: 0.6926 MB / 0.9264 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.7664, allocations: 8.719 kB / 0.9264 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.7677, allocations: 158.9 kB / 0.9266 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.7682, allocations: 303 kB / 0.9269 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/0.7682, allocations: 43.52 kB / 0.9269 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.7683, allocations: 23.59 kB / 0.927 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.7687, allocations: 205.9 kB / 0.9271 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7687, allocations: 7.234 kB / 0.9272 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.7687, allocations: 12.34 kB / 0.9272 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.7687, allocations: 6.672 kB / 0.9272 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.769, allocations: 119.2 kB / 0.9273 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.7712, allocations: 0.9923 MB / 0.9283 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.7718, allocations: 164.7 kB / 0.9284 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.772, allocations: 97.56 kB / 0.9285 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.7721, allocations: 0 / 0.9285 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.7724, allocations: 202.6 kB / 0.9287 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/0.7724, allocations: 4 kB / 0.9287 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.003599/0.776, allocations: 0.8727 MB / 0.9296 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.7761, allocations: 80.53 kB / 0.9296 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.7765, allocations: 347.3 kB / 0.93 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/0.7766, allocations: 31.52 kB / 0.93 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.7767, allocations: 147.3 kB / 0.9301 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.7768, allocations: 61.44 kB / 0.9302 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.7768, allocations: 10.12 kB / 0.9302 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.777, allocations: 343.5 kB / 0.9305 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.7773, allocations: 138.7 kB / 0.9307 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.7777, allocations: 221.1 kB / 0.9309 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.778, allocations: 174.5 kB / 0.931 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.778, allocations: 0 / 0.931 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003286/0.7813, allocations: 0.8602 MB / 0.9319 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.7814, allocations: 38.91 kB / 0.9319 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7814, allocations: 6.688 kB / 0.9319 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007951/0.7822, allocations: 190.6 kB / 0.9321 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.7824, allocations: 50.61 kB / 0.9322 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.785, allocations: 2.229 MB / 0.9343 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.7855, allocations: 52.08 kB / 0.9344 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.7855, allocations: 19.89 kB / 0.9344 GB, free: 17.04 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.000249/0.7858, allocations: 189.9 kB / 0.9346 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.7858, allocations: 33.94 kB / 0.9346 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.7859, allocations: 32.27 kB / 0.9346 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.7859, allocations: 4 kB / 0.9346 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.7859, allocations: 3.969 kB / 0.9347 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7859, allocations: 4 kB / 0.9347 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.7887, allocations: 1.047 MB / 0.9357 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7887, allocations: 0.875 kB / 0.9357 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.905e-05/0.7888, allocations: 10.5 kB / 0.9357 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/0.7891, allocations: 121.4 kB / 0.9358 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.7891, allocations: 8.125 kB / 0.9358 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007953/0.7899, allocations: 0.7485 MB / 0.9365 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7899, allocations: 7.25 kB / 0.9365 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.793, allocations: 0.8784 MB / 0.9374 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.7931, allocations: 135.1 kB / 0.9375 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.7932, allocations: 7.312 kB / 0.9375 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.7935, allocations: 14.2 kB / 0.9376 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.7935, allocations: 8.562 kB / 0.9376 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.7936, allocations: 13.67 kB / 0.9376 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003033/0.7939, allocations: 237.3 kB / 0.9378 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7939, allocations: 0 / 0.9378 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006042/0.7945, allocations: 116.9 kB / 0.9379 GB, free: 15.46 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.0003894/0.7949, allocations: 190.7 kB / 0.9381 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.7964, allocations: 0.5579 MB / 0.9386 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7964, allocations: 0 / 0.9386 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006892/0.7971, allocations: 253.2 kB / 0.9389 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.7976, allocations: 56.08 kB / 0.9389 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.7989, allocations: 0.7051 MB / 0.9396 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.7992, allocations: 0.76 MB / 0.9404 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.7994, allocations: 35.45 kB / 0.9404 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.7994, allocations: 22.89 kB / 0.9404 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7994, allocations: 0 / 0.9404 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.01082/0.8103, allocations: 6.629 MB / 0.9469 GB, free: 13.52 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: