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.001369/0.001369, 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.001641/0.001641, allocations: 192 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.524/1.524, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 60.5 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3865, 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.00476/0.3913, allocations: 2.872 MB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00264/0.394, allocations: 1.67 MB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.3942, allocations: 7.938 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009921/0.3952, allocations: 295.3 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.3956, allocations: 155.3 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.3964, allocations: 335 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.397, allocations: 0.7026 MB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005246/0.3976, allocations: 444.6 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.3978, allocations: 255 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.3982, allocations: 274.7 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-05/0.3982, allocations: 36 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.3984, allocations: 87.95 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.3986, allocations: 183.3 kB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.3989, allocations: 314 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.3996, allocations: 0.7084 MB / 1.076 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3996, allocations: 4 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3996, allocations: 0 / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.3996, allocations: 0 / 1.076 GB, free: 2.586 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.001453/0.4011, allocations: 1.042 MB / 1.077 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4011, allocations: 8.031 kB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.4013, allocations: 91.84 kB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.4019, allocations: 488.8 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.4019, allocations: 45.69 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.402, allocations: 63.94 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009251/0.4029, allocations: 0.6169 MB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.403, allocations: 4 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.403, allocations: 23.98 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.403, allocations: 16 kB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006891/0.4037, allocations: 379.5 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.4062, allocations: 2.588 MB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.4069, allocations: 375 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.4072, allocations: 189 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.4073, allocations: 7.859 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004771/0.4078, allocations: 289.3 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 1.873e-06/0.4078, allocations: 0 / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.0009381/0.4087, allocations: 0.5026 MB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4088, allocations: 222.2 kB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/0.4095, allocations: 0.6196 MB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.4096, allocations: 49.69 kB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.4098, allocations: 344.6 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.159e-05/0.4099, allocations: 106.6 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.4101, allocations: 154.2 kB / 1.084 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4102, allocations: 386.8 kB / 1.084 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.4105, allocations: 137.2 kB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.4109, allocations: 350.9 kB / 1.084 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.4115, allocations: 433 kB / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4115, allocations: 0 / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008464/0.4124, allocations: 0.5384 MB / 1.085 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4124, allocations: 8 kB / 1.085 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.4124, allocations: 12.05 kB / 1.085 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.4124, allocations: 12 kB / 1.085 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.4128, allocations: 71.83 kB / 1.085 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.4128, allocations: 15.88 kB / 1.085 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.413, allocations: 67.36 kB / 1.086 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.4131, allocations: 28 kB / 1.086 GB, free: 7.746 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.0003105/0.4134, allocations: 273.5 kB / 1.086 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.761e-05/0.4135, allocations: 67.23 kB / 1.086 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006945/0.4142, allocations: 403.2 kB / 1.086 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.4142, allocations: 8 kB / 1.086 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.4142, allocations: 3.938 kB / 1.086 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4143, allocations: 7.984 kB / 1.086 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.4157, allocations: 1.071 MB / 1.087 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.4157, allocations: 7.938 kB / 1.087 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.4159, allocations: 27.92 kB / 1.087 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4159, allocations: 4 kB / 1.087 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.4159, allocations: 11.98 kB / 1.087 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.4159, allocations: 7.938 kB / 1.087 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4159, allocations: 0 / 1.087 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000725/0.4167, allocations: 0.5253 MB / 1.088 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.4168, allocations: 148.1 kB / 1.088 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.135e-05/0.4169, allocations: 8 kB / 1.088 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.417, allocations: 23.98 kB / 1.088 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.4172, allocations: 47.88 kB / 1.088 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.4172, allocations: 27.92 kB / 1.088 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004885/0.4177, allocations: 394.8 kB / 1.089 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.883e-06/0.4177, allocations: 0 / 1.089 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005248/0.4182, allocations: 143.6 kB / 1.089 GB, free: 4.434 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.001202/0.4195, allocations: 445 kB / 1.089 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007146/0.4202, allocations: 406.2 kB / 1.089 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4202, allocations: 4.5 kB / 1.089 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.4205, allocations: 199.7 kB / 1.09 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.4211, allocations: 98.72 kB / 1.09 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.4229, allocations: 1.352 MB / 1.091 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007602/0.4237, allocations: 0.9341 MB / 1.092 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.4239, allocations: 84.34 kB / 1.092 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.424, allocations: 47.42 kB / 1.092 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.424, allocations: 0 / 1.092 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of Templates: time 0.01149/0.4355, allocations: 5.282 MB / 1.097 GB, free: 11.75 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)