Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000969/0.0009694, allocations: 97.64 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.006232/0.006232, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004803, allocations: 8.656 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4224, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003969/0.4265, allocations: 2.726 MB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003146/0.4296, allocations: 1.779 MB / 1.079 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.4299, allocations: 11.94 kB / 1.079 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.431, allocations: 407 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005111/0.4316, allocations: 235.1 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.4326, allocations: 429.4 kB / 1.08 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008803/0.4335, allocations: 0.7872 MB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005831/0.4341, allocations: 435.6 kB / 1.081 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.4344, allocations: 250.8 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.4347, allocations: 274.6 kB / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.4348, allocations: 24 kB / 1.081 GB, free: 224 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.435, allocations: 83.95 kB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.4352, allocations: 179.2 kB / 1.082 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.4355, allocations: 335.5 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008073/0.4363, allocations: 0.7588 MB / 1.083 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4363, allocations: 0 / 1.083 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4364, allocations: 0 / 1.083 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.4364, allocations: 0 / 1.083 GB, free: 14.86 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001591/0.438, allocations: 0.9957 MB / 1.084 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.438, allocations: 12.03 kB / 1.084 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.4382, allocations: 91.81 kB / 1.084 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006897/0.4389, allocations: 0.5127 MB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.112e-05/0.439, allocations: 75.2 kB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.4391, allocations: 55.94 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009908/0.4401, allocations: 0.5463 MB / 1.085 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4401, allocations: 4 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.4402, allocations: 24 kB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.4402, allocations: 12 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.4409, allocations: 347.6 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.4434, allocations: 1.936 MB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/0.444, allocations: 354.8 kB / 1.087 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.4443, allocations: 165.4 kB / 1.088 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.4444, allocations: 15.73 kB / 1.088 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005549/0.4449, allocations: 258.5 kB / 1.088 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.4449, allocations: 3.938 kB / 1.088 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.001087/0.446, allocations: 0.4973 MB / 1.088 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002538/0.4463, allocations: 191.9 kB / 1.089 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009804/0.4473, allocations: 0.7423 MB / 1.089 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.4473, allocations: 49.7 kB / 1.089 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.4477, allocations: 364.8 kB / 1.09 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.4478, allocations: 114.5 kB / 1.09 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4479, allocations: 89.66 kB / 1.09 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.448, allocations: 334.1 kB / 1.09 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.4483, allocations: 137.2 kB / 1.09 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.4487, allocations: 319.5 kB / 1.091 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006094/0.4494, allocations: 385.2 kB / 1.091 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.4494, allocations: 7.938 kB / 1.091 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009263/0.4503, allocations: 0.5148 MB / 1.091 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4503, allocations: 8 kB / 1.091 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4504, allocations: 4 kB / 1.091 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.4505, allocations: 8 kB / 1.091 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.4508, allocations: 75.83 kB / 1.092 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.4508, allocations: 7.938 kB / 1.092 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.4511, allocations: 59.52 kB / 1.092 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.4511, allocations: 31.98 kB / 1.092 GB, free: 5.047 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition4.t_start,$PRE.transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.fire,transition3.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,pumOn.oldActive,$PRE.pumOn.oldActive,pumOn.newActive,$PRE.pumOn.newActive,pumOn.localActive,$PRE.pumOn.localActive,pumOn.active,staBy.oldActive,$PRE.staBy.oldActive,staBy.newActive,$PRE.staBy.newActive,staBy.outPort[2].available,staBy.localActive,$PRE.staBy.localActive,staBy.active,transition2.enableFire,transition2.condition,transition1.enableFire,transition1.condition,actMod,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003454/0.4515, allocations: 281.7 kB / 1.092 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.4517, allocations: 75.06 kB / 1.092 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007704/0.4525, allocations: 420.1 kB / 1.092 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.4525, allocations: 4 kB / 1.092 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4525, allocations: 4 kB / 1.092 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.4525, allocations: 7.984 kB / 1.092 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.4543, allocations: 1.071 MB / 1.093 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4543, allocations: 0 / 1.093 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.4545, allocations: 35.86 kB / 1.093 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.4545, allocations: 4 kB / 1.093 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.4545, allocations: 11.98 kB / 1.093 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4545, allocations: 8 kB / 1.093 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4545, allocations: 3.938 kB / 1.094 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.4553, allocations: 0.5201 MB / 1.094 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.4555, allocations: 152.1 kB / 1.094 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.4555, allocations: 19.98 kB / 1.094 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.4558, allocations: 23.98 kB / 1.094 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.4559, allocations: 47.88 kB / 1.094 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.4559, allocations: 12 kB / 1.094 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006065/0.4565, allocations: 0.5029 MB / 1.095 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4566, allocations: 0 / 1.095 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005443/0.4571, allocations: 139.6 kB / 1.095 GB, free: 1.605 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 39 (transition4.t_start,transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001173/0.4583, allocations: 458.8 kB / 1.095 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007332/0.459, allocations: 390.3 kB / 1.096 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.459, allocations: 4.062 kB / 1.096 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.4594, allocations: 195.5 kB / 1.096 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007807/0.4602, allocations: 124.8 kB / 1.096 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.4623, allocations: 1.469 MB / 1.097 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.4629, allocations: 0.9614 MB / 1.098 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002935/0.4632, allocations: 96.75 kB / 1.098 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.4633, allocations: 55.42 kB / 1.099 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of SimCode: time 6.21e-07/0.4633, allocations: 4 kB / 1.099 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of Templates: time 0.01485/0.4782, allocations: 6.355 MB / 1.105 GB, free: 7.68 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)