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.0009843/0.0009905, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001342/0.001342, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.648/1.648, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005578/0.0005581, allocations: 16 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2629, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.00341/0.2663, allocations: 2.624 MB / 0.7899 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002857/0.2692, allocations: 1.636 MB / 0.7914 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.2695, allocations: 11.94 kB / 0.7915 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.2706, allocations: 385.2 kB / 0.7918 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.271, allocations: 223 kB / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008681/0.2719, allocations: 361.8 kB / 0.7924 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007959/0.2727, allocations: 0.7173 MB / 0.7931 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.2732, allocations: 410.6 kB / 0.7935 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.2735, allocations: 242.9 kB / 0.7937 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.2738, allocations: 262.7 kB / 0.794 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/0.2738, allocations: 20 kB / 0.794 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.274, allocations: 87.89 kB / 0.7941 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.2742, allocations: 167.4 kB / 0.7942 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2743, allocations: 137.3 kB / 0.7944 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.2749, allocations: 0.5887 MB / 0.7949 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2749, allocations: 0 / 0.7949 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2749, allocations: 3.938 kB / 0.7949 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.2749, allocations: 4 kB / 0.7949 GB, free: 4.07 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.001324/0.2763, allocations: 0.9873 MB / 0.7959 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2763, allocations: 11.97 kB / 0.7959 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.2764, allocations: 94.83 kB / 0.796 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.2771, allocations: 0.4926 MB / 0.7965 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.895e-05/0.2772, allocations: 66.7 kB / 0.7965 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.2773, allocations: 55.98 kB / 0.7966 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000826/0.2781, allocations: 0.5424 MB / 0.7971 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2782, allocations: 0 / 0.7971 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.2782, allocations: 16 kB / 0.7971 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.2782, allocations: 15.94 kB / 0.7972 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005615/0.2788, allocations: 339.7 kB / 0.7975 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.2809, allocations: 2.068 MB / 0.7995 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.2814, allocations: 286 kB / 0.7998 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.2816, allocations: 148.8 kB / 0.7999 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.2817, allocations: 4 kB / 0.7999 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.2821, allocations: 215.3 kB / 0.8001 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 3.106e-06/0.2821, allocations: 3.984 kB / 0.8001 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.0008195/0.2829, allocations: 464 kB / 0.8006 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.283, allocations: 114.7 kB / 0.8007 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.2838, allocations: 0.7501 MB / 0.8014 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.2838, allocations: 37.7 kB / 0.8015 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.2842, allocations: 384.7 kB / 0.8018 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.2843, allocations: 114.6 kB / 0.8019 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.2843, allocations: 8 kB / 0.8019 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2844, allocations: 329.9 kB / 0.8023 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.2847, allocations: 129.2 kB / 0.8024 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.285, allocations: 311.5 kB / 0.8027 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.2853, allocations: 152.8 kB / 0.8028 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2853, allocations: 0 / 0.8028 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007377/0.2861, allocations: 0.4987 MB / 0.8033 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2861, allocations: 8 kB / 0.8033 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2861, allocations: 4 kB / 0.8033 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.2861, allocations: 8 kB / 0.8033 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.2864, allocations: 75.83 kB / 0.8034 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.2864, allocations: 15.94 kB / 0.8034 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.2867, allocations: 59.98 kB / 0.8035 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.2867, allocations: 28 kB / 0.8035 GB, free: 10.9 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,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,pumOn.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition3.localCondition) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.287, allocations: 270.8 kB / 0.8038 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.2871, allocations: 75.06 kB / 0.8038 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006898/0.2878, allocations: 415.9 kB / 0.8042 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.2878, allocations: 11.92 kB / 0.8042 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2878, allocations: 4 kB / 0.8042 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2879, allocations: 0 / 0.8042 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.2893, allocations: 1.063 MB / 0.8053 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2893, allocations: 0 / 0.8053 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.2894, allocations: 31.92 kB / 0.8053 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2894, allocations: 0 / 0.8053 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.2894, allocations: 15.98 kB / 0.8053 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2894, allocations: 0 / 0.8053 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2894, allocations: 0 / 0.8053 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.2901, allocations: 493.7 kB / 0.8058 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.2902, allocations: 144.2 kB / 0.8059 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.2903, allocations: 15.98 kB / 0.8059 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.2905, allocations: 23.98 kB / 0.806 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.2906, allocations: 51.86 kB / 0.806 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.2907, allocations: 16 kB / 0.806 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006251/0.2913, allocations: 0.4951 MB / 0.8065 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2913, allocations: 0 / 0.8065 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005663/0.2919, allocations: 135.6 kB / 0.8066 GB, free: 7.555 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/0.2933, allocations: 462.7 kB / 0.8071 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008411/0.2941, allocations: 366.7 kB / 0.8074 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2941, allocations: 1.188 kB / 0.8074 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.2945, allocations: 171.6 kB / 0.8076 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.2951, allocations: 110.9 kB / 0.8077 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.297, allocations: 1.377 MB / 0.809 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.2976, allocations: 0.9578 MB / 0.81 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003076/0.2979, allocations: 104.8 kB / 0.8101 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.2981, allocations: 55.42 kB / 0.8101 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/0.2981, allocations: 0 / 0.8101 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.01267/0.3107, allocations: 6.085 MB / 0.8161 GB, free: 14.05 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: