Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001425/0.001425, allocations: 195.8 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.44/2.44, allocations: 461.9 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 61.05 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2443, allocations: 157.4 MB / 1.052 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003946/0.2483, allocations: 2.448 MB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1444/0.3928, allocations: 148.7 MB / 1.2 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.393, allocations: 7.938 kB / 1.2 GB, free: 420 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.3933, allocations: 87.61 kB / 1.2 GB, free: 332 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.3939, allocations: 198.9 kB / 1.2 GB, free: 132 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.3954, allocations: 0.5882 MB / 1.201 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000444/0.3958, allocations: 414.6 kB / 1.201 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3959, allocations: 44.72 kB / 1.201 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.3962, allocations: 171.4 kB / 1.201 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.3965, allocations: 187.3 kB / 1.201 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.3965, allocations: 20 kB / 1.201 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.3977, allocations: 0.6706 MB / 1.202 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3978, allocations: 71.72 kB / 1.202 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.398, allocations: 159.2 kB / 1.202 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008584/0.3988, allocations: 0.6582 MB / 1.203 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3988, allocations: 0 / 1.203 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3988, allocations: 0 / 1.203 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.3989, allocations: 4 kB / 1.203 GB, free: 13.17 MB / 0.9669 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.00155/0.4004, allocations: 0.7392 MB / 1.204 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.4005, allocations: 12.03 kB / 1.204 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.4005, allocations: 46.73 kB / 1.204 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.4021, allocations: 164.4 kB / 1.204 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.4025, allocations: 310.5 kB / 1.204 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.4026, allocations: 49.62 kB / 1.204 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.4026, allocations: 20 kB / 1.204 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.403, allocations: 208.1 kB / 1.205 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4031, allocations: 7.938 kB / 1.205 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.4031, allocations: 4 kB / 1.205 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4031, allocations: 4 kB / 1.205 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.4034, allocations: 112.2 kB / 1.205 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.4058, allocations: 0.9887 MB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.4066, allocations: 170.4 kB / 1.206 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.4068, allocations: 96.81 kB / 1.206 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4069, allocations: 0 / 1.206 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.4073, allocations: 201.2 kB / 1.206 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.4073, allocations: 0 / 1.206 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.004294/0.4116, allocations: 0.8606 MB / 1.207 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.4116, allocations: 85.11 kB / 1.207 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.412, allocations: 336.4 kB / 1.207 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.4121, allocations: 33.7 kB / 1.207 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.4122, allocations: 156.5 kB / 1.207 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.4123, allocations: 55.2 kB / 1.208 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.4124, allocations: 81.94 kB / 1.208 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4126, allocations: 346.7 kB / 1.208 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.4129, allocations: 140.5 kB / 1.208 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.4133, allocations: 217.3 kB / 1.208 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/0.4139, allocations: 344.7 kB / 1.209 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4139, allocations: 0 / 1.209 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003791/0.4177, allocations: 0.8649 MB / 1.209 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.4178, allocations: 41.69 kB / 1.209 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4178, allocations: 0 / 1.209 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009165/0.4187, allocations: 193.5 kB / 1.21 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.419, allocations: 47.84 kB / 1.21 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.422, allocations: 2.223 MB / 1.212 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.4225, allocations: 51.72 kB / 1.212 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.4225, allocations: 19.98 kB / 1.212 GB, free: 3.473 MB / 0.9669 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.0002213/0.4227, allocations: 191 kB / 1.212 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.4228, allocations: 31.62 kB / 1.212 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.4229, allocations: 31.11 kB / 1.212 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4229, allocations: 4 kB / 1.212 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.4229, allocations: 0 / 1.212 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4229, allocations: 0 / 1.212 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/0.4262, allocations: 1.037 MB / 1.213 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4263, allocations: 4 kB / 1.213 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.4263, allocations: 8 kB / 1.213 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003048/0.4266, allocations: 120.7 kB / 1.213 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.4267, allocations: 11.98 kB / 1.213 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008901/0.4276, allocations: 0.7419 MB / 1.214 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4276, allocations: 4 kB / 1.214 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/0.4307, allocations: 0.88 MB / 1.215 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.4309, allocations: 140.5 kB / 1.215 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.4309, allocations: 8 kB / 1.215 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.4312, allocations: 11.98 kB / 1.215 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.4313, allocations: 11.98 kB / 1.215 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.4313, allocations: 4 kB / 1.215 GB, free: 100 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002842/0.4316, allocations: 243.1 kB / 1.215 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4316, allocations: 0 / 1.215 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004756/0.4321, allocations: 112 kB / 1.215 GB, free: 15.75 MB / 0.9825 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.00149/0.4336, allocations: 1.219 MB / 1.217 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.4351, allocations: 0.5578 MB / 1.217 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4351, allocations: 0 / 1.217 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.4358, allocations: 248 kB / 1.217 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.4363, allocations: 66.77 kB / 1.217 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.4474, allocations: 4.429 MB / 1.222 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.4477, allocations: 0.7637 MB / 1.223 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.4479, allocations: 30.23 kB / 1.223 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.448, allocations: 87.39 kB / 1.223 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of SimCode: time 4.7e-07/0.448, allocations: 0 / 1.223 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3695/0.8175, allocations: 9.786 MB / 1.232 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003698/0.8179, allocations: 270.1 kB / 1.232 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.741, allocations: 6.75 kB / 1.232 GB, free: 14.25 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)