Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001437, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001785, allocations: 196.2 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7451 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 67.5 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3311, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay): time 0.004857/0.336, allocations: 3.042 MB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003008/0.339, allocations: 1.759 MB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.3393, allocations: 11.94 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009479/0.3402, allocations: 316.6 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.3407, allocations: 182.9 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008801/0.3416, allocations: 390.3 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008112/0.3424, allocations: 0.7768 MB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006136/0.343, allocations: 475.8 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.3433, allocations: 267 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.3436, allocations: 282.6 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.933e-05/0.3437, allocations: 56 kB / 1.076 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.344, allocations: 108 kB / 1.076 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.3442, allocations: 207.3 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.3444, allocations: 322 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007385/0.3452, allocations: 0.7863 MB / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3452, allocations: 4 kB / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3452, allocations: 0 / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.3452, allocations: 0 / 1.077 GB, free: 1.504 MB / 0.8262 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.001403/0.3466, allocations: 1.038 MB / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.3467, allocations: 12.03 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.3468, allocations: 91.91 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/0.3475, allocations: 0.4931 MB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.741e-05/0.3475, allocations: 78.64 kB / 1.079 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/0.3476, allocations: 56 kB / 1.079 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008829/0.3485, allocations: 0.6138 MB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.3486, allocations: 11.92 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.3486, allocations: 20 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3486, allocations: 16 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006167/0.3492, allocations: 383.5 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.3518, allocations: 2.663 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/0.3524, allocations: 366.3 kB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.3526, allocations: 169.7 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/0.3527, allocations: 12.2 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.3532, allocations: 289.1 kB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.3532, allocations: 0 / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.0009766/0.3542, allocations: 0.495 MB / 1.084 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.3543, allocations: 221.5 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/0.355, allocations: 0.6002 MB / 1.084 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.3551, allocations: 53.7 kB / 1.084 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.3553, allocations: 344.6 kB / 1.085 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.258e-05/0.3555, allocations: 111.2 kB / 1.085 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.3556, allocations: 154.3 kB / 1.085 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3558, allocations: 378.8 kB / 1.085 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.3561, allocations: 141.2 kB / 1.085 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.3565, allocations: 338.8 kB / 1.086 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/0.3571, allocations: 425 kB / 1.086 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.3571, allocations: 4 kB / 1.086 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008172/0.3579, allocations: 0.5419 MB / 1.087 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3579, allocations: 8 kB / 1.087 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.358, allocations: 4 kB / 1.087 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.358, allocations: 15.94 kB / 1.087 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.3582, allocations: 75.77 kB / 1.087 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.3583, allocations: 8 kB / 1.087 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.3585, allocations: 55.84 kB / 1.087 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.3586, allocations: 39.92 kB / 1.087 GB, free: 6.605 MB / 0.8419 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,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,transition3.t_start,$PRE.transition3.t_start,transition4.t_start,$PRE.transition4.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,warUpCtr.timer.entryTime,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.passed,$PRE.warUpCtr.timer.passed,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.outPort.occupied,transition3.enableFire,transition2.enableFire,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003095/0.3589, allocations: 270.1 kB / 1.087 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.3591, allocations: 63.23 kB / 1.087 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007707/0.3599, allocations: 415 kB / 1.088 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3599, allocations: 8 kB / 1.088 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3599, allocations: 4 kB / 1.088 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3599, allocations: 4 kB / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.3613, allocations: 1.053 MB / 1.089 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3613, allocations: 4 kB / 1.089 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.733e-05/0.3614, allocations: 27.92 kB / 1.089 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3614, allocations: 11.98 kB / 1.089 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.3615, allocations: 8 kB / 1.089 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3615, allocations: 7.984 kB / 1.089 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3615, allocations: 0 / 1.089 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.3622, allocations: 0.5367 MB / 1.089 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3623, allocations: 140.2 kB / 1.089 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.3624, allocations: 15.98 kB / 1.089 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.3625, allocations: 15.98 kB / 1.089 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3626, allocations: 43.94 kB / 1.089 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.3627, allocations: 20 kB / 1.089 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004205/0.3631, allocations: 398.7 kB / 1.09 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3631, allocations: 0 / 1.09 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005229/0.3636, allocations: 143.6 kB / 1.09 GB, free: 3.316 MB / 0.8419 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.localActive,warUp.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.localCondition,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.outPort.occupied,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,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 (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.00114/0.3648, allocations: 467.8 kB / 1.09 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008819/0.3657, allocations: 429.5 kB / 1.091 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3657, allocations: 0 / 1.091 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.366, allocations: 199.7 kB / 1.091 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.3666, allocations: 107 kB / 1.091 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.3685, allocations: 1.151 MB / 1.092 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.369, allocations: 0.9302 MB / 1.093 GB, free: 156 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002299/0.3692, allocations: 80.34 kB / 1.093 GB, free: 76 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.3694, allocations: 47.42 kB / 1.093 GB, free: 28 kB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3694, allocations: 0 / 1.093 GB, free: 28 kB / 0.8419 GB Notification: Performance of Templates: time 0.01166/0.381, allocations: 5.612 MB / 1.099 GB, free: 10.47 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)