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.001186/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00152/0.00152, allocations: 196.6 kB / 16.14 MB, free: 6.703 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.462/1.462, allocations: 205.1 MB / 222 MB, free: 5 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.74/1.74, allocations: 292.2 MB / 0.5484 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.001313/0.001313, allocations: 58.17 kB / 0.6708 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2438, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.004943/0.2488, allocations: 3.109 MB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003185/0.252, allocations: 1.729 MB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.2525, allocations: 15.88 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.2537, allocations: 404.3 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005391/0.2543, allocations: 231.2 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.2552, allocations: 403.3 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007073/0.256, allocations: 0.7758 MB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004956/0.2565, allocations: 457.4 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.2568, allocations: 278.8 kB / 0.7899 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.2571, allocations: 302.5 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-05/0.2572, allocations: 36 kB / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.2574, allocations: 99.88 kB / 0.7903 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.2576, allocations: 199.2 kB / 0.7905 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.2579, allocations: 329.8 kB / 0.7908 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.2586, allocations: 0.7746 MB / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2586, allocations: 0 / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2586, allocations: 0 / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2586, allocations: 0 / 0.7915 GB, free: 4.871 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.001499/0.2601, allocations: 1.131 MB / 0.7926 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2601, allocations: 8.031 kB / 0.7926 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.2603, allocations: 91.81 kB / 0.7927 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/0.2609, allocations: 0.5204 MB / 0.7932 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.261, allocations: 75.27 kB / 0.7933 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.641e-05/0.2611, allocations: 51.94 kB / 0.7934 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/0.262, allocations: 0.5463 MB / 0.7939 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.262, allocations: 4 kB / 0.7939 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.262, allocations: 20 kB / 0.7939 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.262, allocations: 15.94 kB / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.2626, allocations: 335.7 kB / 0.7943 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.2648, allocations: 2.064 MB / 0.7963 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.2654, allocations: 302.8 kB / 0.7966 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.2656, allocations: 144.8 kB / 0.7967 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.2657, allocations: 4 kB / 0.7967 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003731/0.2661, allocations: 207.5 kB / 0.7969 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.984e-06/0.2661, allocations: 3.938 kB / 0.7969 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.0009241/0.267, allocations: 468 kB / 0.7974 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.2671, allocations: 110.8 kB / 0.7975 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.2679, allocations: 0.754 MB / 0.7982 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.268, allocations: 45.69 kB / 0.7982 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.2682, allocations: 384.6 kB / 0.7986 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/0.2683, allocations: 102.6 kB / 0.7987 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.2685, allocations: 134.3 kB / 0.7988 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2686, allocations: 329.9 kB / 0.7991 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.2689, allocations: 141.2 kB / 0.7993 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.2693, allocations: 311.5 kB / 0.7996 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.2698, allocations: 381.2 kB / 0.7999 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2698, allocations: 4 kB / 0.7999 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007908/0.2706, allocations: 0.4953 MB / 0.8004 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2706, allocations: 12.12 kB / 0.8004 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2706, allocations: 4 kB / 0.8004 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2707, allocations: 8 kB / 0.8005 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.2709, allocations: 75.83 kB / 0.8005 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.271, allocations: 11.94 kB / 0.8005 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.2712, allocations: 63.36 kB / 0.8006 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.2713, allocations: 27.94 kB / 0.8006 GB, free: 11.09 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.0003138/0.2716, allocations: 278.8 kB / 0.8009 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.2717, allocations: 67.16 kB / 0.801 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000789/0.2725, allocations: 423.8 kB / 0.8014 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2725, allocations: 4 kB / 0.8014 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2726, allocations: 4 kB / 0.8014 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2726, allocations: 4.031 kB / 0.8014 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.274, allocations: 1.056 MB / 0.8024 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.274, allocations: 0 / 0.8024 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.2741, allocations: 27.92 kB / 0.8024 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2741, allocations: 4 kB / 0.8024 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.2741, allocations: 11.98 kB / 0.8024 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.2741, allocations: 11.88 kB / 0.8025 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2741, allocations: 0 / 0.8025 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006182/0.2748, allocations: 493.9 kB / 0.8029 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.2749, allocations: 152 kB / 0.8031 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.275, allocations: 8 kB / 0.8031 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.2751, allocations: 23.92 kB / 0.8031 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2753, allocations: 39.94 kB / 0.8031 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.2753, allocations: 20 kB / 0.8032 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005299/0.2758, allocations: 0.5029 MB / 0.8036 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2758, allocations: 4 kB / 0.8036 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005288/0.2764, allocations: 135.7 kB / 0.8038 GB, free: 7.738 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.001153/0.2775, allocations: 447.1 kB / 0.8042 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007375/0.2783, allocations: 374.6 kB / 0.8046 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2783, allocations: 0 / 0.8046 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.2786, allocations: 175.9 kB / 0.8047 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.2793, allocations: 118.9 kB / 0.8048 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.2811, allocations: 1.425 MB / 0.8062 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.2816, allocations: 0.9578 MB / 0.8072 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002825/0.2819, allocations: 100.8 kB / 0.8073 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.282, allocations: 47.42 kB / 0.8073 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.282, allocations: 4 kB / 0.8073 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of Templates: time 0.012/0.294, allocations: 6.347 MB / 0.8135 GB, free: 13.93 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)