Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009392/0.0009392, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8944/0.8944, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.748/1.748, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.651e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003227/0.003254, allocations: 2.808 MB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5879/0.5912, allocations: 135 MB / 1.134 GB, free: 14.46 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.5914, allocations: 11 kB / 1.134 GB, free: 14.45 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.5917, allocations: 88.97 kB / 1.134 GB, free: 14.4 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0007142/0.5924, allocations: 298 kB / 1.135 GB, free: 14.21 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.5944, allocations: 1.03 MB / 1.136 GB, free: 13.7 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00073/0.5951, allocations: 0.807 MB / 1.136 GB, free: 13.32 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.5952, allocations: 56.2 kB / 1.136 GB, free: 13.29 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.5957, allocations: 450.2 kB / 1.137 GB, free: 13.11 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.596, allocations: 273.9 kB / 1.137 GB, free: 13.02 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.919e-05/0.5961, allocations: 63.81 kB / 1.137 GB, free: 13.02 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.5973, allocations: 0.74 MB / 1.138 GB, free: 12.79 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.5974, allocations: 153.4 kB / 1.138 GB, free: 12.69 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.5976, allocations: 220.2 kB / 1.138 GB, free: 12.59 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.5988, allocations: 1.081 MB / 1.139 GB, free: 12.2 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.5988, allocations: 0 / 1.139 GB, free: 12.2 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5988, allocations: 0 / 1.139 GB, free: 12.2 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.5988, allocations: 0 / 1.139 GB, free: 12.2 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001718/0.6005, allocations: 1.046 MB / 1.14 GB, free: 11.54 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.6005, allocations: 14.34 kB / 1.14 GB, free: 11.54 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.6006, allocations: 61 kB / 1.14 GB, free: 11.48 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.6021, allocations: 323.1 kB / 1.141 GB, free: 11.44 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.6027, allocations: 356 kB / 1.141 GB, free: 11.18 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/0.6028, allocations: 91.14 kB / 1.141 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.6029, allocations: 43.69 kB / 1.141 GB, free: 11.09 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/0.6035, allocations: 371.4 kB / 1.142 GB, free: 10.93 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.6035, allocations: 1.312 kB / 1.142 GB, free: 10.93 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.6035, allocations: 8.172 kB / 1.142 GB, free: 10.93 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.6035, allocations: 5.75 kB / 1.142 GB, free: 10.93 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.604, allocations: 259.8 kB / 1.142 GB, free: 10.85 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.6065, allocations: 1.507 MB / 1.143 GB, free: 9.945 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.607, allocations: 230.5 kB / 1.144 GB, free: 9.863 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.6073, allocations: 146.3 kB / 1.144 GB, free: 9.812 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.6073, allocations: 3.406 kB / 1.144 GB, free: 9.812 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.6078, allocations: 314.2 kB / 1.144 GB, free: 9.684 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/0.6078, allocations: 0 / 1.144 GB, free: 9.684 MB / 1.01 GB Notification: Performance of matching and sorting (n=30): time 0.004317/0.6121, allocations: 1.379 MB / 1.145 GB, free: 9.371 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.6121, allocations: 81.97 kB / 1.145 GB, free: 9.277 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.6128, allocations: 457 kB / 1.146 GB, free: 9.059 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.6129, allocations: 39.88 kB / 1.146 GB, free: 9.02 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.613, allocations: 207.4 kB / 1.146 GB, free: 8.844 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.6131, allocations: 99.73 kB / 1.146 GB, free: 8.766 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.6133, allocations: 154.8 kB / 1.146 GB, free: 8.703 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6134, allocations: 356.5 kB / 1.147 GB, free: 8.371 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/0.6139, allocations: 329.5 kB / 1.147 GB, free: 8.215 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.6146, allocations: 0.6731 MB / 1.148 GB, free: 7.699 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/0.6187, allocations: 1.864 MB / 1.149 GB, free: 7.035 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6187, allocations: 1.094 kB / 1.149 GB, free: 7.035 MB / 1.01 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004002/0.6227, allocations: 1.643 MB / 1.151 GB, free: 6.477 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.6228, allocations: 64.41 kB / 1.151 GB, free: 6.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6228, allocations: 2.594 kB / 1.151 GB, free: 6.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009257/0.6237, allocations: 392.4 kB / 1.151 GB, free: 6.297 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.624, allocations: 90.73 kB / 1.152 GB, free: 6.289 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/0.6275, allocations: 4.47 MB / 1.156 GB, free: 2.227 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.6281, allocations: 101.2 kB / 1.156 GB, free: 2.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.6282, allocations: 40.39 kB / 1.156 GB, free: 2.172 MB / 1.01 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean evaSho.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: 8 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {7, 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002462/0.6284, allocations: 181.1 kB / 1.156 GB, free: 2.016 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.6285, allocations: 47.11 kB / 1.156 GB, free: 1.988 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.6285, allocations: 41.66 kB / 1.156 GB, free: 1.957 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6285, allocations: 3.906 kB / 1.156 GB, free: 1.957 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6285, allocations: 0 / 1.156 GB, free: 1.957 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.6285, allocations: 7.109 kB / 1.156 GB, free: 1.953 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.6289, allocations: 377 kB / 1.157 GB, free: 1.699 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6289, allocations: 1.344 kB / 1.157 GB, free: 1.699 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.629, allocations: 35.48 kB / 1.157 GB, free: 1.688 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003735/0.6294, allocations: 227.8 kB / 1.157 GB, free: 1.609 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.6294, allocations: 16.06 kB / 1.157 GB, free: 1.602 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.6307, allocations: 1.489 MB / 1.158 GB, free: 316 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6307, allocations: 1.094 kB / 1.158 GB, free: 316 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003324/0.634, allocations: 1.308 MB / 1.16 GB, free: 15.91 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.6342, allocations: 88.08 kB / 1.16 GB, free: 15.86 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.6342, allocations: 8.75 kB / 1.16 GB, free: 15.86 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.6345, allocations: 37.84 kB / 1.16 GB, free: 15.86 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.6346, allocations: 42.5 kB / 1.16 GB, free: 15.84 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.6346, allocations: 14.12 kB / 1.16 GB, free: 15.84 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002757/0.6349, allocations: 305.4 kB / 1.16 GB, free: 15.7 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6349, allocations: 0 / 1.16 GB, free: 15.7 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0005376/0.6354, allocations: 160.6 kB / 1.16 GB, free: 15.67 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002076/0.6375, allocations: 1.457 MB / 1.162 GB, free: 14.78 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001907/0.6394, allocations: 1.06 MB / 1.163 GB, free: 14.15 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6394, allocations: 5.25 kB / 1.163 GB, free: 14.15 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.6401, allocations: 309.6 kB / 1.163 GB, free: 14.06 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.6406, allocations: 107.4 kB / 1.163 GB, free: 14.02 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.6533, allocations: 6.792 MB / 1.17 GB, free: 10.7 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.6535, allocations: 205.2 kB / 1.17 GB, free: 10.61 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0003878/0.6539, allocations: 56.48 kB / 1.17 GB, free: 10.59 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.6541, allocations: 144.7 kB / 1.17 GB, free: 10.49 MB / 1.026 GB Notification: Performance of SimCode: time 1.142e-06/0.6541, allocations: 0 / 1.17 GB, free: 10.49 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.6937, allocations: 18.48 MB / 1.188 GB, free: 3.918 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.743, allocations: 0 / 1.188 GB, free: 3.918 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 13.88046901859343] Failed to read output from testmodel.py, exit status != 0: 8.841991753317416 8.850450618 8.249960282 Calling exit ...