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.576/1.576, allocations: 285.4 MB / 298 MB, free: 5.98 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.0009719/0.0009718, allocations: 184.8 kB / 366.4 MB, free: 2.082 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.485/1.485, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0008839/0.0008837, allocations: 96.78 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.493e-05, allocations: 8 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5951/0.5952, allocations: 115.3 MB / 0.971 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.7792, allocations: 145.6 MB / 1.113 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.7796, allocations: 96.09 kB / 1.113 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0367/0.8163, allocations: 14.26 MB / 1.127 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8163, allocations: 0 / 1.127 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.538e-05/0.8164, allocations: 12 kB / 1.127 GB, free: 7.789 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.001251/0.8176, allocations: 0.8195 MB / 1.128 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.8177, allocations: 8.031 kB / 1.128 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.8178, allocations: 102.5 kB / 1.128 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.818, allocations: 82.97 kB / 1.128 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.8187, allocations: 448.1 kB / 1.129 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.526e-05/0.8187, allocations: 49.25 kB / 1.129 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.8188, allocations: 58.94 kB / 1.129 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.8197, allocations: 0.5936 MB / 1.129 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.8198, allocations: 3.938 kB / 1.129 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.8198, allocations: 24 kB / 1.129 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.8198, allocations: 15.95 kB / 1.129 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.8205, allocations: 367.7 kB / 1.13 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.823, allocations: 2.557 MB / 1.132 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.8236, allocations: 274.4 kB / 1.132 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.8238, allocations: 140.8 kB / 1.133 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.8239, allocations: 4 kB / 1.133 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.8242, allocations: 215.6 kB / 1.133 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 2.234e-06/0.8242, allocations: 0 / 1.133 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0006017/0.8248, allocations: 338.6 kB / 1.133 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.8249, allocations: 89.09 kB / 1.133 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.8256, allocations: 0.5731 MB / 1.134 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.8256, allocations: 53.62 kB / 1.134 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.8259, allocations: 360.4 kB / 1.134 GB, free: 332 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.208e-05/0.826, allocations: 98.89 kB / 1.134 GB, free: 232 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.826, allocations: 12 kB / 1.134 GB, free: 220 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.8262, allocations: 374.8 kB / 1.135 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.8264, allocations: 125.5 kB / 1.135 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.8267, allocations: 329 kB / 1.135 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.827, allocations: 145.5 kB / 1.135 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.827, allocations: 0 / 1.135 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007758/0.8278, allocations: 0.4987 MB / 1.136 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.8278, allocations: 16.67 kB / 1.136 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.8278, allocations: 8 kB / 1.136 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.8279, allocations: 12 kB / 1.136 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.8281, allocations: 75.83 kB / 1.136 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.8281, allocations: 15.94 kB / 1.136 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.8284, allocations: 43.67 kB / 1.136 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.8284, allocations: 28 kB / 1.136 GB, free: 14.47 MB / 0.7448 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.0001512/0.8286, allocations: 160.2 kB / 1.136 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.8287, allocations: 71.23 kB / 1.136 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006546/0.8294, allocations: 410.8 kB / 1.137 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.8294, allocations: 4 kB / 1.137 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.8294, allocations: 3 kB / 1.137 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.8294, allocations: 0 / 1.137 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.8309, allocations: 1.056 MB / 1.138 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.8309, allocations: 3.984 kB / 1.138 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.831, allocations: 23.92 kB / 1.138 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.831, allocations: 4 kB / 1.138 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.8311, allocations: 10.91 kB / 1.138 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.8311, allocations: 4 kB / 1.138 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8311, allocations: 0 / 1.138 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.8317, allocations: 478.6 kB / 1.138 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.8318, allocations: 140.3 kB / 1.138 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.8319, allocations: 19.92 kB / 1.138 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.8321, allocations: 8 kB / 1.138 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.8322, allocations: 51.67 kB / 1.138 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.8323, allocations: 19.98 kB / 1.138 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00045/0.8327, allocations: 419.1 kB / 1.139 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8327, allocations: 0 / 1.139 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005186/0.8332, allocations: 135.9 kB / 1.139 GB, free: 11.38 MB / 0.7448 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.001711/0.835, allocations: 1.35 MB / 1.14 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006543/0.8356, allocations: 367.3 kB / 1.14 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8357, allocations: 0 / 1.14 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.8359, allocations: 176.2 kB / 1.141 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.8364, allocations: 80.48 kB / 1.141 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.8385, allocations: 0.9438 MB / 1.142 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.8391, allocations: 0.9566 MB / 1.143 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00027/0.8393, allocations: 82.94 kB / 1.143 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.8397, allocations: 251.3 kB / 1.143 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.8397, allocations: 0 / 1.143 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.8671, allocations: 12.16 MB / 1.155 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.8673, allocations: 214.5 kB / 1.155 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/3.085, allocations: 0 / 1.155 GB, free: 11.14 MB / 0.7605 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)