Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.619/1.619, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009977/0.0009976, allocations: 180.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007466/0.0007465, allocations: 95.98 kB / 0.7808 GB, free: 43.42 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003973, allocations: 12.75 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.5507, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.7278, allocations: 150.3 MB / 1.173 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.7281, allocations: 96.78 kB / 1.173 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03713/0.7653, allocations: 14.66 MB / 1.188 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7653, allocations: 0 / 1.188 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.165e-05/0.7654, allocations: 16 kB / 1.188 GB, free: 9.051 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001502/0.7669, allocations: 0.9227 MB / 1.188 GB, free: 8.066 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.7669, allocations: 8.031 kB / 1.188 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.7671, allocations: 95.89 kB / 1.189 GB, free: 7.965 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.7678, allocations: 472.6 kB / 1.189 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.666e-05/0.768, allocations: 83.38 kB / 1.189 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-05/0.768, allocations: 56.38 kB / 1.189 GB, free: 7.32 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/0.769, allocations: 0.6178 MB / 1.19 GB, free: 6.637 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.769, allocations: 4 kB / 1.19 GB, free: 6.633 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.769, allocations: 20 kB / 1.19 GB, free: 6.613 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.7691, allocations: 20 kB / 1.19 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.7697, allocations: 375.5 kB / 1.19 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.7723, allocations: 2.655 MB / 1.193 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.7729, allocations: 380.7 kB / 1.193 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.7732, allocations: 175.8 kB / 1.193 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.7733, allocations: 8.266 kB / 1.193 GB, free: 2.832 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004182/0.7737, allocations: 284.8 kB / 1.194 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=43): time 2.695e-06/0.7737, allocations: 0 / 1.194 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43): time 0.000899/0.7746, allocations: 0.5004 MB / 1.194 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.7747, allocations: 218.2 kB / 1.194 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006852/0.7754, allocations: 0.6197 MB / 1.195 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.7755, allocations: 57.69 kB / 1.195 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.7757, allocations: 344.6 kB / 1.195 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.879e-05/0.7758, allocations: 110.7 kB / 1.195 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.7758, allocations: 12 kB / 1.195 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.776, allocations: 382.7 kB / 1.196 GB, free: 220 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.7763, allocations: 137.2 kB / 1.196 GB, free: 84 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.7767, allocations: 351.6 kB / 1.196 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/0.7773, allocations: 432.8 kB / 1.197 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.7773, allocations: 3.938 kB / 1.197 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008149/0.7781, allocations: 0.5385 MB / 1.197 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7781, allocations: 8 kB / 1.197 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.7782, allocations: 8.031 kB / 1.197 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.7782, allocations: 8 kB / 1.197 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.7784, allocations: 75.83 kB / 1.197 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.7784, allocations: 11.94 kB / 1.197 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.7787, allocations: 39.75 kB / 1.197 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/0.7787, allocations: 39.92 kB / 1.197 GB, free: 14.41 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003257/0.7791, allocations: 270.1 kB / 1.198 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/0.7792, allocations: 67.23 kB / 1.198 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006769/0.7798, allocations: 419.1 kB / 1.198 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.7799, allocations: 4 kB / 1.198 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7799, allocations: 4 kB / 1.198 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.7799, allocations: 3.984 kB / 1.198 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.7814, allocations: 1.083 MB / 1.199 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.7814, allocations: 4 kB / 1.199 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.7815, allocations: 27.92 kB / 1.199 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.7815, allocations: 7.938 kB / 1.199 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.7815, allocations: 11.98 kB / 1.199 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.7815, allocations: 4 kB / 1.199 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7816, allocations: 11.98 kB / 1.199 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.7822, allocations: 0.5298 MB / 1.2 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.7824, allocations: 148.2 kB / 1.2 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.7824, allocations: 19.94 kB / 1.2 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.7826, allocations: 19.98 kB / 1.2 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.7827, allocations: 51.92 kB / 1.2 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.7828, allocations: 19.98 kB / 1.2 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004442/0.7832, allocations: 402.8 kB / 1.2 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2e-07/0.7832, allocations: 0 / 1.2 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005111/0.7838, allocations: 131.9 kB / 1.2 GB, free: 11.07 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 41 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001025/0.7848, allocations: 497.5 kB / 1.201 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006983/0.7855, allocations: 409.2 kB / 1.201 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.7855, allocations: 1.562 kB / 1.201 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.7859, allocations: 211.7 kB / 1.201 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.7865, allocations: 97.59 kB / 1.202 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.7884, allocations: 1.314 MB / 1.203 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.7889, allocations: 0.9416 MB / 1.204 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002423/0.7892, allocations: 68.34 kB / 1.204 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.7893, allocations: 47.42 kB / 1.204 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.7893, allocations: 0 / 1.204 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of Templates: time 0.01229/0.8016, allocations: 5.729 MB / 1.209 GB, free: 1.934 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)