Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001011/0.001011, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.008733/0.008733, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.49/1.49, allocations: 223.2 MB / 240.3 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 10.91 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3882, 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.003892/0.3921, allocations: 2.495 MB / 1.077 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003489/0.3956, allocations: 1.65 MB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004871/0.3962, allocations: 11.94 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.3972, allocations: 279.3 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005223/0.3977, allocations: 167.3 kB / 1.079 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009692/0.3987, allocations: 323.1 kB / 1.079 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.3997, allocations: 0.7065 MB / 1.08 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007171/0.4005, allocations: 415 kB / 1.08 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.4008, allocations: 211.1 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.4012, allocations: 250.7 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.111e-05/0.4013, allocations: 24 kB / 1.08 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.4016, allocations: 71.92 kB / 1.081 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.4018, allocations: 163.3 kB / 1.081 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.4021, allocations: 315.7 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008368/0.403, allocations: 0.6926 MB / 1.082 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.403, allocations: 0 / 1.082 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.186e-06/0.403, allocations: 0 / 1.082 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.29e-05/0.403, allocations: 0 / 1.082 GB, free: 15.79 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.001751/0.4048, allocations: 0.8947 MB / 1.083 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.4048, allocations: 8.031 kB / 1.083 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.4051, allocations: 91.84 kB / 1.083 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.4059, allocations: 492.7 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/0.4059, allocations: 45.69 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.406, allocations: 63.92 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.4071, allocations: 0.6169 MB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.4072, allocations: 7.938 kB / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/0.4072, allocations: 20 kB / 1.084 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.4073, allocations: 19.98 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007586/0.408, allocations: 371.6 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.4112, allocations: 2.6 MB / 1.087 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.4119, allocations: 394.6 kB / 1.087 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.4122, allocations: 177 kB / 1.087 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.4123, allocations: 4 kB / 1.087 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.4128, allocations: 305.2 kB / 1.088 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 2.294e-06/0.4128, allocations: 0 / 1.088 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.0009795/0.4138, allocations: 0.4957 MB / 1.088 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.4139, allocations: 225.5 kB / 1.088 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/0.4146, allocations: 0.6079 MB / 1.089 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.4147, allocations: 57.69 kB / 1.089 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.415, allocations: 340.6 kB / 1.089 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.776e-05/0.4151, allocations: 110.6 kB / 1.089 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.4152, allocations: 97.66 kB / 1.089 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002384/0.4154, allocations: 386.9 kB / 1.09 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.4158, allocations: 137.2 kB / 1.09 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.4162, allocations: 350.8 kB / 1.09 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.4168, allocations: 429 kB / 1.091 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4168, allocations: 4 kB / 1.091 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00089/0.4177, allocations: 0.5383 MB / 1.091 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4178, allocations: 8 kB / 1.091 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4178, allocations: 8 kB / 1.091 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.4178, allocations: 8 kB / 1.091 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.4181, allocations: 75.78 kB / 1.091 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.4181, allocations: 19.92 kB / 1.091 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.4184, allocations: 59.38 kB / 1.091 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.4184, allocations: 31.98 kB / 1.091 GB, free: 5.133 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.0003623/0.4188, allocations: 277.7 kB / 1.092 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.4189, allocations: 71.14 kB / 1.092 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/0.4197, allocations: 399.2 kB / 1.092 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4197, allocations: 8 kB / 1.092 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/0.4197, allocations: 7.875 kB / 1.092 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.4197, allocations: 7.984 kB / 1.092 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.4214, allocations: 1.067 MB / 1.093 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.4214, allocations: 15.88 kB / 1.093 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.935e-05/0.4215, allocations: 23.92 kB / 1.093 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.4215, allocations: 4 kB / 1.093 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.4215, allocations: 15.98 kB / 1.093 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.4215, allocations: 4 kB / 1.093 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4215, allocations: 0 / 1.093 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.4223, allocations: 0.5368 MB / 1.094 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4224, allocations: 140.2 kB / 1.094 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/0.4225, allocations: 16 kB / 1.094 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.4227, allocations: 19.98 kB / 1.094 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.4228, allocations: 43.94 kB / 1.094 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.4228, allocations: 19.98 kB / 1.094 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004615/0.4233, allocations: 402.8 kB / 1.094 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4233, allocations: 0 / 1.094 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005961/0.4239, allocations: 139.5 kB / 1.095 GB, free: 1.809 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.001157/0.4251, allocations: 457.9 kB / 1.095 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007601/0.4259, allocations: 405.7 kB / 1.095 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4259, allocations: 0 / 1.095 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.4262, allocations: 199.7 kB / 1.096 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007117/0.4269, allocations: 94.97 kB / 1.096 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.4294, allocations: 1.373 MB / 1.097 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.43, allocations: 0.9418 MB / 1.098 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002629/0.4303, 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.000128/0.4304, allocations: 47.42 kB / 1.098 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.4305, allocations: 3.938 kB / 1.098 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of Templates: time 0.01247/0.4429, allocations: 5.241 MB / 1.103 GB, free: 9.141 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)