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.001079/0.001079, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001179/0.001179, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.677/1.677, allocations: 205.1 MB / 222.1 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.841/1.841, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.002/0.002, allocations: 67.47 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3036, allocations: 114.6 MB / 0.7829 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005209/0.3088, allocations: 3.112 MB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003436/0.3123, allocations: 1.717 MB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005742/0.3129, allocations: 11.94 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.3143, allocations: 407.3 kB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007898/0.3151, allocations: 235.1 kB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.3163, allocations: 401.2 kB / 0.7886 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.3174, allocations: 0.811 MB / 0.7894 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008246/0.3182, allocations: 495.7 kB / 0.7898 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.3187, allocations: 306.8 kB / 0.7901 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.3192, allocations: 318.5 kB / 0.7904 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.3194, allocations: 52 kB / 0.7905 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.3197, allocations: 131.9 kB / 0.7906 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.32, allocations: 211.3 kB / 0.7908 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.3204, allocations: 353.7 kB / 0.7912 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.3215, allocations: 0.8252 MB / 0.792 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3216, allocations: 0 / 0.792 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3216, allocations: 0 / 0.792 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.082e-05/0.3216, allocations: 0 / 0.792 GB, free: 4.578 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.002456/0.3241, allocations: 1.123 MB / 0.7931 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3241, allocations: 8.031 kB / 0.7931 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.3244, allocations: 91.81 kB / 0.7932 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008441/0.3252, allocations: 0.5244 MB / 0.7937 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/0.3253, allocations: 67.27 kB / 0.7937 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/0.3254, allocations: 55.94 kB / 0.7938 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009064/0.3263, allocations: 0.5424 MB / 0.7943 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3264, allocations: 7.938 kB / 0.7943 GB, free: 2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.3264, allocations: 20 kB / 0.7943 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.3264, allocations: 12 kB / 0.7944 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/0.3271, allocations: 347.7 kB / 0.7947 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.3296, allocations: 2.06 MB / 0.7967 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.3301, allocations: 294.8 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.3304, allocations: 144.8 kB / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.3304, allocations: 8 kB / 0.7971 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.3308, allocations: 211.4 kB / 0.7973 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.884e-06/0.3308, allocations: 0 / 0.7973 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.0009063/0.3318, allocations: 464 kB / 0.7978 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.3318, allocations: 114.8 kB / 0.7979 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008467/0.3327, allocations: 0.754 MB / 0.7986 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.3328, allocations: 49.69 kB / 0.7987 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.3331, allocations: 380.6 kB / 0.799 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/0.3332, allocations: 102.7 kB / 0.7991 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.3334, allocations: 142.2 kB / 0.7993 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3335, allocations: 325.9 kB / 0.7996 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.3338, allocations: 141.2 kB / 0.7997 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.3341, allocations: 315.5 kB / 0.8 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.3347, allocations: 381.1 kB / 0.8004 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3347, allocations: 0 / 0.8004 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008436/0.3356, allocations: 0.4949 MB / 0.8008 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3356, allocations: 8 kB / 0.8009 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3356, allocations: 4 kB / 0.8009 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.3356, allocations: 8.594 kB / 0.8009 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.3359, allocations: 79.77 kB / 0.8009 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.3359, allocations: 12 kB / 0.801 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.3362, allocations: 63.36 kB / 0.801 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.3363, allocations: 24 kB / 0.801 GB, free: 10.8 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.0003288/0.3366, allocations: 283.5 kB / 0.8013 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3367, allocations: 67.16 kB / 0.8014 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007225/0.3374, allocations: 427.8 kB / 0.8018 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3375, allocations: 4 kB / 0.8018 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3375, allocations: 4 kB / 0.8018 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3375, allocations: 0 / 0.8018 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.3389, allocations: 1.056 MB / 0.8028 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3389, allocations: 4 kB / 0.8028 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.3391, allocations: 31.92 kB / 0.8029 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3391, allocations: 4 kB / 0.8029 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.3391, allocations: 7.984 kB / 0.8029 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.3391, allocations: 7.938 kB / 0.8029 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3391, allocations: 0 / 0.8029 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.3398, allocations: 485.8 kB / 0.8033 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3399, allocations: 152 kB / 0.8035 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.34, allocations: 12 kB / 0.8035 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3402, allocations: 27.86 kB / 0.8035 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.3403, allocations: 43.94 kB / 0.8036 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.3403, allocations: 16 kB / 0.8036 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005534/0.3409, allocations: 0.499 MB / 0.8041 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3409, allocations: 0 / 0.8041 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005073/0.3414, allocations: 131.7 kB / 0.8042 GB, free: 7.457 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.001084/0.3425, allocations: 466.8 kB / 0.8046 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008461/0.3434, allocations: 399.7 kB / 0.805 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3434, allocations: 0 / 0.805 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.3437, allocations: 175.7 kB / 0.8052 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006796/0.3444, allocations: 138.6 kB / 0.8053 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.3464, allocations: 1.426 MB / 0.8067 GB, free: 5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.347, allocations: 0.9614 MB / 0.8076 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002884/0.3473, allocations: 88.8 kB / 0.8077 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.3474, allocations: 55.42 kB / 0.8078 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.3474, allocations: 0 / 0.8078 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of Templates: time 0.01396/0.3614, allocations: 6.585 MB / 0.8142 GB, free: 13.35 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)