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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 107.7 kB / 16.4 MB, free: 6.504 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.001476/0.001476, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.421/1.421, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 489.1 MB / 0.7678 GB, free: 4 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.89 kB / 1.101 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7424/0.7444, allocations: 163.8 MB / 1.261 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003793/0.7482, allocations: 2.391 MB / 1.263 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1869/0.9351, allocations: 151 MB / 1.411 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.9354, allocations: 4 kB / 1.411 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.9358, allocations: 99.42 kB / 1.411 GB, free: 13.11 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0007227/0.9366, allocations: 238.5 kB / 1.411 GB, free: 12.88 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.9383, allocations: 0.6476 MB / 1.412 GB, free: 12.23 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0005617/0.9389, allocations: 442.6 kB / 1.412 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.939, allocations: 44.52 kB / 1.412 GB, free: 11.76 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.9393, allocations: 191.4 kB / 1.412 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.9396, allocations: 203.3 kB / 1.413 GB, free: 11.38 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.965e-05/0.9397, allocations: 32 kB / 1.413 GB, free: 11.34 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.941, allocations: 0.6161 MB / 1.413 GB, free: 10.73 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.9411, allocations: 83.72 kB / 1.413 GB, free: 10.64 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.9413, allocations: 163.2 kB / 1.413 GB, free: 10.48 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.9424, allocations: 0.6608 MB / 1.414 GB, free: 9.824 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.9424, allocations: 4 kB / 1.414 GB, free: 9.82 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9424, allocations: 0 / 1.414 GB, free: 9.82 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.9424, allocations: 0 / 1.414 GB, free: 9.82 MB / 1.123 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.001694/0.9441, allocations: 0.7542 MB / 1.415 GB, free: 9.012 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.9442, allocations: 12.03 kB / 1.415 GB, free: 9 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.394e-05/0.9443, allocations: 46.73 kB / 1.415 GB, free: 8.945 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.946, allocations: 152.6 kB / 1.415 GB, free: 8.797 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006349/0.9466, allocations: 326.7 kB / 1.415 GB, free: 8.441 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.402e-05/0.9467, allocations: 45.7 kB / 1.415 GB, free: 8.391 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.9468, allocations: 20 kB / 1.415 GB, free: 8.371 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.9473, allocations: 208.1 kB / 1.416 GB, free: 8.152 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9473, allocations: 0 / 1.416 GB, free: 8.152 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.9473, allocations: 11.94 kB / 1.416 GB, free: 8.141 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.9473, allocations: 4 kB / 1.416 GB, free: 8.137 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.9476, allocations: 120.1 kB / 1.416 GB, free: 8.02 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.9503, allocations: 0.9886 MB / 1.417 GB, free: 6.973 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008304/0.9511, allocations: 170.4 kB / 1.417 GB, free: 6.797 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.9514, allocations: 96.83 kB / 1.417 GB, free: 6.699 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.9514, allocations: 0 / 1.417 GB, free: 6.699 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004104/0.9518, allocations: 205 kB / 1.417 GB, free: 6.48 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 4.158e-06/0.9518, allocations: 4 kB / 1.417 GB, free: 6.477 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.004318/0.9562, allocations: 0.8616 MB / 1.418 GB, free: 5.582 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.9562, allocations: 81.11 kB / 1.418 GB, free: 5.484 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.9567, allocations: 348.4 kB / 1.418 GB, free: 5.125 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.9568, allocations: 33.7 kB / 1.418 GB, free: 5.086 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.9569, allocations: 148.7 kB / 1.419 GB, free: 4.938 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.957, allocations: 59.48 kB / 1.419 GB, free: 4.879 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.9572, allocations: 81.94 kB / 1.419 GB, free: 4.789 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.9574, allocations: 350.7 kB / 1.419 GB, free: 4.438 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.9578, allocations: 132.5 kB / 1.419 GB, free: 4.309 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/0.9582, allocations: 221.3 kB / 1.419 GB, free: 4.078 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/0.9589, allocations: 337.5 kB / 1.42 GB, free: 3.723 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9589, allocations: 0 / 1.42 GB, free: 3.723 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003897/0.9629, allocations: 0.8609 MB / 1.421 GB, free: 2.844 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.9629, allocations: 41.69 kB / 1.421 GB, free: 2.797 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.9629, allocations: 4 kB / 1.421 GB, free: 2.793 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009731/0.9639, allocations: 201.5 kB / 1.421 GB, free: 2.59 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.9642, allocations: 39.91 kB / 1.421 GB, free: 2.551 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.9676, allocations: 2.331 MB / 1.423 GB, free: 56 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.9681, allocations: 51.78 kB / 1.423 GB, free: 4 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.9682, allocations: 19.98 kB / 1.423 GB, free: 15.98 MB / 1.139 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.0002596/0.9684, allocations: 192.5 kB / 1.423 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.9685, allocations: 31.81 kB / 1.423 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.9686, allocations: 27.17 kB / 1.423 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.9686, allocations: 4 kB / 1.423 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9686, allocations: 7.938 kB / 1.423 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9686, allocations: 0 / 1.423 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.9721, allocations: 1.039 MB / 1.424 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.9721, allocations: 0 / 1.424 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.9721, allocations: 4 kB / 1.424 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003462/0.9725, allocations: 116.8 kB / 1.425 GB, free: 14.48 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.9725, allocations: 15.92 kB / 1.425 GB, free: 14.47 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009863/0.9735, allocations: 0.7421 MB / 1.425 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9736, allocations: 3.938 kB / 1.425 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.977, allocations: 0.8851 MB / 1.426 GB, free: 12.79 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.9771, allocations: 136.8 kB / 1.426 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.9772, allocations: 8 kB / 1.426 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.9775, allocations: 11.98 kB / 1.426 GB, free: 12.62 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.9775, allocations: 11.98 kB / 1.426 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.9776, allocations: 11.98 kB / 1.426 GB, free: 12.6 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003524/0.9779, allocations: 235 kB / 1.427 GB, free: 12.37 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/0.978, allocations: 4.062 kB / 1.427 GB, free: 12.37 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000517/0.9785, allocations: 115.9 kB / 1.427 GB, free: 12.25 MB / 1.139 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.001775/0.9803, allocations: 1.224 MB / 1.428 GB, free: 10.99 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.9819, allocations: 0.569 MB / 1.428 GB, free: 10.39 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.982, allocations: 8 kB / 1.428 GB, free: 10.39 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007797/0.9827, allocations: 244.1 kB / 1.429 GB, free: 10.13 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.9832, allocations: 73.12 kB / 1.429 GB, free: 10.06 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.9948, allocations: 4.337 MB / 1.433 GB, free: 5.602 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.9952, allocations: 0.756 MB / 1.434 GB, free: 4.82 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.9954, allocations: 26.3 kB / 1.434 GB, free: 4.797 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.9955, allocations: 87.39 kB / 1.434 GB, free: 4.711 MB / 1.139 GB Notification: Performance of SimCode: time 7.42e-07/0.9955, allocations: 4 kB / 1.434 GB, free: 4.707 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/1.035, allocations: 10.35 MB / 1.444 GB, free: 10.62 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.62, allocations: 12.11 kB / 1.444 GB, free: 10.61 MB / 1.154 GB " [Timeout remaining time 286] (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 --stepSize=0.96 --timeout=800 --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) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.58604570198804] Failed to read output from testmodel.py, exit status != 0: 13.717705843038857 13.746754666 12.799526548 Calling exit ...