Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.729/1.729, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.00124/0.00124, allocations: 178.7 kB / 371.8 MB, free: 10.3 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.892/1.892, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001017/0.001017, allocations: 97.05 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004763, allocations: 16.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.297, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8688/1.166, allocations: 145.7 MB / 1.122 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.166, allocations: 93.73 kB / 1.122 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03316/1.199, allocations: 14.28 MB / 1.136 GB, free: 28.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.295e-06/1.199, allocations: 0 / 1.136 GB, free: 28.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.132e-05/1.199, allocations: 15.25 kB / 1.136 GB, free: 28.5 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.001858/1.201, allocations: 0.9193 MB / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.201, allocations: 11.67 kB / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001849/1.202, allocations: 100 kB / 1.137 GB, free: 27.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/1.202, allocations: 84.62 kB / 1.137 GB, free: 27.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000811/1.203, allocations: 434.7 kB / 1.137 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/1.203, allocations: 46.62 kB / 1.137 GB, free: 27.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/1.203, allocations: 60.77 kB / 1.137 GB, free: 27.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008794/1.204, allocations: 0.6019 MB / 1.138 GB, free: 27.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/1.204, allocations: 3.938 kB / 1.138 GB, free: 27.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/1.204, allocations: 21.5 kB / 1.138 GB, free: 27.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/1.204, allocations: 19.55 kB / 1.138 GB, free: 27.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/1.204, allocations: 382.2 kB / 1.138 GB, free: 26.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/1.207, allocations: 2.558 MB / 1.141 GB, free: 24.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/1.208, allocations: 288.8 kB / 1.141 GB, free: 24.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/1.208, allocations: 3.781 kB / 1.141 GB, free: 24.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/1.208, allocations: 218.6 kB / 1.141 GB, free: 24.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.365e-06/1.208, allocations: 3.938 kB / 1.141 GB, free: 24.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0008528/1.209, allocations: 457.9 kB / 1.142 GB, free: 24.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/1.209, allocations: 84.08 kB / 1.142 GB, free: 24.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008155/1.21, allocations: 0.5798 MB / 1.143 GB, free: 24.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/1.21, allocations: 48 kB / 1.143 GB, free: 24.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/1.21, allocations: 361.1 kB / 1.143 GB, free: 24.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/1.21, allocations: 100.8 kB / 1.143 GB, free: 24.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/1.21, allocations: 13.31 kB / 1.143 GB, free: 24.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.211, allocations: 377.8 kB / 1.143 GB, free: 23.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/1.211, allocations: 129.9 kB / 1.143 GB, free: 23.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/1.211, allocations: 331.7 kB / 1.144 GB, free: 23.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/1.211, allocations: 151.3 kB / 1.144 GB, free: 23.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/1.211, allocations: 0 / 1.144 GB, free: 23.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008126/1.212, allocations: 0.5171 MB / 1.144 GB, free: 23.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.212, allocations: 15.52 kB / 1.144 GB, free: 23.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.212, allocations: 7.797 kB / 1.144 GB, free: 23.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/1.212, allocations: 11.31 kB / 1.144 GB, free: 23.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/1.213, allocations: 69.31 kB / 1.145 GB, free: 23.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/1.213, allocations: 11.62 kB / 1.145 GB, free: 23.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/1.213, allocations: 40.95 kB / 1.145 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/1.213, allocations: 33.44 kB / 1.145 GB, free: 23.27 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.0003386/1.213, allocations: 279.3 kB / 1.145 GB, free: 23.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/1.213, allocations: 58.34 kB / 1.145 GB, free: 23.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006494/1.214, allocations: 418 kB / 1.145 GB, free: 22.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.214, allocations: 7.797 kB / 1.145 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.214, allocations: 0 / 1.145 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.214, allocations: 0 / 1.145 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/1.216, allocations: 1.069 MB / 1.146 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.216, allocations: 0 / 1.146 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-05/1.216, allocations: 27.05 kB / 1.146 GB, free: 22.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.216, allocations: 0 / 1.146 GB, free: 22.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/1.216, allocations: 11.11 kB / 1.146 GB, free: 22.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.216, allocations: 3.844 kB / 1.146 GB, free: 22.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.216, allocations: 0 / 1.146 GB, free: 22.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/1.216, allocations: 489.2 kB / 1.147 GB, free: 22.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/1.217, allocations: 141.5 kB / 1.147 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/1.217, allocations: 9.281 kB / 1.147 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/1.217, allocations: 21.14 kB / 1.147 GB, free: 22.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.217, allocations: 48.61 kB / 1.147 GB, free: 22.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/1.217, allocations: 14.62 kB / 1.147 GB, free: 22.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004725/1.217, allocations: 436.2 kB / 1.148 GB, free: 21.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.217, allocations: 0 / 1.148 GB, free: 21.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005438/1.218, allocations: 132.8 kB / 1.148 GB, free: 21.86 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.002059/1.22, allocations: 1.392 MB / 1.149 GB, free: 21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006195/1.221, allocations: 386.3 kB / 1.149 GB, free: 20.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.221, allocations: 0 / 1.149 GB, free: 20.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/1.221, allocations: 176.6 kB / 1.15 GB, free: 20.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/1.221, allocations: 89.88 kB / 1.15 GB, free: 20.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/1.228, allocations: 7.241 MB / 1.157 GB, free: 15.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/1.228, allocations: 0.9524 MB / 1.158 GB, free: 14.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002789/1.228, allocations: 66.92 kB / 1.158 GB, free: 14.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/1.229, allocations: 254.5 kB / 1.158 GB, free: 14.47 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/1.229, allocations: 0 / 1.158 GB, free: 14.47 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/1.256, allocations: 12.02 MB / 1.17 GB, free: 4.094 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/1.257, allocations: 238.6 kB / 1.17 GB, free: 3.844 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.506, allocations: 0 / 1.17 GB, free: 3.844 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)