Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 105.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 71.83 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7555, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00286/0.7584, allocations: 2.429 MB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1652/0.9236, allocations: 151.5 MB / 1.422 GB, free: 5.582 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.9238, allocations: 1.781 kB / 1.422 GB, free: 5.582 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.9241, allocations: 99.64 kB / 1.422 GB, free: 5.512 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0006148/0.9247, allocations: 244.7 kB / 1.422 GB, free: 5.332 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.9261, allocations: 0.6583 MB / 1.423 GB, free: 4.879 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000444/0.9266, allocations: 437.2 kB / 1.423 GB, free: 4.633 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.9267, allocations: 33.08 kB / 1.423 GB, free: 4.617 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.9269, allocations: 190.6 kB / 1.423 GB, free: 4.512 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.9272, allocations: 205.2 kB / 1.423 GB, free: 4.387 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/0.9272, allocations: 31.22 kB / 1.424 GB, free: 4.387 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.9283, allocations: 0.6432 MB / 1.424 GB, free: 4.059 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.846e-05/0.9284, allocations: 84.97 kB / 1.424 GB, free: 3.992 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.9285, allocations: 163.3 kB / 1.424 GB, free: 3.879 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0008249/0.9293, allocations: 0.6604 MB / 1.425 GB, free: 3.453 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9293, allocations: 1.375 kB / 1.425 GB, free: 3.453 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9293, allocations: 4 kB / 1.425 GB, free: 3.449 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.9294, allocations: 0 / 1.425 GB, free: 3.449 MB / 1.107 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.001474/0.9308, allocations: 0.7554 MB / 1.426 GB, free: 2.797 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.9309, allocations: 8.688 kB / 1.426 GB, free: 2.797 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.9309, allocations: 51.89 kB / 1.426 GB, free: 2.742 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.9324, allocations: 155.6 kB / 1.426 GB, free: 2.68 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.9329, allocations: 317.9 kB / 1.426 GB, free: 2.375 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/0.9329, allocations: 49.44 kB / 1.426 GB, free: 2.332 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.933, allocations: 16.97 kB / 1.426 GB, free: 2.328 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.9334, allocations: 209.8 kB / 1.427 GB, free: 2.184 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.9334, allocations: 0 / 1.427 GB, free: 2.184 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.9334, allocations: 6.156 kB / 1.427 GB, free: 2.18 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.9334, allocations: 7.156 kB / 1.427 GB, free: 2.176 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.9337, allocations: 120.2 kB / 1.427 GB, free: 2.121 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.936, allocations: 0.9967 MB / 1.428 GB, free: 1.289 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/0.9368, allocations: 156.7 kB / 1.428 GB, free: 1.199 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.937, allocations: 79.86 kB / 1.428 GB, free: 1.16 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.937, allocations: 2.219 kB / 1.428 GB, free: 1.16 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003462/0.9374, allocations: 196.5 kB / 1.428 GB, free: 1.008 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.9374, allocations: 0 / 1.428 GB, free: 1.008 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.003891/0.9413, allocations: 0.8577 MB / 1.429 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.9413, allocations: 84.58 kB / 1.429 GB, free: 432 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.9417, allocations: 345.8 kB / 1.429 GB, free: 196 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.9418, allocations: 36.17 kB / 1.429 GB, free: 156 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.9419, allocations: 153.1 kB / 1.429 GB, free: 12 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.85e-05/0.9419, allocations: 55.78 kB / 1.43 GB, free: 15.96 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.9421, allocations: 88.8 kB / 1.43 GB, free: 15.9 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9422, allocations: 346.3 kB / 1.43 GB, free: 15.56 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.9426, allocations: 136.8 kB / 1.43 GB, free: 15.5 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.943, allocations: 226.2 kB / 1.43 GB, free: 15.36 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.9436, allocations: 333.7 kB / 1.431 GB, free: 15.14 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9436, allocations: 0 / 1.431 GB, free: 15.14 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003478/0.9471, allocations: 0.8596 MB / 1.431 GB, free: 14.68 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.9471, allocations: 42.16 kB / 1.432 GB, free: 14.64 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.9471, allocations: 9.109 kB / 1.432 GB, free: 14.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008612/0.948, allocations: 200.5 kB / 1.432 GB, free: 14.53 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.9482, allocations: 40.88 kB / 1.432 GB, free: 14.52 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.951, allocations: 2.336 MB / 1.434 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.9514, allocations: 52.03 kB / 1.434 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.9514, allocations: 20.3 kB / 1.434 GB, free: 12.23 MB / 1.123 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.0002407/0.9517, allocations: 195 kB / 1.434 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.9517, allocations: 30.84 kB / 1.434 GB, free: 12.03 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.9518, allocations: 27.39 kB / 1.434 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.9518, allocations: 0.9688 kB / 1.434 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9518, allocations: 8.625 kB / 1.434 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9518, allocations: 0 / 1.434 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.9548, allocations: 1.034 MB / 1.435 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9548, allocations: 5.375 kB / 1.435 GB, free: 11.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.9549, allocations: 5.5 kB / 1.435 GB, free: 11.28 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002824/0.9552, allocations: 115.9 kB / 1.435 GB, free: 11.22 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.9552, allocations: 12.06 kB / 1.435 GB, free: 11.21 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008597/0.956, allocations: 0.7464 MB / 1.436 GB, free: 10.53 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.956, allocations: 1.125 kB / 1.436 GB, free: 10.53 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.959, allocations: 0.8787 MB / 1.437 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.9592, allocations: 139.3 kB / 1.437 GB, free: 9.883 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.9592, allocations: 7.562 kB / 1.437 GB, free: 9.879 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.9594, allocations: 11.45 kB / 1.437 GB, free: 9.875 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.9595, allocations: 13.27 kB / 1.437 GB, free: 9.867 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.9595, allocations: 9.422 kB / 1.437 GB, free: 9.863 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002688/0.9598, allocations: 238 kB / 1.437 GB, free: 9.715 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9598, allocations: 0 / 1.437 GB, free: 9.715 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004486/0.9602, allocations: 119.5 kB / 1.438 GB, free: 9.691 MB / 1.123 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.001492/0.9617, allocations: 1.22 MB / 1.439 GB, free: 8.688 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.9632, allocations: 0.5298 MB / 1.439 GB, free: 8.129 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.9632, allocations: 4.188 kB / 1.439 GB, free: 8.125 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006985/0.9639, allocations: 220.2 kB / 1.44 GB, free: 7.895 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.9643, allocations: 72.97 kB / 1.44 GB, free: 7.816 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.9747, allocations: 4.34 MB / 1.444 GB, free: 3.359 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.975, allocations: 0.7637 MB / 1.445 GB, free: 2.57 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.9751, allocations: 26.3 kB / 1.445 GB, free: 2.547 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.9752, allocations: 87.39 kB / 1.445 GB, free: 2.461 MB / 1.123 GB Notification: Performance of SimCode: time 5.41e-07/0.9752, allocations: 0 / 1.445 GB, free: 2.461 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/1.013, allocations: 10.38 MB / 1.455 GB, free: 8.27 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.64, allocations: 6.688 kB / 1.455 GB, free: 8.266 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.csv --start-time 0 --stop-time 2400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.96 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.029164929001126]