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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008126/0.0008127, allocations: 96.62 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006481/0.006482, allocations: 169.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.519/1.519, allocations: 252 MB / 0.5105 GB, free: 4.613 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005577/0.0005576, allocations: 12.56 kB / 0.6249 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5663/0.5668, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003712/0.5706, allocations: 2.605 MB / 0.7313 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002536/0.5732, allocations: 1.6 MB / 0.7328 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.5735, allocations: 7.938 kB / 0.7328 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009384/0.5745, allocations: 286.8 kB / 0.7331 GB, free: 6.734 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.5748, allocations: 151.3 kB / 0.7333 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008522/0.5757, allocations: 318.7 kB / 0.7336 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006978/0.5764, allocations: 0.7028 MB / 0.7342 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000508/0.5769, allocations: 418 kB / 0.7346 GB, free: 5.168 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.5772, allocations: 211 kB / 0.7348 GB, free: 4.961 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.5774, allocations: 238.7 kB / 0.7351 GB, free: 4.727 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.5775, allocations: 20 kB / 0.7351 GB, free: 4.707 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.5777, allocations: 67.97 kB / 0.7352 GB, free: 4.641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.5779, allocations: 167.3 kB / 0.7353 GB, free: 4.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.5781, allocations: 303.7 kB / 0.7356 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000634/0.5787, allocations: 0.7003 MB / 0.7363 GB, free: 3.469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.5788, allocations: 0 / 0.7363 GB, free: 3.469 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.705e-06/0.5788, allocations: 0 / 0.7363 GB, free: 3.469 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.5788, allocations: 0 / 0.7363 GB, free: 3.469 MB / 0.545 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.001384/0.5802, allocations: 0.8849 MB / 0.7372 GB, free: 2.523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5802, allocations: 8.031 kB / 0.7372 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.5804, allocations: 91.89 kB / 0.7372 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.581, allocations: 488.8 kB / 0.7377 GB, free: 1.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.743e-05/0.5811, allocations: 75.58 kB / 0.7378 GB, free: 1.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-05/0.5812, allocations: 59.94 kB / 0.7378 GB, free: 1.773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009059/0.5821, allocations: 0.6091 MB / 0.7384 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.5821, allocations: 3.938 kB / 0.7384 GB, free: 1.094 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.5822, allocations: 27.98 kB / 0.7385 GB, free: 1.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.5822, allocations: 12 kB / 0.7385 GB, free: 1.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/0.5828, allocations: 383.6 kB / 0.7388 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.5852, allocations: 2.58 MB / 0.7414 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.5858, allocations: 278.8 kB / 0.7416 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.5861, allocations: 140.7 kB / 0.7418 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.5861, allocations: 4 kB / 0.7418 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/0.5865, allocations: 205.9 kB / 0.742 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.5865, allocations: 0 / 0.742 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008268/0.5874, allocations: 457.7 kB / 0.7424 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.5874, allocations: 85.09 kB / 0.7425 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006922/0.5881, allocations: 0.6364 MB / 0.7431 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.5882, allocations: 41.7 kB / 0.7431 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.5885, allocations: 376.2 kB / 0.7435 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.896e-05/0.5886, allocations: 98.73 kB / 0.7436 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.5887, allocations: 97.64 kB / 0.7437 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5888, allocations: 378.8 kB / 0.7441 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.5891, allocations: 137.2 kB / 0.7442 GB, free: 11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.5895, allocations: 347.8 kB / 0.7445 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.5901, allocations: 421.8 kB / 0.7449 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.5901, allocations: 4 kB / 0.7449 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.000842/0.591, allocations: 0.5267 MB / 0.7454 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.591, allocations: 13.81 kB / 0.7454 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.591, allocations: 8.062 kB / 0.7455 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.5911, allocations: 12 kB / 0.7455 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.5913, allocations: 79.77 kB / 0.7455 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.5913, allocations: 12 kB / 0.7456 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.5916, allocations: 51.44 kB / 0.7456 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.5917, allocations: 35.92 kB / 0.7456 GB, free: 9.336 MB / 0.5606 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,timer.yAcc,$PRE.timer.yAcc,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,timer.reset_internal,$PRE.timer.reset_internal,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,transition2.localCondition,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition3,$whenCondition2,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000393/0.5921, allocations: 278.7 kB / 0.7459 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.5922, allocations: 67.19 kB / 0.746 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/0.5928, allocations: 394.8 kB / 0.7463 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.5929, allocations: 4 kB / 0.7463 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5929, allocations: 0 / 0.7463 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.5929, allocations: 3.984 kB / 0.7464 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.5942, allocations: 1.047 MB / 0.7474 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5943, allocations: 3.984 kB / 0.7474 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.804e-05/0.5944, allocations: 27.92 kB / 0.7474 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5944, allocations: 0 / 0.7474 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.5944, allocations: 8 kB / 0.7474 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5944, allocations: 3.938 kB / 0.7474 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5944, allocations: 0 / 0.7474 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.595, allocations: 478.6 kB / 0.7479 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.5951, allocations: 140.2 kB / 0.748 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.5952, allocations: 15.98 kB / 0.748 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.5953, allocations: 12 kB / 0.748 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.5955, allocations: 43.69 kB / 0.7481 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.5955, allocations: 12 kB / 0.7481 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004634/0.596, allocations: 423 kB / 0.7485 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.596, allocations: 0 / 0.7485 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005137/0.5965, allocations: 131.6 kB / 0.7486 GB, free: 6.176 MB / 0.5606 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.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,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.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc) * 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 (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.5976, allocations: 459.3 kB / 0.7491 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006702/0.5983, allocations: 403.2 kB / 0.7494 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5983, allocations: 0 / 0.7494 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.5985, allocations: 163.8 kB / 0.7496 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.5991, allocations: 83.45 kB / 0.7497 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.601, allocations: 1.349 MB / 0.751 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.6015, allocations: 0.9302 MB / 0.7519 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002496/0.6017, allocations: 84.36 kB / 0.752 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.6019, allocations: 47.42 kB / 0.752 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of SimCode: time 6.22e-07/0.6019, allocations: 0 / 0.752 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of Templates: time 0.01234/0.6142, allocations: 5.094 MB / 0.757 GB, free: 13.74 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) Environment - environmentSimulation: