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.456/1.456, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 178.7 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.001046/0.001046, allocations: 93.77 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004256, allocations: 10.31 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2666, allocations: 106.3 MB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.4635, allocations: 139.6 MB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.4638, allocations: 91.95 kB / 1.037 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03739/0.5012, allocations: 14.42 MB / 1.051 GB, free: 5.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5013, allocations: 0 / 1.051 GB, free: 5.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.638e-05/0.5013, allocations: 20 kB / 1.051 GB, free: 5.875 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001377/0.5027, allocations: 0.9257 MB / 1.052 GB, free: 4.887 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5028, allocations: 8.031 kB / 1.052 GB, free: 4.879 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.5029, allocations: 90.52 kB / 1.052 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.503, allocations: 86.97 kB / 1.052 GB, free: 4.695 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007178/0.5038, allocations: 444.2 kB / 1.052 GB, free: 4.223 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.504e-05/0.5039, allocations: 71.02 kB / 1.052 GB, free: 4.148 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/0.504, allocations: 60 kB / 1.052 GB, free: 4.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009566/0.5049, allocations: 0.6052 MB / 1.053 GB, free: 3.418 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.505, allocations: 7.891 kB / 1.053 GB, free: 3.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.505, allocations: 31.92 kB / 1.053 GB, free: 3.379 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.505, allocations: 12 kB / 1.053 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.5057, allocations: 375.6 kB / 1.053 GB, free: 3.004 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.5086, allocations: 2.566 MB / 1.056 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.5092, allocations: 288.6 kB / 1.056 GB, free: 36 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.5093, allocations: 11.94 kB / 1.056 GB, free: 24 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.526/1.035, allocations: 199.7 kB / 1.056 GB, free: 145.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 5.18e-06/1.035, allocations: 1.25 kB / 1.056 GB, free: 145.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001027/1.036, allocations: 448.9 kB / 1.057 GB, free: 145.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/1.036, allocations: 82.58 kB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/1.037, allocations: 0.5883 MB / 1.057 GB, free: 145.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/1.037, allocations: 45.08 kB / 1.057 GB, free: 145.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/1.037, allocations: 371.8 kB / 1.058 GB, free: 145.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/1.037, allocations: 96.91 kB / 1.058 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/1.037, allocations: 13.97 kB / 1.058 GB, free: 145.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.038, allocations: 379.6 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/1.038, allocations: 130 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/1.038, allocations: 348.5 kB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/1.038, allocations: 145.9 kB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.038, allocations: 5.125 kB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007599/1.039, allocations: 0.5283 MB / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.039, allocations: 9.25 kB / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.039, allocations: 8.5 kB / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/1.039, allocations: 11.28 kB / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/1.04, allocations: 78.48 kB / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/1.04, allocations: 11.38 kB / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/1.04, allocations: 48.39 kB / 1.06 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/1.04, allocations: 28.41 kB / 1.06 GB, free: 144.7 MB / 0.698 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 () * Number of clocked 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.0003018/1.04, allocations: 268.9 kB / 1.06 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.759e-05/1.04, allocations: 66 kB / 1.06 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/1.041, allocations: 406.4 kB / 1.06 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.041, allocations: 3.031 kB / 1.06 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.041, allocations: 7.5 kB / 1.06 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.041, allocations: 7.422 kB / 1.06 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/1.042, allocations: 1.05 MB / 1.061 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.042, allocations: 1.75 kB / 1.061 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/1.042, allocations: 24.09 kB / 1.061 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.042, allocations: 2.969 kB / 1.061 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/1.042, allocations: 16.78 kB / 1.061 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/1.042, allocations: 2.812 kB / 1.061 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.043, allocations: 2.531 kB / 1.061 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/1.043, allocations: 482.1 kB / 1.062 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.043, allocations: 143.9 kB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/1.043, allocations: 14.2 kB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/1.043, allocations: 14.52 kB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.044, allocations: 47.61 kB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/1.044, allocations: 16.69 kB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000458/1.044, allocations: 431.9 kB / 1.062 GB, free: 143.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.044, allocations: 0 / 1.062 GB, free: 143.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005461/1.045, allocations: 126.2 kB / 1.063 GB, free: 143.7 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: 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) * Number of clocked states: 0 () * 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.001752/1.046, allocations: 1.378 MB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007179/1.047, allocations: 389.1 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.047, allocations: 2.906 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/1.047, allocations: 172 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/1.048, allocations: 90.02 kB / 1.065 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006385/1.054, allocations: 7.429 MB / 1.072 GB, free: 137.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/1.055, allocations: 0.9542 MB / 1.073 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003877/1.055, allocations: 81.34 kB / 1.073 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/1.056, allocations: 254 kB / 1.073 GB, free: 137 MB / 0.698 GB Notification: Performance of SimCode: time 9.71e-07/1.056, allocations: 0 / 1.073 GB, free: 137 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/1.09, allocations: 12.11 MB / 1.085 GB, free: 135.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/1.09, allocations: 234.2 kB / 1.085 GB, free: 135.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/3.427, allocations: 0.5312 kB / 1.085 GB, free: 135.5 MB / 0.698 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)