Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001513/0.001513, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001752/0.001752, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002239, allocations: 72.33 kB / 0.6717 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2476, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.004638/0.2523, allocations: 3.113 MB / 0.7865 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.2552, allocations: 1.721 MB / 0.7882 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.2557, allocations: 11.94 kB / 0.7882 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.257, allocations: 407.3 kB / 0.7886 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007729/0.2578, allocations: 232 kB / 0.7889 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.259, allocations: 406.2 kB / 0.7892 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.26, allocations: 0.8071 MB / 0.79 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/0.2608, allocations: 0.4958 MB / 0.7905 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005098/0.2614, allocations: 302.8 kB / 0.7908 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005203/0.2619, allocations: 322.5 kB / 0.7911 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.2621, allocations: 52 kB / 0.7912 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003221/0.2624, allocations: 119.9 kB / 0.7913 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.2626, allocations: 215.3 kB / 0.7915 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.263, allocations: 345.8 kB / 0.7918 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008027/0.2638, allocations: 0.6354 MB / 0.7924 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2639, allocations: 0 / 0.7924 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2639, allocations: 4 kB / 0.7924 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.025e-05/0.2639, allocations: 0 / 0.7924 GB, free: 4.746 MB / 0.6075 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.001967/0.2659, allocations: 1.127 MB / 0.7935 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2659, allocations: 8.031 kB / 0.7935 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.2661, allocations: 91.81 kB / 0.7936 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/0.2668, allocations: 0.5127 MB / 0.7941 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.88e-05/0.2669, allocations: 83.25 kB / 0.7942 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.137e-05/0.267, allocations: 51.94 kB / 0.7943 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008736/0.2679, allocations: 0.5424 MB / 0.7948 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.2679, allocations: 3.938 kB / 0.7948 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.268, allocations: 24 kB / 0.7948 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.268, allocations: 12 kB / 0.7948 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.2686, allocations: 343.6 kB / 0.7952 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.271, allocations: 2.067 MB / 0.7972 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.2715, allocations: 294.8 kB / 0.7975 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.2718, allocations: 148.8 kB / 0.7976 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.2718, allocations: 4 kB / 0.7976 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003857/0.2722, allocations: 211.4 kB / 0.7978 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.665e-06/0.2722, allocations: 4 kB / 0.7978 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.0008864/0.2731, allocations: 464 kB / 0.7982 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.2732, allocations: 118.8 kB / 0.7984 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008302/0.2741, allocations: 0.7462 MB / 0.7991 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.2741, allocations: 45.7 kB / 0.7991 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.2744, allocations: 380.6 kB / 0.7995 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-05/0.2745, allocations: 106.7 kB / 0.7996 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.2747, allocations: 138.2 kB / 0.7997 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2748, allocations: 333.9 kB / 0.8 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.2751, allocations: 133.2 kB / 0.8002 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.2755, allocations: 318.5 kB / 0.8005 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.276, allocations: 377.2 kB / 0.8008 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.276, allocations: 4 kB / 0.8008 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007984/0.2768, allocations: 0.5029 MB / 0.8013 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.2769, allocations: 8 kB / 0.8013 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2769, allocations: 4 kB / 0.8013 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.2769, allocations: 8 kB / 0.8014 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.2772, allocations: 71.84 kB / 0.8014 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.2772, allocations: 11.92 kB / 0.8014 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.2775, allocations: 63.38 kB / 0.8015 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.2775, allocations: 28.23 kB / 0.8015 GB, free: 10.96 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,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 (73): * Single equations (assignments): 73 * 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.0003462/0.2779, allocations: 282.8 kB / 0.8018 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.278, allocations: 71.14 kB / 0.8019 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007136/0.2787, allocations: 419.8 kB / 0.8023 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2787, allocations: 4 kB / 0.8023 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2787, allocations: 0 / 0.8023 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2788, allocations: 11.98 kB / 0.8023 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.2803, allocations: 1.052 MB / 0.8033 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2803, allocations: 0 / 0.8033 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2804, allocations: 31.91 kB / 0.8033 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2804, allocations: 0 / 0.8033 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.2805, allocations: 12 kB / 0.8033 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.2805, allocations: 7.938 kB / 0.8033 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2805, allocations: 4 kB / 0.8034 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006634/0.2811, allocations: 489.7 kB / 0.8038 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.2813, allocations: 148 kB / 0.804 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.2814, allocations: 15.92 kB / 0.804 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.2816, allocations: 27.92 kB / 0.804 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.2817, allocations: 39.95 kB / 0.804 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.2817, allocations: 23.98 kB / 0.8041 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005515/0.2823, allocations: 0.499 MB / 0.8046 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2823, allocations: 0 / 0.8046 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005042/0.2828, allocations: 135.7 kB / 0.8047 GB, free: 7.605 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 (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) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001073/0.2839, allocations: 446.8 kB / 0.8051 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000845/0.2848, allocations: 406.7 kB / 0.8055 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2848, allocations: 0 / 0.8055 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.2851, allocations: 175.5 kB / 0.8057 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.2858, allocations: 132.8 kB / 0.8058 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.2878, allocations: 1.463 MB / 0.8072 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.2884, allocations: 0.9614 MB / 0.8082 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.2886, allocations: 55.42 kB / 0.8082 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of SimCode: time 9.31e-07/0.2886, allocations: 0 / 0.8082 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of Templates: time 0.01451/0.3031, allocations: 8.925 MB / 0.8169 GB, free: 11.22 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)