Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.593/2.593, allocations: 287.3 MB / 302.3 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 175.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 96.22 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005099, allocations: 12.41 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2434, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.975/1.218, allocations: 145.5 MB / 1.12 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.219, allocations: 96.64 kB / 1.121 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06235/1.281, allocations: 14.29 MB / 1.134 GB, free: 28.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/1.281, allocations: 0 / 1.134 GB, free: 28.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.208e-05/1.281, allocations: 15.28 kB / 1.134 GB, free: 28.69 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002205/1.284, allocations: 0.9221 MB / 1.135 GB, free: 27.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.284, allocations: 11.64 kB / 1.135 GB, free: 27.95 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/1.284, allocations: 95.44 kB / 1.135 GB, free: 27.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/1.284, allocations: 85.41 kB / 1.136 GB, free: 27.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/1.285, allocations: 430.4 kB / 1.136 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/1.285, allocations: 51.89 kB / 1.136 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/1.285, allocations: 56.16 kB / 1.136 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/1.287, allocations: 0.6003 MB / 1.137 GB, free: 27.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/1.287, allocations: 11.61 kB / 1.137 GB, free: 27.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/1.287, allocations: 23.92 kB / 1.137 GB, free: 27.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/1.287, allocations: 15.44 kB / 1.137 GB, free: 27.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/1.288, allocations: 379.1 kB / 1.137 GB, free: 27.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/1.292, allocations: 2.563 MB / 1.14 GB, free: 25.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/1.293, allocations: 299.1 kB / 1.14 GB, free: 25.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/1.293, allocations: 7.734 kB / 1.14 GB, free: 25.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000527/1.294, allocations: 209.5 kB / 1.14 GB, free: 25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.577e-06/1.294, allocations: 0 / 1.14 GB, free: 25 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001317/1.295, allocations: 462.1 kB / 1.141 GB, free: 24.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/1.295, allocations: 80.92 kB / 1.141 GB, free: 24.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/1.296, allocations: 0.5811 MB / 1.141 GB, free: 24.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/1.296, allocations: 46.27 kB / 1.141 GB, free: 24.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/1.297, allocations: 358.8 kB / 1.142 GB, free: 24.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/1.297, allocations: 98.47 kB / 1.142 GB, free: 24.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/1.297, allocations: 13.12 kB / 1.142 GB, free: 24.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002092/1.297, allocations: 378 kB / 1.142 GB, free: 23.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/1.298, allocations: 136.2 kB / 1.142 GB, free: 23.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/1.298, allocations: 329.4 kB / 1.142 GB, free: 23.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/1.299, allocations: 147.3 kB / 1.143 GB, free: 23.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.299, allocations: 3.75 kB / 1.143 GB, free: 23.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001244/1.3, allocations: 0.5178 MB / 1.143 GB, free: 23.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/1.3, allocations: 11.75 kB / 1.143 GB, free: 23.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.3, allocations: 3.656 kB / 1.143 GB, free: 23.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/1.3, allocations: 11.56 kB / 1.143 GB, free: 23.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/1.3, allocations: 73.48 kB / 1.143 GB, free: 23.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/1.3, allocations: 15.47 kB / 1.143 GB, free: 23.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/1.301, allocations: 34.25 kB / 1.143 GB, free: 23.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/1.301, allocations: 33.52 kB / 1.143 GB, free: 23.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005809/1.302, allocations: 272.5 kB / 1.144 GB, free: 23.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/1.302, allocations: 62.14 kB / 1.144 GB, free: 23.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/1.303, allocations: 411.8 kB / 1.144 GB, free: 23.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.303, allocations: 3.844 kB / 1.144 GB, free: 23.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.303, allocations: 7.781 kB / 1.144 GB, free: 23.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/1.303, allocations: 3.984 kB / 1.144 GB, free: 23.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/1.305, allocations: 1.066 MB / 1.145 GB, free: 22.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.305, allocations: 4 kB / 1.145 GB, free: 22.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/1.306, allocations: 26.3 kB / 1.145 GB, free: 22.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/1.306, allocations: 0 / 1.145 GB, free: 22.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/1.306, allocations: 10.47 kB / 1.145 GB, free: 22.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/1.306, allocations: 7.797 kB / 1.145 GB, free: 22.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.306, allocations: 0 / 1.145 GB, free: 22.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/1.307, allocations: 490.3 kB / 1.146 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/1.307, allocations: 135 kB / 1.146 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/1.307, allocations: 10.84 kB / 1.146 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/1.307, allocations: 15.48 kB / 1.146 GB, free: 22.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/1.308, allocations: 49.39 kB / 1.146 GB, free: 22.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/1.308, allocations: 22.83 kB / 1.146 GB, free: 22.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007951/1.308, allocations: 428.4 kB / 1.146 GB, free: 22.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.308, allocations: 0 / 1.146 GB, free: 22.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001113/1.31, allocations: 131.7 kB / 1.146 GB, free: 22.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002802/1.312, allocations: 1.399 MB / 1.148 GB, free: 21.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001172/1.314, allocations: 385.4 kB / 1.148 GB, free: 21.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.314, allocations: 3.844 kB / 1.148 GB, free: 21.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004439/1.314, allocations: 178.2 kB / 1.148 GB, free: 21.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/1.315, allocations: 76.42 kB / 1.148 GB, free: 21.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008747/1.324, allocations: 7.248 MB / 1.155 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/1.324, allocations: 0.9474 MB / 1.156 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004704/1.325, allocations: 80.42 kB / 1.156 GB, free: 14.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/1.325, allocations: 250.2 kB / 1.157 GB, free: 14.65 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.325, allocations: 0 / 1.157 GB, free: 14.65 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05101/1.376, allocations: 12.01 MB / 1.168 GB, free: 5.406 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002862/1.377, allocations: 226.9 kB / 1.169 GB, free: 5.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/4.386, allocations: 0 / 1.169 GB, free: 5.16 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)