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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007268/0.007269, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001757/0.001757, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 68.14 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7392, allocations: 159.1 MB / 1.22 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003744/0.743, allocations: 2.386 MB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.9151, allocations: 151 MB / 1.37 GB, free: 8.262 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.9153, allocations: 11.94 kB / 1.37 GB, free: 8.25 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.9157, allocations: 103.2 kB / 1.37 GB, free: 8.152 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0006693/0.9164, allocations: 230.6 kB / 1.37 GB, free: 7.926 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.9182, allocations: 0.6567 MB / 1.371 GB, free: 7.277 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.9187, allocations: 446.5 kB / 1.371 GB, free: 6.84 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.9189, allocations: 40.73 kB / 1.371 GB, free: 6.801 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.9191, allocations: 179.5 kB / 1.372 GB, free: 6.625 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.9194, allocations: 203.3 kB / 1.372 GB, free: 6.426 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.498e-05/0.9195, allocations: 32 kB / 1.372 GB, free: 6.395 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.9208, allocations: 0.62 MB / 1.372 GB, free: 5.773 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.9209, allocations: 87.7 kB / 1.372 GB, free: 5.688 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.9211, allocations: 163.2 kB / 1.373 GB, free: 5.527 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.9221, allocations: 0.6539 MB / 1.373 GB, free: 4.875 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9221, allocations: 4 kB / 1.373 GB, free: 4.871 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.163e-06/0.9221, allocations: 0 / 1.373 GB, free: 4.871 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.9221, allocations: 0 / 1.373 GB, free: 4.871 MB / 1.092 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.001587/0.9237, allocations: 0.7564 MB / 1.374 GB, free: 4.059 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.9238, allocations: 12.03 kB / 1.374 GB, free: 4.047 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.9238, allocations: 46.73 kB / 1.374 GB, free: 3.992 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.9254, allocations: 160.6 kB / 1.374 GB, free: 3.836 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.926, allocations: 314.7 kB / 1.375 GB, free: 3.488 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.942e-05/0.9261, allocations: 45.7 kB / 1.375 GB, free: 3.438 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.9262, allocations: 23.95 kB / 1.375 GB, free: 3.414 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.9266, allocations: 220.5 kB / 1.375 GB, free: 3.184 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.9266, allocations: 0 / 1.375 GB, free: 3.184 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.9267, allocations: 4 kB / 1.375 GB, free: 3.18 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.9267, allocations: 4 kB / 1.375 GB, free: 3.176 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.927, allocations: 116.2 kB / 1.375 GB, free: 3.062 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.9295, allocations: 1.004 MB / 1.376 GB, free: 2 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.9304, allocations: 162.5 kB / 1.376 GB, free: 1.832 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.9306, allocations: 100.8 kB / 1.376 GB, free: 1.73 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.9306, allocations: 0 / 1.376 GB, free: 1.73 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.931, allocations: 197.1 kB / 1.376 GB, free: 1.52 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 1.933e-06/0.931, allocations: 0 / 1.376 GB, free: 1.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.004289/0.9353, allocations: 0.8617 MB / 1.377 GB, free: 0.625 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.9354, allocations: 89.09 kB / 1.377 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.936, allocations: 340.4 kB / 1.378 GB, free: 176 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/0.9361, allocations: 37.69 kB / 1.378 GB, free: 132 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.9362, allocations: 148.9 kB / 1.378 GB, free: 15.98 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/0.9363, allocations: 59.52 kB / 1.378 GB, free: 15.92 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.9365, allocations: 85.89 kB / 1.378 GB, free: 15.82 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.9367, allocations: 346.6 kB / 1.378 GB, free: 15.48 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.937, allocations: 140.5 kB / 1.378 GB, free: 15.34 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.9375, allocations: 225.2 kB / 1.379 GB, free: 15.11 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.9382, allocations: 332.7 kB / 1.379 GB, free: 14.76 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.9382, allocations: 0 / 1.379 GB, free: 14.76 MB / 1.107 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00389/0.9421, allocations: 0.8572 MB / 1.38 GB, free: 13.88 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.9422, allocations: 37.7 kB / 1.38 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.9422, allocations: 4 kB / 1.38 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000977/0.9432, allocations: 205.5 kB / 1.38 GB, free: 13.63 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.9435, allocations: 39.92 kB / 1.38 GB, free: 13.59 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.9468, allocations: 2.34 MB / 1.382 GB, free: 11.09 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.9473, allocations: 55.64 kB / 1.382 GB, free: 11.03 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.9474, allocations: 15.98 kB / 1.382 GB, free: 11.02 MB / 1.107 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.0002782/0.9477, allocations: 188.2 kB / 1.383 GB, free: 10.82 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.9478, allocations: 35.81 kB / 1.383 GB, free: 10.78 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.9478, allocations: 27.17 kB / 1.383 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9478, allocations: 0 / 1.383 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9478, allocations: 7.875 kB / 1.383 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9478, allocations: 3.984 kB / 1.383 GB, free: 10.74 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.9512, allocations: 1.036 MB / 1.384 GB, free: 9.641 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9513, allocations: 0 / 1.384 GB, free: 9.641 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.9513, allocations: 7.938 kB / 1.384 GB, free: 9.633 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003354/0.9517, allocations: 120.9 kB / 1.384 GB, free: 9.512 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.9517, allocations: 11.98 kB / 1.384 GB, free: 9.5 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000984/0.9527, allocations: 0.7382 MB / 1.384 GB, free: 8.738 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9527, allocations: 0 / 1.384 GB, free: 8.738 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.9561, allocations: 0.8824 MB / 1.385 GB, free: 7.832 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.9563, allocations: 140.8 kB / 1.385 GB, free: 7.676 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.9564, allocations: 8 kB / 1.385 GB, free: 7.668 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.9567, allocations: 11.98 kB / 1.385 GB, free: 7.656 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.9567, allocations: 11.98 kB / 1.385 GB, free: 7.645 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.9568, allocations: 8 kB / 1.385 GB, free: 7.637 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003267/0.9571, allocations: 239.1 kB / 1.386 GB, free: 7.406 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9571, allocations: 0 / 1.386 GB, free: 7.406 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005659/0.9577, allocations: 115.9 kB / 1.386 GB, free: 7.293 MB / 1.107 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.001801/0.9595, allocations: 1.236 MB / 1.387 GB, free: 6.027 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.9613, allocations: 0.5651 MB / 1.388 GB, free: 5.434 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.9613, allocations: 4 kB / 1.388 GB, free: 5.43 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.9621, allocations: 252.1 kB / 1.388 GB, free: 5.168 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.9627, allocations: 68.98 kB / 1.388 GB, free: 5.094 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.9747, allocations: 4.35 MB / 1.392 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.9751, allocations: 0.7598 MB / 1.393 GB, free: 15.85 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.9753, allocations: 30.28 kB / 1.393 GB, free: 15.82 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.9755, allocations: 87.34 kB / 1.393 GB, free: 15.74 MB / 1.123 GB Notification: Performance of SimCode: time 4.21e-07/0.9755, allocations: 0 / 1.393 GB, free: 15.74 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/1.016, allocations: 10.33 MB / 1.403 GB, free: 5.656 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/13, allocations: 8.062 kB / 1.403 GB, free: 5.648 MB / 1.123 GB (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 50 --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)