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.001303/0.001303, allocations: 105.6 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.00193/0.00193, 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.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] 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.772/2.772, allocations: 476.7 MB / 0.7611 GB, free: 15.68 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.002078/0.002078, allocations: 67.89 kB / 1.104 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8712/0.8733, allocations: 168.7 MB / 1.269 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003569/0.8768, allocations: 2.399 MB / 1.271 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1956/1.072, allocations: 151.4 MB / 1.419 GB, free: 5.816 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/1.073, allocations: 10.19 kB / 1.419 GB, free: 5.809 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004313/1.073, allocations: 91.67 kB / 1.419 GB, free: 5.746 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0008401/1.074, allocations: 240.7 kB / 1.419 GB, free: 5.57 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/1.076, allocations: 0.664 MB / 1.42 GB, free: 5.113 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005593/1.076, allocations: 432.7 kB / 1.42 GB, free: 4.871 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/1.076, allocations: 33.58 kB / 1.42 GB, free: 4.855 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/1.077, allocations: 191.1 kB / 1.421 GB, free: 4.75 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/1.077, allocations: 205.9 kB / 1.421 GB, free: 4.625 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/1.077, allocations: 30.09 kB / 1.421 GB, free: 4.625 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/1.078, allocations: 0.6442 MB / 1.421 GB, free: 4.297 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/1.078, allocations: 79.36 kB / 1.422 GB, free: 4.234 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/1.079, allocations: 168.1 kB / 1.422 GB, free: 4.117 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/1.08, allocations: 0.6596 MB / 1.422 GB, free: 3.691 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.08, allocations: 1.438 kB / 1.422 GB, free: 3.691 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.443e-06/1.08, allocations: 0 / 1.422 GB, free: 3.691 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.08, allocations: 4 kB / 1.422 GB, free: 3.688 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.001787/1.082, allocations: 0.7573 MB / 1.423 GB, free: 3.035 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.082, allocations: 9.656 kB / 1.423 GB, free: 3.035 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.776e-05/1.082, allocations: 47.23 kB / 1.423 GB, free: 2.984 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/1.083, allocations: 156.2 kB / 1.423 GB, free: 2.922 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/1.084, allocations: 320.9 kB / 1.424 GB, free: 2.613 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/1.084, allocations: 45.14 kB / 1.424 GB, free: 2.574 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/1.084, allocations: 21.61 kB / 1.424 GB, free: 2.566 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/1.085, allocations: 211.6 kB / 1.424 GB, free: 2.422 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.085, allocations: 0 / 1.424 GB, free: 2.422 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/1.085, allocations: 6.344 kB / 1.424 GB, free: 2.418 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.085, allocations: 6.281 kB / 1.424 GB, free: 2.414 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/1.085, allocations: 119.8 kB / 1.424 GB, free: 2.359 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/1.088, allocations: 0.9941 MB / 1.425 GB, free: 1.531 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007948/1.089, allocations: 155.3 kB / 1.425 GB, free: 1.441 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/1.089, allocations: 88.72 kB / 1.425 GB, free: 1.395 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/1.089, allocations: 2.344 kB / 1.425 GB, free: 1.395 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004/1.089, allocations: 191.7 kB / 1.425 GB, free: 1.246 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.774e-06/1.089, allocations: 0 / 1.425 GB, free: 1.246 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.004415/1.094, allocations: 0.8586 MB / 1.426 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/1.094, allocations: 84.73 kB / 1.426 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/1.094, allocations: 341.5 kB / 1.427 GB, free: 440 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/1.094, allocations: 36.42 kB / 1.427 GB, free: 400 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/1.094, allocations: 153.2 kB / 1.427 GB, free: 256 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/1.094, allocations: 59.92 kB / 1.427 GB, free: 204 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/1.095, allocations: 92.05 kB / 1.427 GB, free: 136 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.095, allocations: 343 kB / 1.427 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/1.095, allocations: 140.6 kB / 1.427 GB, free: 15.73 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/1.096, allocations: 221.2 kB / 1.428 GB, free: 15.59 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/1.096, allocations: 337.3 kB / 1.428 GB, free: 15.37 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.096, allocations: 5.062 kB / 1.428 GB, free: 15.37 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003994/1.1, allocations: 0.8642 MB / 1.429 GB, free: 14.91 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/1.1, allocations: 36.95 kB / 1.429 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.1, allocations: 1.156 kB / 1.429 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009812/1.101, allocations: 197 kB / 1.429 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/1.102, allocations: 40.86 kB / 1.429 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/1.105, allocations: 2.332 MB / 1.431 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/1.105, allocations: 59.34 kB / 1.431 GB, free: 12.47 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/1.105, allocations: 21.06 kB / 1.431 GB, free: 12.46 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.0002675/1.106, allocations: 184.4 kB / 1.432 GB, free: 12.29 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/1.106, allocations: 35.06 kB / 1.432 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/1.106, allocations: 27.23 kB / 1.432 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.106, allocations: 1.062 kB / 1.432 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.106, allocations: 5.094 kB / 1.432 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/1.106, allocations: 4 kB / 1.432 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/1.109, allocations: 1.028 MB / 1.433 GB, free: 11.53 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.109, allocations: 1.031 kB / 1.433 GB, free: 11.53 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/1.109, allocations: 13.22 kB / 1.433 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003397/1.11, allocations: 116.5 kB / 1.433 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/1.11, allocations: 10.69 kB / 1.433 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/1.111, allocations: 0.7477 MB / 1.433 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.111, allocations: 1.594 kB / 1.433 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/1.114, allocations: 0.8758 MB / 1.434 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/1.114, allocations: 138.6 kB / 1.434 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.4e-05/1.115, allocations: 10.73 kB / 1.434 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/1.115, allocations: 12.25 kB / 1.435 GB, free: 10.11 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/1.115, allocations: 8.109 kB / 1.435 GB, free: 10.11 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/1.115, allocations: 14.86 kB / 1.435 GB, free: 10.1 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003221/1.115, allocations: 236.8 kB / 1.435 GB, free: 9.953 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.115, allocations: 1.375 kB / 1.435 GB, free: 9.953 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005672/1.116, allocations: 123.3 kB / 1.435 GB, free: 9.926 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.001767/1.118, allocations: 1.224 MB / 1.436 GB, free: 8.98 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001665/1.119, allocations: 0.5237 MB / 1.437 GB, free: 8.633 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.119, allocations: 4.188 kB / 1.437 GB, free: 8.629 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007987/1.12, allocations: 225.7 kB / 1.437 GB, free: 8.457 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/1.121, allocations: 66.75 kB / 1.437 GB, free: 8.387 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/1.133, allocations: 4.338 MB / 1.441 GB, free: 3.934 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/1.134, allocations: 0.7599 MB / 1.442 GB, free: 3.148 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001826/1.134, allocations: 26.3 kB / 1.442 GB, free: 3.125 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/1.134, allocations: 87.39 kB / 1.442 GB, free: 3.039 MB / 1.123 GB Notification: Performance of SimCode: time 8.02e-07/1.134, allocations: 0 / 1.442 GB, free: 3.039 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04116/1.175, allocations: 10.38 MB / 1.452 GB, free: 8.922 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.79, allocations: 14.3 kB / 1.452 GB, free: 8.914 MB / 1.139 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --stepSize=0.96 --timeout=400 --tolerance=1e-06 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: 19.752881817985326] Failed to read output from testmodel.py, exit status != 0: 13.88659437512979 13.901392879 12.818488233 Calling exit ...