Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.133/2.133, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001384/0.001384, allocations: 185.2 kB / 326.2 MB, free: 2.855 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.353/2.353, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009421/0.0009419, allocations: 86 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006372/0.0006374, allocations: 11.62 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2294, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2963/0.5258, allocations: 139.4 MB / 1.036 GB, free: 5.926 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/0.5262, allocations: 91.95 kB / 1.036 GB, free: 5.836 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.07052/0.5967, allocations: 14.46 MB / 1.05 GB, free: 7.223 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.018e-06/0.5968, allocations: 3.938 kB / 1.05 GB, free: 7.219 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001093/0.5969, allocations: 12 kB / 1.05 GB, free: 7.207 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.003303/0.6003, allocations: 0.9259 MB / 1.051 GB, free: 6.219 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.6004, allocations: 8.031 kB / 1.051 GB, free: 6.211 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.6008, allocations: 87.91 kB / 1.051 GB, free: 6.125 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.6026, allocations: 445.5 kB / 1.051 GB, free: 5.645 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.6029, allocations: 75.58 kB / 1.051 GB, free: 5.566 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.6031, allocations: 52.38 kB / 1.051 GB, free: 5.516 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.6055, allocations: 0.6174 MB / 1.052 GB, free: 4.836 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.346e-05/0.6056, allocations: 7.875 kB / 1.052 GB, free: 4.828 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.6058, allocations: 27.98 kB / 1.052 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.6058, allocations: 12 kB / 1.052 GB, free: 4.789 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.6077, allocations: 375.6 kB / 1.052 GB, free: 4.422 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006353/0.6142, allocations: 2.553 MB / 1.055 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.6158, allocations: 292.8 kB / 1.055 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.6164, allocations: 136.8 kB / 1.055 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/0.6165, allocations: 7.938 kB / 1.055 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000854/0.6174, allocations: 218.4 kB / 1.056 GB, free: 1.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 5.05e-06/0.6174, allocations: 0 / 1.056 GB, free: 1.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.002147/0.6196, allocations: 449.8 kB / 1.056 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.6197, allocations: 89.05 kB / 1.056 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5865/1.206, allocations: 0.6477 MB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/1.207, allocations: 44.09 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005877/1.207, allocations: 367.2 kB / 1.057 GB, free: 146.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/1.207, allocations: 97.06 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/1.207, allocations: 10.78 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002538/1.208, allocations: 381.8 kB / 1.058 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006916/1.208, allocations: 134.2 kB / 1.058 GB, free: 146.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009154/1.209, allocations: 351.8 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/1.21, allocations: 147.7 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/1.21, allocations: 0 / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00156/1.212, allocations: 0.5316 MB / 1.059 GB, free: 146 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/1.212, allocations: 5.781 kB / 1.059 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/1.212, allocations: 8.688 kB / 1.059 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/1.212, allocations: 10.69 kB / 1.059 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/1.212, allocations: 80.2 kB / 1.059 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/1.213, allocations: 15.81 kB / 1.059 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/1.213, allocations: 43.16 kB / 1.059 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/1.213, allocations: 31.94 kB / 1.059 GB, free: 146 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.0005728/1.214, allocations: 260 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.214, allocations: 72.09 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/1.215, allocations: 406.8 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.215, allocations: 10.34 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.215, allocations: 1.5 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.215, allocations: 3.375 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/1.217, allocations: 1.054 MB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.217, allocations: 0.5625 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/1.218, allocations: 25.14 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/1.218, allocations: 4.234 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/1.218, allocations: 12.59 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.218, allocations: 5.906 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.218, allocations: 0 / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009803/1.219, allocations: 482.2 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/1.219, allocations: 141.3 kB / 1.061 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/1.219, allocations: 20.03 kB / 1.061 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/1.219, allocations: 16.28 kB / 1.061 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/1.22, allocations: 49.22 kB / 1.061 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/1.22, allocations: 17.67 kB / 1.061 GB, free: 145.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007259/1.22, allocations: 426.9 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.273e-06/1.22, allocations: 0 / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008108/1.221, allocations: 129 kB / 1.062 GB, free: 145.1 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.001392/1.223, allocations: 471 kB / 1.062 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001139/1.224, allocations: 393.3 kB / 1.063 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.224, allocations: 2.906 kB / 1.063 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004395/1.224, allocations: 173.7 kB / 1.063 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/1.225, allocations: 94.3 kB / 1.063 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/1.228, allocations: 1.299 MB / 1.064 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/1.229, allocations: 0.9416 MB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005287/1.229, allocations: 72.89 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/1.23, allocations: 47.12 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.233e-06/1.23, allocations: 0 / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02349/1.253, allocations: 5.546 MB / 1.071 GB, free: 143.2 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)