Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 249.3 MB / 261.8 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000979/0.0009792, allocations: 180.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008167/0.0008167, allocations: 94.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.953e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1832, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6109/0.7941, allocations: 139.5 MB / 1.028 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.7944, allocations: 90.75 kB / 1.028 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03863/0.8331, allocations: 14.38 MB / 1.042 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8331, allocations: 0 / 1.042 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.268e-05/0.8332, allocations: 19.98 kB / 1.042 GB, free: 14.84 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001138/0.8343, allocations: 0.8238 MB / 1.043 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.8344, allocations: 11.97 kB / 1.043 GB, free: 14 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.8345, allocations: 94.27 kB / 1.043 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.8346, allocations: 86.95 kB / 1.043 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.8353, allocations: 447.8 kB / 1.044 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/0.8354, allocations: 71.52 kB / 1.044 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.8355, allocations: 60.05 kB / 1.044 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008824/0.8364, allocations: 0.5891 MB / 1.044 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.8364, allocations: 7.953 kB / 1.044 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/0.8365, allocations: 22.75 kB / 1.044 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.8365, allocations: 20 kB / 1.044 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.8371, allocations: 369.9 kB / 1.045 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.8398, allocations: 2.557 MB / 1.047 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.8404, allocations: 283 kB / 1.048 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.8406, allocations: 135.4 kB / 1.048 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.8406, allocations: 4 kB / 1.048 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003481/0.841, allocations: 202 kB / 1.048 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=40): time 2.756e-06/0.841, allocations: 0 / 1.048 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.0006118/0.8416, allocations: 337 kB / 1.048 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.8417, allocations: 89.09 kB / 1.048 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/0.8424, allocations: 0.5773 MB / 1.049 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.8425, allocations: 44.44 kB / 1.049 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.8428, allocations: 372.8 kB / 1.049 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.637e-05/0.8429, allocations: 90.98 kB / 1.049 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.8429, allocations: 13.44 kB / 1.049 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.8431, allocations: 376.6 kB / 1.05 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.8433, allocations: 133.8 kB / 1.05 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.8436, allocations: 335.2 kB / 1.05 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.8439, allocations: 147.8 kB / 1.05 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.8439, allocations: 4 kB / 1.05 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007866/0.8447, allocations: 0.5227 MB / 1.051 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.8447, allocations: 12.16 kB / 1.051 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.8448, allocations: 4 kB / 1.051 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.8448, allocations: 12 kB / 1.051 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.8451, allocations: 75.08 kB / 1.051 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.8451, allocations: 11.94 kB / 1.051 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.8453, allocations: 50.25 kB / 1.051 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.8454, allocations: 33.86 kB / 1.051 GB, free: 7.035 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,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.entryTime,timer.entryTime,timeDel.y,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0001611/0.8456, allocations: 166.5 kB / 1.051 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.8456, allocations: 67.11 kB / 1.051 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006539/0.8463, allocations: 394.6 kB / 1.052 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.8463, allocations: 8 kB / 1.052 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8463, allocations: 0 / 1.052 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.8463, allocations: 3.984 kB / 1.052 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.8477, allocations: 1.053 MB / 1.053 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.8477, allocations: 0 / 1.053 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.8479, allocations: 26.92 kB / 1.053 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.8479, allocations: 4 kB / 1.053 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.8479, allocations: 10.23 kB / 1.053 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.8479, allocations: 4 kB / 1.053 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8479, allocations: 0 / 1.053 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.8485, allocations: 478.3 kB / 1.053 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.8487, allocations: 140 kB / 1.053 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/0.8487, allocations: 10.31 kB / 1.053 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.8489, allocations: 22.8 kB / 1.053 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.849, allocations: 39.88 kB / 1.053 GB, free: 4.969 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.849, allocations: 19.92 kB / 1.053 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004738/0.8495, allocations: 426.4 kB / 1.054 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8495, allocations: 0 / 1.054 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005198/0.8501, allocations: 125.6 kB / 1.054 GB, free: 4.531 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$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.entryTime,timer.yAcc,timeDel.y) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * 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.001738/0.8518, allocations: 1.33 MB / 1.055 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006681/0.8525, allocations: 379.7 kB / 1.056 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8525, allocations: 448 / 1.056 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.8528, allocations: 173.5 kB / 1.056 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.8532, allocations: 90.84 kB / 1.056 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.8548, allocations: 0.9435 MB / 1.057 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.8554, allocations: 0.9556 MB / 1.058 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002433/0.8556, allocations: 80.34 kB / 1.058 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.8559, allocations: 253.4 kB / 1.058 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of SimCode: time 6.01e-07/0.8559, allocations: 0 / 1.058 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.8823, allocations: 12.23 MB / 1.07 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.8826, allocations: 203.2 kB / 1.07 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.934, allocations: 0 / 1.07 GB, free: 4.57 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)