Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001433/0.001433, allocations: 101.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.002144/0.002144, allocations: 182 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.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.356/2.356, allocations: 443.5 MB / 0.7304 GB, free: 13.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.88 kB / 1.059 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2564, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003741/0.2601, allocations: 2.42 MB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.6377/0.8978, allocations: 151.5 MB / 1.366 GB, free: 4.195 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.898, allocations: 6.969 kB / 1.366 GB, free: 4.191 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.8983, allocations: 90.25 kB / 1.366 GB, free: 4.152 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007376/0.8991, allocations: 248.2 kB / 1.366 GB, free: 4.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.9008, allocations: 0.6593 MB / 1.367 GB, free: 3.703 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006064/0.9014, allocations: 442.3 kB / 1.367 GB, free: 3.504 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.9015, allocations: 28.73 kB / 1.367 GB, free: 3.496 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.9018, allocations: 183.1 kB / 1.367 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.9022, allocations: 207 kB / 1.368 GB, free: 3.348 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.9023, allocations: 29.72 kB / 1.368 GB, free: 3.348 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.9035, allocations: 0.6485 MB / 1.368 GB, free: 3.141 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.9036, allocations: 83.34 kB / 1.368 GB, free: 3.094 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.9038, allocations: 163 kB / 1.369 GB, free: 3 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009951/0.9048, allocations: 0.6572 MB / 1.369 GB, free: 2.777 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9048, allocations: 0 / 1.369 GB, free: 2.777 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9048, allocations: 0 / 1.369 GB, free: 2.777 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.9048, allocations: 1.281 kB / 1.369 GB, free: 2.777 MB / 1.045 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.001625/0.9064, allocations: 0.755 MB / 1.37 GB, free: 2.188 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.9065, allocations: 13.47 kB / 1.37 GB, free: 2.184 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.9065, allocations: 49.92 kB / 1.37 GB, free: 2.133 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.908, allocations: 165 kB / 1.37 GB, free: 2.105 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.9085, allocations: 314 kB / 1.37 GB, free: 1.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.644e-05/0.9085, allocations: 45.11 kB / 1.37 GB, free: 1.801 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.9086, allocations: 25.09 kB / 1.371 GB, free: 1.789 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.909, allocations: 206.8 kB / 1.371 GB, free: 1.688 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.909, allocations: 0 / 1.371 GB, free: 1.688 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.909, allocations: 6.312 kB / 1.371 GB, free: 1.684 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.909, allocations: 2.75 kB / 1.371 GB, free: 1.684 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.9093, allocations: 123.2 kB / 1.371 GB, free: 1.645 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.9116, allocations: 0.9875 MB / 1.372 GB, free: 1.004 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/0.9123, allocations: 149.9 kB / 1.372 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.9125, allocations: 84.22 kB / 1.372 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.9125, allocations: 1.344 kB / 1.372 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/0.9129, allocations: 198.1 kB / 1.372 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.9129, allocations: 0 / 1.372 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.003913/0.9168, allocations: 0.8584 MB / 1.373 GB, free: 484 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.9169, allocations: 88.56 kB / 1.373 GB, free: 384 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.9173, allocations: 340 kB / 1.373 GB, free: 192 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/0.9174, allocations: 32.17 kB / 1.373 GB, free: 156 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.9175, allocations: 147.5 kB / 1.374 GB, free: 24 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.82e-05/0.9176, allocations: 64.78 kB / 1.374 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.9177, allocations: 85.61 kB / 1.374 GB, free: 15.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.9179, allocations: 351.5 kB / 1.374 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.9182, allocations: 137.4 kB / 1.374 GB, free: 15.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.9186, allocations: 211.3 kB / 1.374 GB, free: 15.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006451/0.9193, allocations: 346.3 kB / 1.375 GB, free: 15.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9193, allocations: 0 / 1.375 GB, free: 15.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003528/0.9228, allocations: 0.8555 MB / 1.376 GB, free: 14.96 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.9228, allocations: 36.59 kB / 1.376 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9228, allocations: 0.9375 kB / 1.376 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008717/0.9237, allocations: 203.2 kB / 1.376 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.9239, allocations: 35.34 kB / 1.376 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/0.9268, allocations: 2.347 MB / 1.378 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.9273, allocations: 47.47 kB / 1.378 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.9274, allocations: 21.25 kB / 1.378 GB, free: 12.68 MB / 1.061 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.0002655/0.9276, allocations: 197.3 kB / 1.378 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.349e-05/0.9277, allocations: 30.91 kB / 1.378 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.9278, allocations: 29.48 kB / 1.378 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.9278, allocations: 1.156 kB / 1.378 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.9278, allocations: 2.391 kB / 1.378 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.9278, allocations: 5.062 kB / 1.378 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.9309, allocations: 1.037 MB / 1.379 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.9309, allocations: 0 / 1.379 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.914e-05/0.931, allocations: 5.781 kB / 1.379 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/0.9313, allocations: 118.2 kB / 1.38 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.9313, allocations: 14.09 kB / 1.38 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008883/0.9322, allocations: 0.7492 MB / 1.38 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.9322, allocations: 0 / 1.38 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/0.9352, allocations: 0.8691 MB / 1.381 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.9354, allocations: 142.3 kB / 1.381 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.9355, allocations: 12 kB / 1.381 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.9357, allocations: 11.36 kB / 1.381 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.9358, allocations: 16.58 kB / 1.381 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.9358, allocations: 6.406 kB / 1.381 GB, free: 10.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003115/0.9361, allocations: 241.5 kB / 1.382 GB, free: 10.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9361, allocations: 0 / 1.382 GB, free: 10.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005376/0.9366, allocations: 119.4 kB / 1.382 GB, free: 10.49 MB / 1.061 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.001584/0.9382, allocations: 1.222 MB / 1.383 GB, free: 9.551 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.9398, allocations: 0.5329 MB / 1.383 GB, free: 9.195 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9398, allocations: 0 / 1.383 GB, free: 9.195 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007102/0.9405, allocations: 228.6 kB / 1.384 GB, free: 9.047 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.941, allocations: 47.53 kB / 1.384 GB, free: 9.027 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.9516, allocations: 4.367 MB / 1.388 GB, free: 6.176 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.952, allocations: 0.7627 MB / 1.389 GB, free: 5.441 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.9522, allocations: 32.92 kB / 1.389 GB, free: 5.426 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.9523, allocations: 84.31 kB / 1.389 GB, free: 5.355 MB / 1.061 GB Notification: Performance of SimCode: time 8.62e-07/0.9523, allocations: 0 / 1.389 GB, free: 5.355 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.9942, allocations: 10.37 MB / 1.399 GB, free: 200 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.78, allocations: 7.781 kB / 1.399 GB, free: 200 kB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.035741321997193]