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.0008649/0.0008649, allocations: 91.84 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.007426/0.007426, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.834/1.834, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005224/0.0005225, allocations: 13.44 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002754/0.2262, allocations: 2.114 MB / 0.79 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6231/0.8493, allocations: 147.1 MB / 0.9336 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.8496, allocations: 2.812 kB / 0.9336 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.8499, allocations: 83.72 kB / 0.9337 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005583/0.8505, allocations: 214.3 kB / 0.9339 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.8519, allocations: 0.5776 MB / 0.9344 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.8523, allocations: 406.6 kB / 0.9348 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.8524, allocations: 49.44 kB / 0.9349 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.8526, allocations: 158.2 kB / 0.935 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.853, allocations: 192.3 kB / 0.9352 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.853, allocations: 19.59 kB / 0.9352 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.8543, allocations: 0.6621 MB / 0.9359 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.8544, allocations: 70.88 kB / 0.9359 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.8546, allocations: 178.5 kB / 0.9361 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008291/0.8555, allocations: 0.6422 MB / 0.9367 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.8555, allocations: 0 / 0.9367 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.895e-06/0.8555, allocations: 1.859 kB / 0.9367 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.8555, allocations: 2.625 kB / 0.9367 GB, free: 17.27 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.001359/0.8569, allocations: 0.6854 MB / 0.9374 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.8569, allocations: 7.875 kB / 0.9374 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.8584, allocations: 159.2 kB / 0.9376 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.8589, allocations: 317.4 kB / 0.9379 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/0.8589, allocations: 48.84 kB / 0.9379 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.859, allocations: 25.19 kB / 0.9379 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.8594, allocations: 203.7 kB / 0.9381 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.8594, allocations: 0 / 0.9381 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.8595, allocations: 6.656 kB / 0.9381 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.8595, allocations: 2.625 kB / 0.9382 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.8597, allocations: 126.1 kB / 0.9383 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.862, allocations: 0.9968 MB / 0.9392 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.8628, allocations: 165.3 kB / 0.9394 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.863, allocations: 95.12 kB / 0.9395 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.863, allocations: 5.594 kB / 0.9395 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003863/0.8634, allocations: 202.7 kB / 0.9397 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.874e-06/0.8634, allocations: 0 / 0.9397 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.004067/0.8675, allocations: 0.8717 MB / 0.9405 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.8675, allocations: 84.92 kB / 0.9406 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004763/0.868, allocations: 339.2 kB / 0.9409 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.8681, allocations: 32.33 kB / 0.941 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.8682, allocations: 156.1 kB / 0.9411 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.8683, allocations: 61.91 kB / 0.9412 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.8684, allocations: 38.58 kB / 0.9412 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8685, allocations: 343.2 kB / 0.9416 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.8688, allocations: 138.4 kB / 0.9417 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.8693, allocations: 227.2 kB / 0.9419 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006375/0.8699, allocations: 338.9 kB / 0.9422 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.8699, allocations: 2.531 kB / 0.9422 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003817/0.8737, allocations: 0.8639 MB / 0.9431 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.8738, allocations: 39.41 kB / 0.9431 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.8738, allocations: 1.312 kB / 0.9431 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009237/0.8747, allocations: 203.8 kB / 0.9433 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.875, allocations: 39.77 kB / 0.9433 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.8778, allocations: 2.252 MB / 0.9455 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.8783, allocations: 41.95 kB / 0.9456 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.8784, allocations: 24.38 kB / 0.9456 GB, free: 12.58 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 ($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.0002472/0.8786, allocations: 187.2 kB / 0.9458 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.8787, allocations: 33.45 kB / 0.9458 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.8787, allocations: 29.03 kB / 0.9458 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.8787, allocations: 0.9062 kB / 0.9458 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.8788, allocations: 0.75 kB / 0.9458 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.8788, allocations: 0 / 0.9458 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/0.8823, allocations: 1.051 MB / 0.9469 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8823, allocations: 4.688 kB / 0.9469 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.8823, allocations: 5.531 kB / 0.9469 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003693/0.8827, allocations: 120.3 kB / 0.947 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.8828, allocations: 14.12 kB / 0.947 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009964/0.8838, allocations: 0.7533 MB / 0.9477 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8838, allocations: 4.562 kB / 0.9477 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003285/0.8871, allocations: 0.883 MB / 0.9486 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.8873, allocations: 134.9 kB / 0.9487 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.8873, allocations: 7.219 kB / 0.9487 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.8876, allocations: 15.88 kB / 0.9488 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.8876, allocations: 13.8 kB / 0.9488 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.8877, allocations: 8.531 kB / 0.9488 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003037/0.888, allocations: 238.7 kB / 0.949 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.888, allocations: 0 / 0.949 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005693/0.8886, allocations: 112.5 kB / 0.9491 GB, free: 10.97 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 (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.0003581/0.8889, allocations: 195 kB / 0.9493 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.8906, allocations: 0.5527 MB / 0.9498 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8906, allocations: 5.922 kB / 0.9498 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007772/0.8914, allocations: 254.2 kB / 0.9501 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.892, allocations: 69.16 kB / 0.9502 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.8934, allocations: 0.7064 MB / 0.9508 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.8938, allocations: 0.7536 MB / 0.9516 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001883/0.894, allocations: 31.19 kB / 0.9516 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.894, allocations: 22.41 kB / 0.9516 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of SimCode: time 1.863e-06/0.894, allocations: 0 / 0.9516 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of Templates: time 0.01287/0.9069, allocations: 6.835 MB / 0.9583 GB, free: 8.035 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: