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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001828/0.001827, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002388/0.002388, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.534/1.534, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.076/3.076, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 67.7 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3394, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004864/0.3443, allocations: 2.452 MB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1726/0.517, allocations: 148.8 MB / 1.2 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.5173, allocations: 3.938 kB / 1.2 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.5178, allocations: 79.61 kB / 1.2 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008515/0.5187, allocations: 217.9 kB / 1.2 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.5205, allocations: 0.6089 MB / 1.201 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.5212, allocations: 434.6 kB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.5214, allocations: 48.72 kB / 1.201 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.5217, allocations: 183.4 kB / 1.202 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.5221, allocations: 195.4 kB / 1.202 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.849e-05/0.5222, allocations: 28 kB / 1.202 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.5236, allocations: 0.6511 MB / 1.202 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.5237, allocations: 83.72 kB / 1.203 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.5239, allocations: 167.2 kB / 1.203 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.5252, allocations: 0.67 MB / 1.203 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5252, allocations: 0 / 1.203 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5252, allocations: 0 / 1.203 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.5253, allocations: 0 / 1.203 GB, free: 13.47 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.001854/0.5271, allocations: 0.7455 MB / 1.204 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5272, allocations: 8.625 kB / 1.204 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.551e-05/0.5272, allocations: 46.73 kB / 1.204 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.5291, allocations: 156.4 kB / 1.204 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.5296, allocations: 318.5 kB / 1.205 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.5297, allocations: 49.7 kB / 1.205 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.5298, allocations: 20 kB / 1.205 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.5303, allocations: 208.6 kB / 1.205 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5303, allocations: 3.938 kB / 1.205 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.5303, allocations: 8 kB / 1.205 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5303, allocations: 4 kB / 1.205 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.5306, allocations: 116.2 kB / 1.205 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.5334, allocations: 0.9925 MB / 1.206 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008982/0.5344, allocations: 170.4 kB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.5346, allocations: 96.83 kB / 1.206 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.5347, allocations: 0 / 1.206 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.5352, allocations: 197 kB / 1.206 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 2.294e-06/0.5352, allocations: 0 / 1.206 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.004647/0.5398, allocations: 0.857 MB / 1.207 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.5399, allocations: 81.11 kB / 1.207 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.5405, allocations: 344.4 kB / 1.208 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.5406, allocations: 33.7 kB / 1.208 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.5407, allocations: 152.5 kB / 1.208 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.271e-05/0.5408, allocations: 59.19 kB / 1.208 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.541, allocations: 85.92 kB / 1.208 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5412, allocations: 346.8 kB / 1.208 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.5416, allocations: 136.5 kB / 1.208 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.5421, allocations: 217.4 kB / 1.209 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008012/0.5429, allocations: 340.8 kB / 1.209 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.5429, allocations: 0 / 1.209 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004239/0.5471, allocations: 0.8607 MB / 1.21 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.5472, allocations: 41.69 kB / 1.21 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5472, allocations: 0 / 1.21 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.5484, allocations: 193.7 kB / 1.21 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.5487, allocations: 47.83 kB / 1.21 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.5522, allocations: 2.338 MB / 1.212 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.5529, allocations: 43.67 kB / 1.212 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.886e-05/0.553, allocations: 19.97 kB / 1.212 GB, free: 3.66 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.000375/0.5534, allocations: 195.4 kB / 1.213 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.5535, allocations: 31.62 kB / 1.213 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.5536, allocations: 31.11 kB / 1.213 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5536, allocations: 0 / 1.213 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5536, allocations: 3.938 kB / 1.213 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5536, allocations: 192 / 1.213 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/0.5575, allocations: 1.047 MB / 1.214 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.5575, allocations: 3.984 kB / 1.214 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.5576, allocations: 7.938 kB / 1.214 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/0.5579, allocations: 120.7 kB / 1.214 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.558, allocations: 11.94 kB / 1.214 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009975/0.559, allocations: 0.7459 MB / 1.215 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.559, allocations: 0 / 1.215 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/0.5626, allocations: 0.8781 MB / 1.215 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.5629, allocations: 132.7 kB / 1.216 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.563, allocations: 11.94 kB / 1.216 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.5633, allocations: 11.98 kB / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.5633, allocations: 11.98 kB / 1.216 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.5634, allocations: 12.05 kB / 1.216 GB, free: 272 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003481/0.5637, allocations: 239 kB / 1.216 GB, free: 36 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5638, allocations: 0 / 1.216 GB, free: 36 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006355/0.5644, allocations: 112 kB / 1.216 GB, free: 15.93 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.001851/0.5663, allocations: 1.226 MB / 1.217 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.5681, allocations: 0.5726 MB / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5681, allocations: 0 / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008539/0.569, allocations: 256.1 kB / 1.218 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.5696, allocations: 53.11 kB / 1.218 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.5824, allocations: 4.44 MB / 1.222 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.5828, allocations: 0.756 MB / 1.223 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.5831, allocations: 34.27 kB / 1.223 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.5832, allocations: 83.41 kB / 1.223 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of SimCode: time 1.172e-06/0.5832, allocations: 0 / 1.223 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2672/0.8504, allocations: 10.11 MB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004324/0.8509, allocations: 276.4 kB / 1.233 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.719/6.57, allocations: 0 / 1.233 GB, free: 14.11 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)