Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001149/0.001149, allocations: 98.61 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.001524/0.001524, allocations: 177.3 kB / 15.94 MB, free: 228 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.666/1.666, 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 7.0.3-maint.7.0.x/package.mo): time 1.712/1.712, allocations: 251.9 MB / 0.51 GB, free: 4.852 MB / 414.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.0005745/0.0005746, allocations: 19.44 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4929, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002501/0.4955, allocations: 1.972 MB / 0.7299 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1556/0.6511, allocations: 127.5 MB / 0.8544 GB, free: 9.602 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.6514, allocations: 4 kB / 0.8544 GB, free: 9.598 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.6517, allocations: 75.69 kB / 0.8545 GB, free: 9.523 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0006689/0.6524, allocations: 223.3 kB / 0.8547 GB, free: 9.305 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.6539, allocations: 0.5243 MB / 0.8552 GB, free: 8.789 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000419/0.6543, allocations: 263.5 kB / 0.8555 GB, free: 8.531 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.6545, allocations: 38.69 kB / 0.8555 GB, free: 8.496 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.6548, allocations: 163.5 kB / 0.8557 GB, free: 8.336 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.6551, allocations: 179.4 kB / 0.8559 GB, free: 8.16 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.6551, allocations: 16 kB / 0.8559 GB, free: 8.145 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.6562, allocations: 0.5188 MB / 0.8564 GB, free: 7.625 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.6563, allocations: 67.8 kB / 0.8564 GB, free: 7.559 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 9.45e-05/0.6564, allocations: 77.5 kB / 0.8565 GB, free: 7.477 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.657, allocations: 455 kB / 0.857 GB, free: 7.031 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.657, allocations: 0 / 0.857 GB, free: 7.031 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.824e-06/0.657, allocations: 0 / 0.857 GB, free: 7.031 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.6571, allocations: 0 / 0.857 GB, free: 7.031 MB / 0.67 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.001546/0.6586, allocations: 0.687 MB / 0.8576 GB, free: 6.289 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6587, allocations: 8.031 kB / 0.8576 GB, free: 6.281 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.6602, allocations: 163.5 kB / 0.8578 GB, free: 6.121 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.6607, allocations: 294.4 kB / 0.8581 GB, free: 5.797 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.6607, allocations: 49.69 kB / 0.8581 GB, free: 5.742 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.6608, allocations: 19.95 kB / 0.8581 GB, free: 5.723 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.6612, allocations: 208.9 kB / 0.8583 GB, free: 5.504 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6612, allocations: 7.938 kB / 0.8583 GB, free: 5.496 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.6613, allocations: 8 kB / 0.8583 GB, free: 5.488 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.6613, allocations: 4 kB / 0.8583 GB, free: 5.484 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.6616, allocations: 116.1 kB / 0.8585 GB, free: 5.371 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.6641, allocations: 0.9887 MB / 0.8594 GB, free: 4.324 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007437/0.6648, allocations: 166.4 kB / 0.8596 GB, free: 4.152 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.6648, allocations: 4 kB / 0.8596 GB, free: 4.148 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003901/0.6652, allocations: 193.1 kB / 0.8598 GB, free: 3.941 MB / 0.67 GB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/0.6653, allocations: 0 / 0.8598 GB, free: 3.941 MB / 0.67 GB Notification: Performance of matching and sorting (n=19): time 0.004012/0.6693, allocations: 0.9543 MB / 0.8607 GB, free: 2.934 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.6694, allocations: 81.06 kB / 0.8608 GB, free: 2.836 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/0.6698, allocations: 344.4 kB / 0.8611 GB, free: 2.488 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.6698, allocations: 37.7 kB / 0.8611 GB, free: 2.445 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.67, allocations: 148.7 kB / 0.8613 GB, free: 2.297 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.67, allocations: 55.2 kB / 0.8613 GB, free: 2.242 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.6701, allocations: 4 kB / 0.8613 GB, free: 2.238 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6702, allocations: 342.8 kB / 0.8617 GB, free: 1.895 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.6705, allocations: 136.5 kB / 0.8618 GB, free: 1.762 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.6709, allocations: 217.4 kB / 0.862 GB, free: 1.535 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.6713, allocations: 175 kB / 0.8622 GB, free: 1.359 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6713, allocations: 7.938 kB / 0.8622 GB, free: 1.352 MB / 0.67 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00338/0.6747, allocations: 0.8633 MB / 0.863 GB, free: 480 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.6747, allocations: 37.69 kB / 0.8631 GB, free: 436 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6748, allocations: 0 / 0.8631 GB, free: 436 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008818/0.6756, allocations: 209.6 kB / 0.8633 GB, free: 220 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.6759, allocations: 39.91 kB / 0.8633 GB, free: 180 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.6787, allocations: 2.247 MB / 0.8655 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.6792, allocations: 55.56 kB / 0.8655 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.6792, allocations: 23.92 kB / 0.8656 GB, free: 13.68 MB / 0.6856 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.0002671/0.6795, allocations: 184.1 kB / 0.8657 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.6796, allocations: 35.56 kB / 0.8658 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.6796, allocations: 35.17 kB / 0.8658 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6796, allocations: 0 / 0.8658 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.6796, allocations: 0 / 0.8658 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6796, allocations: 3.984 kB / 0.8658 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.6828, allocations: 1.038 MB / 0.8668 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.6828, allocations: 0 / 0.8668 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.6828, allocations: 11.94 kB / 0.8668 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002993/0.6831, allocations: 116.8 kB / 0.867 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.6832, allocations: 7.953 kB / 0.867 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008585/0.684, allocations: 0.7537 MB / 0.8677 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6841, allocations: 4 kB / 0.8677 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.687, allocations: 0.8804 MB / 0.8686 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.6872, allocations: 136.7 kB / 0.8687 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.6873, allocations: 0 / 0.8687 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.6875, allocations: 19.98 kB / 0.8687 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.6876, allocations: 11.94 kB / 0.8687 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.6876, allocations: 8 kB / 0.8687 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002785/0.6879, allocations: 239.1 kB / 0.869 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6879, allocations: 0 / 0.869 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005203/0.6884, allocations: 108 kB / 0.8691 GB, free: 9.969 MB / 0.6856 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.0003415/0.6888, allocations: 205.2 kB / 0.8693 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.6902, allocations: 0.5619 MB / 0.8698 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6903, allocations: 0 / 0.8698 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007015/0.691, allocations: 250.9 kB / 0.87 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.6914, allocations: 56.98 kB / 0.8701 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.6927, allocations: 0.7025 MB / 0.8708 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.693, allocations: 0.7715 MB / 0.8715 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.6931, allocations: 22.3 kB / 0.8716 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.6932, allocations: 27.36 kB / 0.8716 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of SimCode: time 3.11e-07/0.6932, allocations: 0 / 0.8716 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of Templates: time 0.0129/0.7061, allocations: 6.636 MB / 0.8781 GB, free: 0.7461 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) Environment - environmentSimulation: