Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.698/1.698, allocations: 288.4 MB / 303.3 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 187.2 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 94.38 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 12.94 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1653, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002489/0.1679, allocations: 2.032 MB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5444/0.7123, allocations: 137.1 MB / 1.116 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.7126, allocations: 9.281 kB / 1.116 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.7129, allocations: 79.92 kB / 1.116 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0006471/0.7136, allocations: 199.5 kB / 1.116 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.7152, allocations: 0.514 MB / 1.116 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.7156, allocations: 372.6 kB / 1.117 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.7157, allocations: 44.95 kB / 1.117 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.7159, allocations: 160.8 kB / 1.117 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.7162, allocations: 174 kB / 1.117 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.7163, allocations: 15.44 kB / 1.117 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.7174, allocations: 0.5019 MB / 1.118 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.7175, allocations: 64.02 kB / 1.118 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.7177, allocations: 77.41 kB / 1.118 GB, free: 18.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007007/0.7184, allocations: 463.4 kB / 1.118 GB, free: 18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7184, allocations: 0 / 1.118 GB, free: 18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7184, allocations: 0 / 1.118 GB, free: 18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7184, allocations: 0 / 1.118 GB, free: 18 MB / 0.698 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.001557/0.72, allocations: 0.6846 MB / 1.119 GB, free: 17.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.72, allocations: 16.17 kB / 1.119 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.525e-05/0.7201, allocations: 49.05 kB / 1.119 GB, free: 17.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.7217, allocations: 162 kB / 1.119 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.7222, allocations: 299.2 kB / 1.119 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.7223, allocations: 49.81 kB / 1.119 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.7223, allocations: 24.61 kB / 1.119 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.7228, allocations: 207.5 kB / 1.12 GB, free: 17.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.7228, allocations: 0 / 1.12 GB, free: 17.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.7228, allocations: 8.641 kB / 1.12 GB, free: 17.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.7228, allocations: 3.562 kB / 1.12 GB, free: 17.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.7231, allocations: 116.7 kB / 1.12 GB, free: 17.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.7255, allocations: 0.9977 MB / 1.121 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.7263, allocations: 166 kB / 1.121 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.7265, allocations: 102.3 kB / 1.121 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.7266, allocations: 1.844 kB / 1.121 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/0.7269, allocations: 194.2 kB / 1.121 GB, free: 16.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.727, allocations: 0 / 1.121 GB, free: 16.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.004148/0.7311, allocations: 0.8777 MB / 1.122 GB, free: 16.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.7312, allocations: 92.38 kB / 1.122 GB, free: 16.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/0.7316, allocations: 339.2 kB / 1.122 GB, free: 16.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.7317, allocations: 34.52 kB / 1.122 GB, free: 16.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.7318, allocations: 150.9 kB / 1.123 GB, free: 15.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.7319, allocations: 57.36 kB / 1.123 GB, free: 15.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.7319, allocations: 8.219 kB / 1.123 GB, free: 15.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.732, allocations: 339 kB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.7324, allocations: 142 kB / 1.123 GB, free: 15.58 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.7327, allocations: 213.5 kB / 1.123 GB, free: 15.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.7331, allocations: 185.4 kB / 1.123 GB, free: 15.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7331, allocations: 5.5 kB / 1.123 GB, free: 15.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003617/0.7367, allocations: 0.8623 MB / 1.124 GB, free: 15.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.7368, allocations: 38.27 kB / 1.124 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7368, allocations: 3.969 kB / 1.124 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009228/0.7377, allocations: 204.4 kB / 1.125 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.738, allocations: 41.62 kB / 1.125 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/0.7407, allocations: 2.234 MB / 1.127 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.7412, allocations: 48.09 kB / 1.127 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.7413, allocations: 20.7 kB / 1.127 GB, free: 13.38 MB / 0.698 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.0002585/0.7416, allocations: 193.8 kB / 1.127 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.7416, allocations: 30.56 kB / 1.127 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.7417, allocations: 29.39 kB / 1.127 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7417, allocations: 1.281 kB / 1.127 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.7417, allocations: 1.156 kB / 1.127 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7417, allocations: 0 / 1.127 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.7449, allocations: 1.049 MB / 1.128 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7449, allocations: 4 kB / 1.128 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/0.7449, allocations: 9.891 kB / 1.128 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.7452, allocations: 113.1 kB / 1.128 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.7453, allocations: 14.97 kB / 1.128 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008754/0.7462, allocations: 0.7467 MB / 1.129 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7462, allocations: 0 / 1.129 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.7493, allocations: 0.8828 MB / 1.13 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.7494, allocations: 136.6 kB / 1.13 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.7495, allocations: 5.688 kB / 1.13 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.7498, allocations: 16.2 kB / 1.13 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.7499, allocations: 14.41 kB / 1.13 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.7499, allocations: 11.02 kB / 1.13 GB, free: 11.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002796/0.7502, allocations: 237.8 kB / 1.13 GB, free: 11.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.82e-07/0.7502, allocations: 0 / 1.13 GB, free: 11.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005538/0.7507, allocations: 115.7 kB / 1.13 GB, free: 11.77 MB / 0.698 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.001492/0.7522, allocations: 1.229 MB / 1.132 GB, free: 11.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.7537, allocations: 0.5599 MB / 1.132 GB, free: 10.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.7537, allocations: 8 kB / 1.132 GB, free: 10.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000711/0.7544, allocations: 248.9 kB / 1.132 GB, free: 10.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.755, allocations: 65.33 kB / 1.132 GB, free: 10.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006415/0.7614, allocations: 2.508 MB / 1.135 GB, free: 9.977 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.7617, allocations: 0.761 MB / 1.136 GB, free: 9.277 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.7619, allocations: 36.64 kB / 1.136 GB, free: 9.266 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.762, allocations: 84.91 kB / 1.136 GB, free: 9.262 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/0.762, allocations: 0 / 1.136 GB, free: 9.262 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.7859, allocations: 9.64 MB / 1.145 GB, free: 5.031 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.7861, allocations: 266.4 kB / 1.145 GB, free: 4.676 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/2.96, allocations: 0 / 1.145 GB, free: 4.676 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)