Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00155/0.00155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002014, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 68.83 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3432, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.004886/0.3481, allocations: 3.033 MB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003255/0.3514, allocations: 1.798 MB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.3517, allocations: 11.94 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.353, allocations: 438.6 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000572/0.3535, allocations: 270.3 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.3547, allocations: 470.4 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000876/0.3556, allocations: 0.8185 MB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005728/0.3562, allocations: 496.1 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.3564, allocations: 298.9 kB / 1.076 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.3568, allocations: 318.5 kB / 1.076 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.823e-05/0.3569, allocations: 60 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.3571, allocations: 123.9 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.3574, allocations: 211.3 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.3577, allocations: 353.7 kB / 1.077 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008316/0.3585, allocations: 0.8291 MB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3585, allocations: 0 / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3585, allocations: 4 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.3586, allocations: 0 / 1.077 GB, free: 0.9102 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001695/0.3603, allocations: 1.136 MB / 1.079 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3603, allocations: 12.03 kB / 1.079 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.3605, allocations: 91.81 kB / 1.079 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006772/0.3612, allocations: 0.5166 MB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/0.3613, allocations: 75.2 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.3613, allocations: 55.94 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008192/0.3621, allocations: 0.5463 MB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3622, allocations: 7.875 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.3622, allocations: 19.98 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3622, allocations: 16 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.3628, allocations: 343.7 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.365, allocations: 1.932 MB / 1.082 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/0.3656, allocations: 346.8 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.3659, allocations: 169.4 kB / 1.083 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.366, allocations: 11.73 kB / 1.083 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004275/0.3664, allocations: 266.4 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.3664, allocations: 4 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.001034/0.3675, allocations: 0.4894 MB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.3676, allocations: 196.3 kB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008424/0.3685, allocations: 0.7462 MB / 1.084 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.3685, allocations: 45.7 kB / 1.084 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.3688, allocations: 368.8 kB / 1.085 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.3689, allocations: 118.5 kB / 1.085 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.3691, allocations: 138.3 kB / 1.085 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3692, allocations: 330 kB / 1.085 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.3695, allocations: 149.2 kB / 1.085 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.37, allocations: 315.5 kB / 1.086 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/0.3706, allocations: 393.1 kB / 1.086 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.3706, allocations: 3.938 kB / 1.086 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008703/0.3715, allocations: 0.5189 MB / 1.086 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3715, allocations: 8 kB / 1.086 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.3715, allocations: 8 kB / 1.086 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3715, allocations: 8 kB / 1.087 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.3718, allocations: 79.77 kB / 1.087 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.3718, allocations: 11.94 kB / 1.087 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.3721, allocations: 59.42 kB / 1.087 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.3721, allocations: 28 kB / 1.087 GB, free: 6.879 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.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.outPort[1].reset,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.localCondition,transition1.enableFire,transition1.localCondition,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.0003232/0.3725, allocations: 285.5 kB / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.3726, allocations: 71.16 kB / 1.087 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007579/0.3734, allocations: 428 kB / 1.087 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.3734, allocations: 4 kB / 1.087 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3734, allocations: 0 / 1.087 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.3734, allocations: 7.984 kB / 1.087 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.3749, allocations: 1.075 MB / 1.088 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3749, allocations: 8 kB / 1.088 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.375, allocations: 23.92 kB / 1.089 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3751, allocations: 4 kB / 1.089 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.3751, allocations: 15.98 kB / 1.089 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3751, allocations: 4 kB / 1.089 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.3751, allocations: 7.875 kB / 1.089 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.3758, allocations: 0.5279 MB / 1.089 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.376, allocations: 144.2 kB / 1.089 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.3761, allocations: 12 kB / 1.089 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3763, allocations: 19.98 kB / 1.089 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.3764, allocations: 51.88 kB / 1.089 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.3764, allocations: 19.98 kB / 1.089 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005786/0.377, allocations: 0.4951 MB / 1.09 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.01e-07/0.377, allocations: 0 / 1.09 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000526/0.3775, allocations: 143.6 kB / 1.09 GB, free: 3.434 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.active,staBy.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.localCondition,transition1.enableFire,transition2.localCondition,transition2.enableFire,staBy.localActive,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.localActive,pumOn.outPort[1].reset,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.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.001078/0.3786, allocations: 463.5 kB / 1.09 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000855/0.3795, allocations: 425.2 kB / 1.091 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3795, allocations: 3.938 kB / 1.091 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.3798, allocations: 196.7 kB / 1.091 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.3805, allocations: 137.8 kB / 1.091 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.3824, allocations: 1.24 MB / 1.092 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.3831, allocations: 0.9545 MB / 1.093 GB, free: 144 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002835/0.3834, allocations: 100.8 kB / 1.093 GB, free: 40 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.3836, allocations: 55.47 kB / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of SimCode: time 1.242e-06/0.3836, allocations: 0 / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.01419/0.3978, allocations: 6.715 MB / 1.1 GB, free: 9.34 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)