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.683/1.683, allocations: 292.5 MB / 307.5 MB, free: 5.215 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.001093/0.001093, allocations: 185 kB / 377.1 MB, free: 1.547 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.932/1.932, allocations: 205.4 MB / 0.6366 GB, free: 8.637 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.001127/0.001126, allocations: 92.92 kB / 0.7509 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3022, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7669/1.069, allocations: 146.7 MB / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/1.07, allocations: 98.56 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0373/1.107, allocations: 14.29 MB / 1.146 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.665e-06/1.107, allocations: 4.938 kB / 1.146 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.503e-05/1.107, allocations: 16 kB / 1.146 GB, free: 19.38 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.001416/1.108, allocations: 0.9166 MB / 1.147 GB, free: 18.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.108, allocations: 16.67 kB / 1.147 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/1.109, allocations: 91.64 kB / 1.147 GB, free: 18.37 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/1.109, allocations: 88.48 kB / 1.147 GB, free: 18.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007084/1.109, allocations: 442 kB / 1.147 GB, free: 17.87 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.162e-05/1.11, allocations: 42.2 kB / 1.147 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/1.11, allocations: 61.59 kB / 1.147 GB, free: 17.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/1.11, allocations: 0.6012 MB / 1.148 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/1.111, allocations: 0.5625 kB / 1.148 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/1.111, allocations: 21.64 kB / 1.148 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/1.111, allocations: 19.94 kB / 1.148 GB, free: 17.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005672/1.111, allocations: 379.4 kB / 1.148 GB, free: 16.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/1.114, allocations: 2.566 MB / 1.151 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/1.114, allocations: 288.1 kB / 1.151 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/1.114, allocations: 4.938 kB / 1.151 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003687/1.115, allocations: 223.6 kB / 1.151 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 2.364e-06/1.115, allocations: 0 / 1.151 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0007645/1.115, allocations: 453.6 kB / 1.152 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/1.115, allocations: 86.56 kB / 1.152 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006987/1.116, allocations: 0.5808 MB / 1.152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/1.116, allocations: 47.06 kB / 1.152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/1.116, allocations: 359 kB / 1.153 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/1.116, allocations: 99.31 kB / 1.153 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/1.117, allocations: 12 kB / 1.153 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.117, allocations: 377.8 kB / 1.153 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/1.117, allocations: 134.5 kB / 1.153 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/1.117, allocations: 332 kB / 1.154 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/1.117, allocations: 153.2 kB / 1.154 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.117, allocations: 4 kB / 1.154 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000688/1.118, allocations: 0.5109 MB / 1.154 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.118, allocations: 8 kB / 1.154 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.118, allocations: 8.891 kB / 1.154 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/1.118, allocations: 12.61 kB / 1.154 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/1.118, allocations: 75.16 kB / 1.154 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/1.119, allocations: 19.34 kB / 1.154 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/1.119, allocations: 41.86 kB / 1.155 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/1.119, allocations: 29.45 kB / 1.155 GB, free: 10.85 MB / 0.7292 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.0002916/1.119, allocations: 264 kB / 1.155 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/1.119, allocations: 59.86 kB / 1.155 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/1.12, allocations: 424.7 kB / 1.155 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.12, allocations: 7.953 kB / 1.155 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/1.12, allocations: 3.938 kB / 1.155 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/1.12, allocations: 1.219 kB / 1.155 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/1.121, allocations: 1.066 MB / 1.156 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.121, allocations: 4 kB / 1.156 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/1.121, allocations: 28.3 kB / 1.156 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.121, allocations: 0 / 1.156 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/1.121, allocations: 10.53 kB / 1.156 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.121, allocations: 4 kB / 1.156 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.121, allocations: 1.812 kB / 1.156 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/1.122, allocations: 485.6 kB / 1.157 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/1.122, allocations: 139.5 kB / 1.157 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/1.122, allocations: 13.17 kB / 1.157 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/1.122, allocations: 19 kB / 1.157 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.122, allocations: 47.67 kB / 1.157 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/1.122, allocations: 17.73 kB / 1.157 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003943/1.123, allocations: 430.7 kB / 1.157 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/1.123, allocations: 0 / 1.157 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000495/1.123, allocations: 125.6 kB / 1.158 GB, free: 8.008 MB / 0.7292 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.001722/1.125, allocations: 1.395 MB / 1.159 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006031/1.126, allocations: 382.6 kB / 1.159 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/1.126, allocations: 0 / 1.159 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/1.126, allocations: 178 kB / 1.159 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/1.126, allocations: 86.77 kB / 1.16 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/1.131, allocations: 7.241 MB / 1.167 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005825/1.132, allocations: 0.9507 MB / 1.168 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002822/1.132, allocations: 75.56 kB / 1.168 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/1.133, allocations: 253.5 kB / 1.168 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/1.133, allocations: 0 / 1.168 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/1.162, allocations: 12.02 MB / 1.18 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/1.163, allocations: 211.2 kB / 1.18 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.555, allocations: 0 / 1.18 GB, free: 2.098 MB / 0.7448 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)