Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008322/0.0008322, 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.0008967/0.0008967, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8928/0.8928, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.691/1.691, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.855e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003051/0.00307, allocations: 2.829 MB / 0.9838 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.57/0.5731, allocations: 135 MB / 1.116 GB, free: 19.96 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.5733, allocations: 6.625 kB / 1.116 GB, free: 19.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.5736, allocations: 93.23 kB / 1.116 GB, free: 19.9 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006469/0.5742, allocations: 294.4 kB / 1.116 GB, free: 19.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.5759, allocations: 1.028 MB / 1.117 GB, free: 19.2 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.5765, allocations: 0.8075 MB / 1.118 GB, free: 18.82 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.5767, allocations: 66.34 kB / 1.118 GB, free: 18.78 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004193/0.5771, allocations: 450.4 kB / 1.118 GB, free: 18.6 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.5775, allocations: 266.9 kB / 1.118 GB, free: 18.52 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.913e-05/0.5776, allocations: 59.69 kB / 1.119 GB, free: 18.52 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.5786, allocations: 0.7421 MB / 1.119 GB, free: 18.29 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.5788, allocations: 154.4 kB / 1.119 GB, free: 18.19 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.579, allocations: 224.5 kB / 1.12 GB, free: 18.09 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.5802, allocations: 1.077 MB / 1.121 GB, free: 17.7 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5802, allocations: 0 / 1.121 GB, free: 17.7 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5802, allocations: 0 / 1.121 GB, free: 17.7 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.5803, allocations: 0 / 1.121 GB, free: 17.7 MB / 0.9948 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.001641/0.5819, allocations: 1.042 MB / 1.122 GB, free: 17.05 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.5819, allocations: 13.72 kB / 1.122 GB, free: 17.04 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.582, allocations: 59.41 kB / 1.122 GB, free: 16.99 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.5836, allocations: 323.4 kB / 1.122 GB, free: 16.95 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.5841, allocations: 353.5 kB / 1.122 GB, free: 16.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.5842, allocations: 94.16 kB / 1.122 GB, free: 16.62 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.782e-05/0.5842, allocations: 39.83 kB / 1.123 GB, free: 16.61 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.5848, allocations: 368.1 kB / 1.123 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.5848, allocations: 0 / 1.123 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.5848, allocations: 11.52 kB / 1.123 GB, free: 16.44 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.5848, allocations: 6.062 kB / 1.123 GB, free: 16.44 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.5853, allocations: 254 kB / 1.123 GB, free: 16.37 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.5876, allocations: 1.509 MB / 1.125 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.5881, allocations: 237 kB / 1.125 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.5884, allocations: 147.4 kB / 1.125 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.5884, allocations: 4.031 kB / 1.125 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.5888, allocations: 307.2 kB / 1.125 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/0.5888, allocations: 5.344 kB / 1.125 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.004248/0.5931, allocations: 1.365 MB / 1.127 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5931, allocations: 87.08 kB / 1.127 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.5935, allocations: 460.3 kB / 1.127 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.5936, allocations: 40.16 kB / 1.127 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.5937, allocations: 207.4 kB / 1.127 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.5937, allocations: 95 kB / 1.127 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.5939, allocations: 154.6 kB / 1.128 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.594, allocations: 356 kB / 1.128 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008597/0.5948, allocations: 330.8 kB / 1.128 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.5956, allocations: 0.6731 MB / 1.129 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/0.6002, allocations: 1.877 MB / 1.131 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.6002, allocations: 0 / 1.131 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004378/0.6046, allocations: 1.645 MB / 1.132 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.468e-05/0.6046, allocations: 68.86 kB / 1.132 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.6046, allocations: 2.969 kB / 1.132 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.6057, allocations: 396.2 kB / 1.133 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.606, allocations: 90.52 kB / 1.133 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/0.6091, allocations: 4.45 MB / 1.137 GB, free: 7.738 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006751/0.6098, allocations: 104.4 kB / 1.137 GB, free: 7.691 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.6099, allocations: 44.55 kB / 1.137 GB, free: 7.68 MB / 0.9948 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.0002616/0.6102, allocations: 172.7 kB / 1.138 GB, free: 7.527 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.6102, allocations: 52.38 kB / 1.138 GB, free: 7.496 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.6103, allocations: 45.08 kB / 1.138 GB, free: 7.465 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.6103, allocations: 6.875 kB / 1.138 GB, free: 7.465 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6103, allocations: 1.094 kB / 1.138 GB, free: 7.465 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6103, allocations: 1.172 kB / 1.138 GB, free: 7.465 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.6107, allocations: 382.2 kB / 1.138 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6107, allocations: 0 / 1.138 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.6108, allocations: 28.41 kB / 1.138 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003985/0.6112, allocations: 228.3 kB / 1.138 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.6112, allocations: 15.92 kB / 1.138 GB, free: 7.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009151/0.6121, allocations: 1.494 MB / 1.14 GB, free: 5.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6121, allocations: 0 / 1.14 GB, free: 5.82 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/0.6156, allocations: 1.307 MB / 1.141 GB, free: 5.43 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.6158, allocations: 82.62 kB / 1.141 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.6159, allocations: 14.91 kB / 1.141 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.6161, allocations: 39.45 kB / 1.141 GB, free: 5.371 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6162, allocations: 37.84 kB / 1.141 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.6162, allocations: 12.97 kB / 1.141 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002966/0.6165, allocations: 306.7 kB / 1.141 GB, free: 5.215 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.6165, allocations: 0 / 1.141 GB, free: 5.215 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006865/0.6172, allocations: 164.4 kB / 1.142 GB, free: 5.188 MB / 0.9948 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.002119/0.6193, allocations: 1.451 MB / 1.143 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001982/0.6213, allocations: 1.062 MB / 1.144 GB, free: 3.672 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6213, allocations: 1.219 kB / 1.144 GB, free: 3.672 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007674/0.6221, allocations: 317 kB / 1.144 GB, free: 3.574 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.6226, allocations: 113.2 kB / 1.144 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.6346, allocations: 6.785 MB / 1.151 GB, free: 228 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.6348, allocations: 206.1 kB / 1.151 GB, free: 140 kB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002935/0.6351, allocations: 56.67 kB / 1.151 GB, free: 116 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.6352, allocations: 139.5 kB / 1.152 GB, free: 16 kB / 0.9948 GB Notification: Performance of SimCode: time 1.442e-06/0.6352, allocations: 1.156 kB / 1.152 GB, free: 16 kB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.6745, allocations: 18.5 MB / 1.17 GB, free: 11.59 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.661, allocations: 3.078 kB / 1.17 GB, free: 11.59 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 13.732733653858304] Failed to read output from testmodel.py, exit status != 0: 8.761974157765508 8.77320626 8.191280837 Calling exit ...