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.001341/0.001341, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001375/0.001375, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.44/1.44, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.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.964/2.964, allocations: 497.2 MB / 0.7812 GB, free: 11.87 MB / 0.6231 GB " [Timeout remaining time 176] 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.001872/0.001872, allocations: 63.91 kB / 1.134 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.8683, allocations: 173.9 MB / 1.304 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004029/0.8723, allocations: 2.396 MB / 1.306 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.184/1.056, allocations: 151.4 MB / 1.454 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/1.057, allocations: 0 / 1.454 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003823/1.057, allocations: 95.42 kB / 1.454 GB, free: 10.36 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0006997/1.058, allocations: 246.6 kB / 1.455 GB, free: 10.11 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/1.059, allocations: 0.6596 MB / 1.455 GB, free: 9.461 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.000618/1.06, allocations: 434.5 kB / 1.456 GB, free: 9.035 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/1.06, allocations: 36.66 kB / 1.456 GB, free: 9.004 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/1.06, allocations: 183.5 kB / 1.456 GB, free: 8.824 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/1.061, allocations: 215.2 kB / 1.456 GB, free: 8.613 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/1.061, allocations: 28 kB / 1.456 GB, free: 8.586 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/1.062, allocations: 0.6434 MB / 1.457 GB, free: 7.941 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/1.062, allocations: 87.66 kB / 1.457 GB, free: 7.855 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/1.062, allocations: 163.2 kB / 1.457 GB, free: 7.695 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0009509/1.063, allocations: 0.6521 MB / 1.458 GB, free: 7.043 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/1.063, allocations: 4 kB / 1.458 GB, free: 7.039 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.633e-06/1.063, allocations: 0 / 1.458 GB, free: 7.039 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.293e-06/1.063, allocations: 0 / 1.458 GB, free: 7.039 MB / 1.139 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.001628/1.065, allocations: 0.7603 MB / 1.458 GB, free: 6.223 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/1.065, allocations: 8.031 kB / 1.458 GB, free: 6.215 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.875e-05/1.065, allocations: 46.73 kB / 1.458 GB, free: 6.16 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/1.067, allocations: 160.6 kB / 1.458 GB, free: 6.004 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/1.067, allocations: 322.7 kB / 1.459 GB, free: 5.652 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/1.067, allocations: 45.7 kB / 1.459 GB, free: 5.602 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/1.067, allocations: 20 kB / 1.459 GB, free: 5.582 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/1.068, allocations: 208 kB / 1.459 GB, free: 5.363 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.068, allocations: 0 / 1.459 GB, free: 5.363 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/1.068, allocations: 12 kB / 1.459 GB, free: 5.352 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.068, allocations: 0 / 1.459 GB, free: 5.352 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/1.068, allocations: 123 kB / 1.459 GB, free: 5.234 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/1.071, allocations: 1 MB / 1.46 GB, free: 4.176 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008255/1.072, allocations: 152.9 kB / 1.46 GB, free: 4.02 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/1.072, allocations: 84.81 kB / 1.46 GB, free: 3.934 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/1.072, allocations: 3.984 kB / 1.46 GB, free: 3.93 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/1.072, allocations: 191 kB / 1.461 GB, free: 3.727 MB / 1.139 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/1.072, allocations: 0 / 1.461 GB, free: 3.727 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.004376/1.077, allocations: 0.8596 MB / 1.461 GB, free: 2.832 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/1.077, allocations: 85.09 kB / 1.462 GB, free: 2.73 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/1.077, allocations: 348.4 kB / 1.462 GB, free: 2.379 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/1.077, allocations: 33.69 kB / 1.462 GB, free: 2.34 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.077, allocations: 148.7 kB / 1.462 GB, free: 2.191 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/1.077, allocations: 63.47 kB / 1.462 GB, free: 2.129 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/1.078, allocations: 81.94 kB / 1.462 GB, free: 2.039 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.078, allocations: 346.8 kB / 1.462 GB, free: 1.691 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/1.078, allocations: 136.5 kB / 1.463 GB, free: 1.559 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/1.079, allocations: 221.3 kB / 1.463 GB, free: 1.328 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/1.079, allocations: 344.9 kB / 1.463 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/1.079, allocations: 0 / 1.463 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003884/1.083, allocations: 0.8535 MB / 1.464 GB, free: 96 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/1.083, allocations: 33.7 kB / 1.464 GB, free: 56 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.083, allocations: 8 kB / 1.464 GB, free: 48 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009614/1.084, allocations: 193.7 kB / 1.464 GB, free: 15.85 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/1.084, allocations: 43.86 kB / 1.464 GB, free: 15.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/1.088, allocations: 2.339 MB / 1.467 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/1.088, allocations: 51.77 kB / 1.467 GB, free: 13.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/1.088, allocations: 19.98 kB / 1.467 GB, free: 13.23 MB / 1.154 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.0002599/1.089, allocations: 191.4 kB / 1.467 GB, free: 13.03 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/1.089, allocations: 27.81 kB / 1.467 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/1.089, allocations: 31.17 kB / 1.467 GB, free: 12.97 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.089, allocations: 4 kB / 1.467 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/1.089, allocations: 7.938 kB / 1.467 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/1.089, allocations: 3.984 kB / 1.467 GB, free: 12.95 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/1.092, allocations: 1.026 MB / 1.468 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.092, allocations: 4 kB / 1.468 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/1.092, allocations: 19.86 kB / 1.468 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/1.093, allocations: 108.9 kB / 1.468 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/1.093, allocations: 15.92 kB / 1.468 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/1.094, allocations: 0.7382 MB / 1.469 GB, free: 10.95 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.094, allocations: 0 / 1.469 GB, free: 10.95 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/1.097, allocations: 0.881 MB / 1.47 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/1.097, allocations: 140.8 kB / 1.47 GB, free: 9.891 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/1.097, allocations: 8 kB / 1.47 GB, free: 9.883 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/1.098, allocations: 7.984 kB / 1.47 GB, free: 9.875 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/1.098, allocations: 19.97 kB / 1.47 GB, free: 9.855 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/1.098, allocations: 4 kB / 1.47 GB, free: 9.852 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003158/1.098, allocations: 243 kB / 1.47 GB, free: 9.617 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/1.098, allocations: 0 / 1.47 GB, free: 9.617 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004991/1.098, allocations: 115.9 kB / 1.47 GB, free: 9.504 MB / 1.154 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.001739/1.1, allocations: 1.212 MB / 1.471 GB, free: 8.254 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00164/1.102, allocations: 0.5297 MB / 1.472 GB, free: 7.699 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.102, allocations: 4.062 kB / 1.472 GB, free: 7.695 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008059/1.103, allocations: 232 kB / 1.472 GB, free: 7.453 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/1.103, allocations: 54.45 kB / 1.472 GB, free: 7.398 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.115, allocations: 4.348 MB / 1.476 GB, free: 2.938 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/1.115, allocations: 0.7638 MB / 1.477 GB, free: 2.148 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001904/1.116, allocations: 30.28 kB / 1.477 GB, free: 2.121 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/1.116, allocations: 83.41 kB / 1.477 GB, free: 2.039 MB / 1.154 GB Notification: Performance of SimCode: time 1.433e-06/1.116, allocations: 0 / 1.477 GB, free: 2.039 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04104/1.157, allocations: 10.38 MB / 1.487 GB, free: 7.914 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.25, allocations: 13.97 kB / 1.487 GB, free: 7.902 MB / 1.17 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: 20.45322081260383] Failed to read output from testmodel.py, exit status != 0: 14.349321849178523 14.377299301 13.308767665 Calling exit ...