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.564/1.564, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001029/0.001029, allocations: 180.9 kB / 361.4 MB, free: 6.836 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.577/1.577, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0008644/0.0008643, allocations: 92.8 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.375e-05, allocations: 8 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7692/0.7692, allocations: 115.3 MB / 0.9645 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.9966, allocations: 145 MB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.9969, allocations: 93.16 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03844/1.035, allocations: 14.05 MB / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.353e-06/1.035, allocations: 0 / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.997e-05/1.036, allocations: 16 kB / 1.12 GB, free: 12.61 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.001754/1.037, allocations: 0.8229 MB / 1.121 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.037, allocations: 12.03 kB / 1.121 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003192/1.038, allocations: 86.92 kB / 1.121 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009061/1.039, allocations: 448.1 kB / 1.121 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.623e-05/1.039, allocations: 23.94 kB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.759e-05/1.039, allocations: 35.98 kB / 1.121 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006923/1.039, allocations: 314.5 kB / 1.122 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009036/1.04, allocations: 0.5213 MB / 1.122 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/1.04, allocations: 4 kB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/1.04, allocations: 11.94 kB / 1.122 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/1.041, allocations: 12 kB / 1.122 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003136/1.044, allocations: 2.458 MB / 1.124 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/1.044, allocations: 256.9 kB / 1.125 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/1.044, allocations: 128.7 kB / 1.125 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/1.045, allocations: 6.969 kB / 1.125 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003605/1.045, allocations: 197.5 kB / 1.125 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 2.705e-06/1.045, allocations: 3.938 kB / 1.125 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0006189/1.046, allocations: 318.3 kB / 1.125 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/1.046, allocations: 93.11 kB / 1.125 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007234/1.046, allocations: 0.5293 MB / 1.126 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/1.046, allocations: 37.7 kB / 1.126 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/1.047, allocations: 356.4 kB / 1.126 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/1.047, allocations: 90.86 kB / 1.126 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/1.047, allocations: 0 / 1.126 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.047, allocations: 374.8 kB / 1.127 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/1.047, allocations: 117.5 kB / 1.127 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/1.048, allocations: 311.3 kB / 1.127 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/1.048, allocations: 124.7 kB / 1.127 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.048, allocations: 4 kB / 1.127 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007602/1.049, allocations: 451 kB / 1.128 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.049, allocations: 11.94 kB / 1.128 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.049, allocations: 8 kB / 1.128 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.049, allocations: 8 kB / 1.128 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/1.049, allocations: 75.73 kB / 1.128 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/1.049, allocations: 16.58 kB / 1.128 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/1.049, allocations: 35.69 kB / 1.128 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/1.049, allocations: 31.98 kB / 1.128 GB, free: 3.941 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 () * 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.0001727/1.05, allocations: 146 kB / 1.128 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004916/1.05, allocations: 315.2 kB / 1.128 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/1.05, allocations: 63.23 kB / 1.128 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007271/1.051, allocations: 378.9 kB / 1.129 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.051, allocations: 11.98 kB / 1.129 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.051, allocations: 0 / 1.129 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/1.051, allocations: 0 / 1.129 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/1.052, allocations: 0.9508 MB / 1.13 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.052, allocations: 2.188 kB / 1.13 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/1.053, allocations: 31.92 kB / 1.13 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/1.053, allocations: 7.984 kB / 1.13 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/1.053, allocations: 0 / 1.13 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.053, allocations: 5.719 kB / 1.13 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.053, allocations: 0 / 1.13 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006413/1.053, allocations: 450.6 kB / 1.13 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/1.053, allocations: 140.3 kB / 1.13 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/1.054, allocations: 4 kB / 1.13 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/1.054, allocations: 17.2 kB / 1.13 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.054, allocations: 51.67 kB / 1.13 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/1.054, allocations: 12 kB / 1.13 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004927/1.054, allocations: 382.9 kB / 1.131 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.8e-07/1.054, allocations: 4 kB / 1.131 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006027/1.055, allocations: 103.9 kB / 1.131 GB, free: 0.8047 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) * 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.001909/1.057, allocations: 1.302 MB / 1.132 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005848/1.058, allocations: 349.1 kB / 1.132 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.058, allocations: 1.562 kB / 1.132 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/1.058, allocations: 155.9 kB / 1.133 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/1.058, allocations: 73.42 kB / 1.133 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/1.06, allocations: 0.9033 MB / 1.134 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/1.061, allocations: 0.9458 MB / 1.135 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000272/1.061, allocations: 81.52 kB / 1.135 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/1.062, allocations: 255.3 kB / 1.135 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/1.062, allocations: 0 / 1.135 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/1.1, allocations: 11.23 MB / 1.146 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/1.1, allocations: 178.8 kB / 1.146 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/3.394, allocations: 0 / 1.146 GB, free: 1.613 MB / 0.7448 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)