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.467/2.467, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.00146/0.001459, allocations: 184.8 kB / 360.6 MB, free: 7.266 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.079/2.079, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001068/0.001068, allocations: 93.86 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.639e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7729/0.773, allocations: 115.3 MB / 0.9634 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2439/1.017, allocations: 144.8 MB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/1.017, allocations: 88.53 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06128/1.079, allocations: 14.05 MB / 1.119 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.923e-06/1.079, allocations: 0 / 1.119 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.057e-05/1.079, allocations: 16 kB / 1.119 GB, free: 13.44 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.001772/1.081, allocations: 0.8268 MB / 1.119 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/1.081, allocations: 12.03 kB / 1.119 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/1.081, allocations: 85.41 kB / 1.12 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/1.082, allocations: 444.1 kB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/1.082, allocations: 19.98 kB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.082, allocations: 36 kB / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000968/1.083, allocations: 318.5 kB / 1.12 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/1.084, allocations: 0.5252 MB / 1.121 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/1.084, allocations: 11.94 kB / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/1.085, allocations: 0 / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/1.085, allocations: 16 kB / 1.121 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/1.089, allocations: 2.452 MB / 1.123 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/1.089, allocations: 256.3 kB / 1.124 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/1.09, allocations: 124.9 kB / 1.124 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/1.09, allocations: 6.969 kB / 1.124 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004939/1.09, allocations: 207.2 kB / 1.124 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 5.239e-06/1.09, allocations: 0 / 1.124 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0009428/1.091, allocations: 314.3 kB / 1.124 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/1.091, allocations: 89.09 kB / 1.124 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/1.092, allocations: 0.5332 MB / 1.125 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.544e-05/1.092, allocations: 33.7 kB / 1.125 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/1.093, allocations: 356.4 kB / 1.125 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/1.093, allocations: 94.84 kB / 1.125 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/1.093, allocations: 4 kB / 1.125 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002106/1.093, allocations: 378.8 kB / 1.126 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/1.094, allocations: 111.6 kB / 1.126 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/1.094, allocations: 315.3 kB / 1.126 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/1.095, allocations: 124.7 kB / 1.126 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.095, allocations: 0 / 1.126 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001175/1.096, allocations: 451.5 kB / 1.127 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/1.096, allocations: 10.03 kB / 1.127 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.096, allocations: 8.031 kB / 1.127 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.649e-05/1.096, allocations: 19.89 kB / 1.127 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/1.096, allocations: 75.77 kB / 1.127 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/1.096, allocations: 8 kB / 1.127 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/1.097, allocations: 43.66 kB / 1.127 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/1.097, allocations: 28 kB / 1.127 GB, free: 4.766 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.0002231/1.097, allocations: 149.8 kB / 1.127 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007876/1.098, allocations: 317 kB / 1.127 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.098, allocations: 63.2 kB / 1.127 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/1.099, allocations: 379.7 kB / 1.128 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.099, allocations: 4 kB / 1.128 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.099, allocations: 0 / 1.128 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/1.099, allocations: 3.984 kB / 1.128 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/1.102, allocations: 0.9553 MB / 1.129 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/1.102, allocations: 0 / 1.129 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/1.102, allocations: 27.92 kB / 1.129 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/1.102, allocations: 2.625 kB / 1.129 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/1.102, allocations: 7.984 kB / 1.129 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/1.102, allocations: 0 / 1.129 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.102, allocations: 4 kB / 1.129 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/1.103, allocations: 454.2 kB / 1.129 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/1.103, allocations: 136.3 kB / 1.129 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/1.103, allocations: 7.984 kB / 1.129 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/1.104, allocations: 4 kB / 1.129 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/1.104, allocations: 51.67 kB / 1.129 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/1.104, allocations: 23.97 kB / 1.129 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007554/1.105, allocations: 378.9 kB / 1.13 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.6e-07/1.105, allocations: 4 kB / 1.13 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008463/1.106, allocations: 107.9 kB / 1.13 GB, free: 1.625 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.002525/1.108, allocations: 1.291 MB / 1.131 GB, free: 468 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009826/1.109, allocations: 350.5 kB / 1.131 GB, free: 120 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.109, allocations: 0 / 1.131 GB, free: 120 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004153/1.11, allocations: 159.9 kB / 1.131 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/1.11, allocations: 73.52 kB / 1.131 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/1.113, allocations: 0.9041 MB / 1.132 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/1.114, allocations: 0.9458 MB / 1.133 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004863/1.115, allocations: 81.33 kB / 1.133 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/1.115, allocations: 258 kB / 1.134 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/1.115, allocations: 0 / 1.134 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06448/1.18, allocations: 11.22 MB / 1.145 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/1.18, allocations: 180.9 kB / 1.145 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/3.985, allocations: 0 / 1.145 GB, free: 2.492 MB / 0.7448 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)