Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008492/0.0008495, allocations: 98.27 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.006429/0.006429, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.501/1.501, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.07/3.07, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004395, allocations: 15.22 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3696, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004418/0.3741, allocations: 2.499 MB / 1.077 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003791/0.3779, allocations: 1.65 MB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/0.3788, allocations: 11.94 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.3801, allocations: 291.2 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006772/0.3808, allocations: 147.4 kB / 1.079 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.382, allocations: 334 kB / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009791/0.383, allocations: 0.7026 MB / 1.08 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006373/0.3837, allocations: 419 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.384, allocations: 219 kB / 1.08 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.3843, allocations: 246.7 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.3843, allocations: 28 kB / 1.08 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.3846, allocations: 71.95 kB / 1.081 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.3848, allocations: 167.3 kB / 1.081 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.3851, allocations: 311.7 kB / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000747/0.3858, allocations: 0.6926 MB / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3858, allocations: 0 / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3859, allocations: 0 / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.3859, allocations: 0 / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001391/0.3873, allocations: 0.8908 MB / 1.083 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3873, allocations: 12.03 kB / 1.083 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.3875, allocations: 83.91 kB / 1.083 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/0.3881, allocations: 0.4928 MB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.3881, allocations: 45.69 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.3882, allocations: 59.94 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009124/0.3892, allocations: 0.6208 MB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3892, allocations: 0 / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.3892, allocations: 20 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.3893, allocations: 12 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.3899, allocations: 383.5 kB / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.3925, allocations: 2.6 MB / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.3932, allocations: 380 kB / 1.087 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.3935, allocations: 180.9 kB / 1.087 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.3935, allocations: 8 kB / 1.087 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004698/0.394, allocations: 297.3 kB / 1.088 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 2.024e-06/0.394, allocations: 0 / 1.088 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.0009231/0.395, allocations: 0.5035 MB / 1.088 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.3951, allocations: 217.6 kB / 1.088 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006616/0.3958, allocations: 0.6118 MB / 1.089 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/0.3958, allocations: 53.7 kB / 1.089 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.3961, allocations: 344.6 kB / 1.089 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.904e-05/0.3962, allocations: 106.6 kB / 1.089 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3963, allocations: 97.64 kB / 1.089 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.3965, allocations: 386.8 kB / 1.09 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.3968, allocations: 137.2 kB / 1.09 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004778/0.3973, allocations: 346.9 kB / 1.09 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/0.3979, allocations: 433 kB / 1.091 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3979, allocations: 0 / 1.091 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008523/0.3988, allocations: 0.5424 MB / 1.091 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3988, allocations: 11.94 kB / 1.091 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3988, allocations: 4 kB / 1.091 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/0.3989, allocations: 12 kB / 1.091 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.3991, allocations: 75.77 kB / 1.091 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.3992, allocations: 15.88 kB / 1.091 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.3994, allocations: 67.36 kB / 1.091 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.3995, allocations: 31.94 kB / 1.091 GB, free: 5.121 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: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition2.t_start,$PRE.transition2.t_start,transition1.t_start,$PRE.transition1.t_start,transition4.t_start,$PRE.transition4.t_start,transition3.t_start,$PRE.transition3.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,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,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,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0003595/0.3998, allocations: 281.7 kB / 1.092 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.504e-05/0.3999, allocations: 63.16 kB / 1.092 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007119/0.4007, allocations: 407.2 kB / 1.092 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.4007, allocations: 4 kB / 1.092 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4007, allocations: 7.938 kB / 1.092 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4007, allocations: 3.984 kB / 1.092 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.4022, allocations: 1.063 MB / 1.093 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.4022, allocations: 7.938 kB / 1.093 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.4023, allocations: 31.92 kB / 1.093 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.4023, allocations: 3.984 kB / 1.093 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.4024, allocations: 12 kB / 1.093 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.4024, allocations: 8 kB / 1.093 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4024, allocations: 0 / 1.093 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007432/0.4031, allocations: 0.5329 MB / 1.094 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.4032, allocations: 144.2 kB / 1.094 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.4033, allocations: 19.98 kB / 1.094 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.4035, allocations: 12 kB / 1.094 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.4036, allocations: 47.88 kB / 1.094 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.4037, allocations: 23.98 kB / 1.094 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004256/0.4041, allocations: 398.8 kB / 1.094 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4041, allocations: 4 kB / 1.094 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005464/0.4047, allocations: 139.5 kB / 1.095 GB, free: 1.801 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: 42 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$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.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.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 (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.001104/0.4058, allocations: 458.6 kB / 1.095 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007383/0.4065, allocations: 405.8 kB / 1.095 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4065, allocations: 0 / 1.095 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.4069, allocations: 195.8 kB / 1.096 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/0.4076, allocations: 92.02 kB / 1.096 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.4094, allocations: 1.381 MB / 1.097 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.41, allocations: 0.9302 MB / 1.098 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002394/0.4102, allocations: 76.36 kB / 1.098 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4104, allocations: 47.42 kB / 1.098 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.4104, allocations: 0 / 1.098 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of Templates: time 0.01195/0.4223, allocations: 5.244 MB / 1.103 GB, free: 9.141 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)