Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001472/0.001472, allocations: 172.9 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008894/0.0008894, allocations: 89.95 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.737e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7099/0.7099, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/0.9203, allocations: 146 MB / 1.116 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.9207, allocations: 92.56 kB / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03641/0.9571, allocations: 14.04 MB / 1.13 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9572, allocations: 0 / 1.13 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.099e-05/0.9572, allocations: 12 kB / 1.13 GB, free: 6.051 MB / 0.7292 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.001181/0.9584, allocations: 0.8268 MB / 1.131 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.9585, allocations: 8.031 kB / 1.131 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.9586, allocations: 93.17 kB / 1.131 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.9594, allocations: 448.1 kB / 1.131 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.9594, allocations: 23.94 kB / 1.131 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.9595, allocations: 36 kB / 1.131 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005528/0.9601, allocations: 314.5 kB / 1.131 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.9609, allocations: 0.5263 MB / 1.132 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.9609, allocations: 4 kB / 1.132 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.9609, allocations: 3.953 kB / 1.132 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.961, allocations: 16 kB / 1.132 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/0.9636, allocations: 2.465 MB / 1.134 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.9641, allocations: 259 kB / 1.135 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.9643, allocations: 127.8 kB / 1.135 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.9643, allocations: 4 kB / 1.135 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/0.9647, allocations: 193.4 kB / 1.135 GB, free: 464 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 2.655e-06/0.9647, allocations: 4 kB / 1.135 GB, free: 460 kB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0005811/0.9653, allocations: 322.3 kB / 1.135 GB, free: 132 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.9654, allocations: 89.08 kB / 1.135 GB, free: 24 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006291/0.966, allocations: 0.5294 MB / 1.136 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.9661, allocations: 37.69 kB / 1.136 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.9663, allocations: 352.3 kB / 1.136 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/0.9664, allocations: 94.84 kB / 1.136 GB, free: 15 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.9665, allocations: 0 / 1.136 GB, free: 15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9666, allocations: 378.8 kB / 1.137 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.9668, allocations: 113.5 kB / 1.137 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.9672, allocations: 312.3 kB / 1.137 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.9674, allocations: 128.7 kB / 1.137 GB, free: 14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9674, allocations: 0 / 1.137 GB, free: 14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006877/0.9681, allocations: 450.8 kB / 1.138 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.9682, allocations: 11.94 kB / 1.138 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.9682, allocations: 8.766 kB / 1.138 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.9682, allocations: 12 kB / 1.138 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.9685, allocations: 79.73 kB / 1.138 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/0.9685, allocations: 8 kB / 1.138 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.9688, allocations: 35.67 kB / 1.138 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.9689, allocations: 28.84 kB / 1.138 GB, free: 13.37 MB / 0.7448 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 () * 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.0001984/0.9691, allocations: 158 kB / 1.138 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004399/0.9695, allocations: 304.8 kB / 1.138 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.9696, allocations: 63.25 kB / 1.138 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006912/0.9703, allocations: 387.5 kB / 1.139 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.9703, allocations: 4 kB / 1.139 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9703, allocations: 0 / 1.139 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.9703, allocations: 3.984 kB / 1.139 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.9717, allocations: 0.9623 MB / 1.14 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9717, allocations: 0 / 1.14 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.9718, allocations: 25.48 kB / 1.14 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.9719, allocations: 0 / 1.14 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.9719, allocations: 11.98 kB / 1.14 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.9719, allocations: 0 / 1.14 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9719, allocations: 0 / 1.14 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.9724, allocations: 450.6 kB / 1.14 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.9726, allocations: 144.3 kB / 1.14 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.9726, allocations: 8 kB / 1.14 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.9728, allocations: 7.984 kB / 1.14 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.9729, allocations: 51.67 kB / 1.14 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.973, allocations: 12 kB / 1.14 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004118/0.9734, allocations: 382.9 kB / 1.141 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9734, allocations: 0 / 1.141 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000471/0.9739, allocations: 99.94 kB / 1.141 GB, free: 10.24 MB / 0.7448 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) * 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.001646/0.9755, allocations: 1.305 MB / 1.142 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.9761, allocations: 342.2 kB / 1.142 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9761, allocations: 0.5 kB / 1.142 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.9763, allocations: 163.9 kB / 1.142 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.9767, allocations: 72.84 kB / 1.143 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.9784, allocations: 0.9029 MB / 1.143 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.9789, allocations: 0.9474 MB / 1.144 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000238/0.9791, allocations: 85.45 kB / 1.144 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.9794, allocations: 249.7 kB / 1.145 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/0.9794, allocations: 0 / 1.145 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/1.013, allocations: 11.21 MB / 1.156 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/1.013, allocations: 174.5 kB / 1.156 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.262, allocations: 6.953 kB / 1.156 GB, free: 11 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)