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.001228/0.001228, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00168/0.00168, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.559/1.559, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.078/3.078, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 61 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3785, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004266/0.3828, allocations: 2.876 MB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002648/0.3855, allocations: 1.67 MB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.3857, allocations: 11.94 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009692/0.3867, allocations: 287.3 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.3871, allocations: 155.3 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.3878, allocations: 335 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.3885, allocations: 0.7026 MB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.389, allocations: 452.6 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.3893, allocations: 247 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.3895, allocations: 274.8 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.172e-05/0.3896, allocations: 36 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.3898, allocations: 87.91 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.39, allocations: 187.3 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.3903, allocations: 310 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.391, allocations: 0.7123 MB / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.391, allocations: 0 / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.31e-07/0.391, allocations: 0 / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.391, allocations: 0 / 1.076 GB, free: 2.582 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001417/0.3924, allocations: 1.039 MB / 1.077 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3925, allocations: 8.031 kB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.3926, allocations: 91.84 kB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.3932, allocations: 0.489 MB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.3933, allocations: 45.67 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/0.3934, allocations: 67.92 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009226/0.3943, allocations: 0.6131 MB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3943, allocations: 3.938 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.3944, allocations: 24 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3944, allocations: 12 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.3951, allocations: 379.5 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.3976, allocations: 2.588 MB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.3983, allocations: 375 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.3986, allocations: 185 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.3987, allocations: 15.78 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004509/0.3991, allocations: 289.3 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 2.495e-06/0.3991, allocations: 0 / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.001022/0.4002, allocations: 0.4988 MB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.4003, allocations: 230.2 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006149/0.4009, allocations: 0.6158 MB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.401, allocations: 49.69 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.4012, allocations: 340.6 kB / 1.083 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/0.4013, allocations: 122.5 kB / 1.083 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.4015, allocations: 150.2 kB / 1.084 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4017, allocations: 378.8 kB / 1.084 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.402, allocations: 141.2 kB / 1.084 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.4024, allocations: 350.9 kB / 1.084 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.4029, allocations: 425 kB / 1.085 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4029, allocations: 0 / 1.085 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008312/0.4038, allocations: 0.5377 MB / 1.085 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4038, allocations: 10.34 kB / 1.085 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.4038, allocations: 8 kB / 1.085 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.4038, allocations: 12 kB / 1.085 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.4041, allocations: 79.77 kB / 1.085 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.4041, allocations: 15.94 kB / 1.085 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.4044, allocations: 63.3 kB / 1.086 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.4044, allocations: 28 kB / 1.086 GB, free: 7.738 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.0003174/0.4047, allocations: 269.6 kB / 1.086 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/0.4048, allocations: 67.25 kB / 1.086 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007228/0.4056, allocations: 415.2 kB / 1.086 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.4056, allocations: 4 kB / 1.086 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4056, allocations: 7.938 kB / 1.086 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4056, allocations: 3.984 kB / 1.086 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.4071, allocations: 1.067 MB / 1.087 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4071, allocations: 7.938 kB / 1.087 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.4072, allocations: 31.91 kB / 1.087 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.4073, allocations: 4 kB / 1.087 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.4073, allocations: 8 kB / 1.087 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.4073, allocations: 4 kB / 1.087 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4073, allocations: 3.984 kB / 1.087 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007324/0.4081, allocations: 0.5252 MB / 1.088 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.4082, allocations: 148.1 kB / 1.088 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/0.4083, allocations: 12 kB / 1.088 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.4084, allocations: 15.98 kB / 1.088 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.4086, allocations: 51.94 kB / 1.088 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.4086, allocations: 23.92 kB / 1.088 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004302/0.4091, allocations: 398.8 kB / 1.089 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.665e-06/0.4091, allocations: 0 / 1.089 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005254/0.4096, allocations: 147.5 kB / 1.089 GB, free: 4.422 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.001136/0.4108, allocations: 446.8 kB / 1.089 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007005/0.4115, allocations: 398.5 kB / 1.089 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4115, allocations: 0 / 1.089 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.4118, allocations: 204 kB / 1.09 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005985/0.4124, allocations: 98.11 kB / 1.09 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.4143, allocations: 1.36 MB / 1.091 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.4148, allocations: 0.9302 MB / 1.092 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.4151, allocations: 76.38 kB / 1.092 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.4152, allocations: 51.42 kB / 1.092 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.4152, allocations: 0 / 1.092 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of Templates: time 0.01148/0.4267, allocations: 5.281 MB / 1.097 GB, free: 11.74 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)