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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00155/0.00155, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.641/1.641, allocations: 205.1 MB / 222 MB, free: 4.758 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.614/1.614, allocations: 251.6 MB / 0.5088 GB, free: 3.363 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.00146/0.00146, allocations: 67.91 kB / 0.6216 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5881/0.5896, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.00446/0.5941, allocations: 2.974 MB / 0.7267 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.5968, allocations: 1.627 MB / 0.7283 GB, free: 8.531 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.5972, allocations: 11.94 kB / 0.7283 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009559/0.5982, allocations: 282.8 kB / 0.7286 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.5986, allocations: 159.3 kB / 0.7287 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.5994, allocations: 320.6 kB / 0.729 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006639/0.6001, allocations: 0.6988 MB / 0.7297 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005242/0.6006, allocations: 442.7 kB / 0.7301 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.6008, allocations: 243 kB / 0.7304 GB, free: 6.406 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.6011, allocations: 274.6 kB / 0.7306 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.6012, allocations: 36 kB / 0.7307 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.6014, allocations: 83.95 kB / 0.7308 GB, free: 6.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.6016, allocations: 183.3 kB / 0.7309 GB, free: 5.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.6019, allocations: 306 kB / 0.7312 GB, free: 5.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007135/0.6026, allocations: 0.72 MB / 0.7319 GB, free: 4.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6026, allocations: 0 / 0.7319 GB, free: 4.816 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6026, allocations: 0 / 0.7319 GB, free: 4.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.6026, allocations: 0 / 0.7319 GB, free: 4.816 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.001427/0.6041, allocations: 1.017 MB / 0.7329 GB, free: 3.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6041, allocations: 12.02 kB / 0.7329 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.6043, allocations: 87.91 kB / 0.733 GB, free: 3.637 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.6049, allocations: 492.6 kB / 0.7335 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.354e-05/0.605, allocations: 75.58 kB / 0.7336 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.6051, allocations: 67.92 kB / 0.7336 GB, free: 2.973 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008801/0.606, allocations: 0.6052 MB / 0.7342 GB, free: 2.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.606, allocations: 3.938 kB / 0.7342 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.606, allocations: 27.98 kB / 0.7342 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.6061, allocations: 12 kB / 0.7343 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006335/0.6067, allocations: 383.6 kB / 0.7346 GB, free: 1.887 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.6091, allocations: 2.576 MB / 0.7371 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.6098, allocations: 276.8 kB / 0.7374 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.61, allocations: 136.7 kB / 0.7375 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.6101, allocations: 11.98 kB / 0.7375 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.6105, allocations: 205.7 kB / 0.7377 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.6105, allocations: 0 / 0.7377 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008763/0.6113, allocations: 449.5 kB / 0.7382 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/0.6114, allocations: 89.09 kB / 0.7382 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006726/0.6121, allocations: 0.6324 MB / 0.7389 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.6122, allocations: 49.69 kB / 0.7389 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.6125, allocations: 364.3 kB / 0.7393 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.802e-05/0.6126, allocations: 106.7 kB / 0.7394 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.6128, allocations: 146.3 kB / 0.7395 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.613, allocations: 382.8 kB / 0.7399 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.6132, allocations: 137.2 kB / 0.74 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.6136, allocations: 343.8 kB / 0.7403 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005257/0.6141, allocations: 425.8 kB / 0.7407 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.6141, allocations: 4 kB / 0.7407 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008851/0.615, allocations: 0.5302 MB / 0.7413 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.6151, allocations: 11.94 kB / 0.7413 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.6151, allocations: 11.94 kB / 0.7413 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/0.6151, allocations: 8 kB / 0.7413 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.6154, allocations: 79.77 kB / 0.7414 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.6154, allocations: 11.94 kB / 0.7414 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.6156, allocations: 51.94 kB / 0.7414 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.6157, allocations: 35.98 kB / 0.7415 GB, free: 10.5 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.0003492/0.6161, allocations: 266.8 kB / 0.7417 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/0.6162, allocations: 75.09 kB / 0.7418 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007218/0.6169, allocations: 398.8 kB / 0.7422 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.6169, allocations: 4 kB / 0.7422 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6169, allocations: 4 kB / 0.7422 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6169, allocations: 3.984 kB / 0.7422 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.6185, allocations: 1.043 MB / 0.7432 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6185, allocations: 0 / 0.7432 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.6186, allocations: 23.92 kB / 0.7432 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6187, allocations: 4 kB / 0.7432 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.6187, allocations: 11.98 kB / 0.7432 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6187, allocations: 4 kB / 0.7432 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6187, allocations: 0 / 0.7432 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.6194, allocations: 474.5 kB / 0.7437 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.6195, allocations: 132.3 kB / 0.7438 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/0.6196, allocations: 12 kB / 0.7438 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.6197, allocations: 15.98 kB / 0.7438 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.6199, allocations: 39.7 kB / 0.7439 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.6199, allocations: 23.98 kB / 0.7439 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004875/0.6204, allocations: 419 kB / 0.7443 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6204, allocations: 0 / 0.7443 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005801/0.621, allocations: 139.5 kB / 0.7444 GB, free: 7.34 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.00127/0.6223, allocations: 459.9 kB / 0.7449 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007347/0.623, allocations: 389.9 kB / 0.7452 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.623, allocations: 0 / 0.7452 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.6233, allocations: 165.4 kB / 0.7454 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.6239, allocations: 86.94 kB / 0.7455 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.6258, allocations: 1.324 MB / 0.7468 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.6264, allocations: 0.934 MB / 0.7477 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002657/0.6267, allocations: 84.36 kB / 0.7478 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.6268, allocations: 47.42 kB / 0.7478 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.6268, allocations: 3.938 kB / 0.7478 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of Templates: time 0.01094/0.6378, allocations: 5.134 MB / 0.7528 GB, free: 14.88 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (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)