Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.956/1.956, allocations: 287.5 MB / 302.6 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009978/0.0009978, allocations: 181.1 kB / 371.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 0.6298 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009648/0.0009648, allocations: 100.8 kB / 0.7432 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004324, allocations: 13 kB / 0.8661 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2781, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003379/0.2815, allocations: 2.62 MB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.2842, allocations: 1.632 MB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.2845, allocations: 11.94 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.2856, allocations: 392.5 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.286, allocations: 215.1 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009063/0.287, allocations: 360 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.2875, allocations: 0.7211 MB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.288, allocations: 435.6 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.2882, allocations: 250.9 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.2884, allocations: 262.7 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.2885, allocations: 20 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.2887, allocations: 79.91 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.2888, allocations: 171.4 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.289, allocations: 145.3 kB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.2895, allocations: 0.5884 MB / 0.9864 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.2895, allocations: 0 / 0.9864 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2895, allocations: 3.938 kB / 0.9864 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.2895, allocations: 0 / 0.9864 GB, free: 20.32 MB / 0.6198 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.001274/0.2908, allocations: 0.9797 MB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2908, allocations: 8.031 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.291, allocations: 95.81 kB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.2915, allocations: 0.5127 MB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/0.2916, allocations: 71.27 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.2917, allocations: 59.92 kB / 0.988 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007063/0.2924, allocations: 0.5424 MB / 0.9886 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.2924, allocations: 0 / 0.9886 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.2925, allocations: 24 kB / 0.9886 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.2925, allocations: 12 kB / 0.9886 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.293, allocations: 339.7 kB / 0.9889 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.2948, allocations: 2.071 MB / 0.9909 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.2953, allocations: 289.1 kB / 0.9912 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.2955, allocations: 146 kB / 0.9914 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.2956, allocations: 4 kB / 0.9914 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.2959, allocations: 214.6 kB / 0.9916 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.883e-06/0.2959, allocations: 0 / 0.9916 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.000743/0.2967, allocations: 464.7 kB / 0.992 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.2967, allocations: 110.8 kB / 0.9921 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006511/0.2974, allocations: 0.7462 MB / 0.9928 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.2974, allocations: 49.64 kB / 0.9929 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.2976, allocations: 384.5 kB / 0.9933 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.2977, allocations: 102.7 kB / 0.9934 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.2977, allocations: 16 kB / 0.9934 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.2978, allocations: 329.9 kB / 0.9937 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.2981, allocations: 137.2 kB / 0.9938 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.2983, allocations: 299.5 kB / 0.9941 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.2988, allocations: 377.1 kB / 0.9945 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2988, allocations: 0 / 0.9945 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006637/0.2995, allocations: 0.5031 MB / 0.995 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2995, allocations: 4 kB / 0.995 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2996, allocations: 8.031 kB / 0.995 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2996, allocations: 8 kB / 0.995 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.2998, allocations: 75.78 kB / 0.995 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.2998, allocations: 11.98 kB / 0.9951 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.3001, allocations: 59.52 kB / 0.9951 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.3001, allocations: 24 kB / 0.9951 GB, free: 10.85 MB / 0.6198 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.0002792/0.3004, allocations: 290.8 kB / 0.9954 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.3005, allocations: 71.06 kB / 0.9955 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006049/0.3011, allocations: 411.9 kB / 0.9959 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.3011, allocations: 8 kB / 0.9959 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3011, allocations: 0 / 0.9959 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3011, allocations: 7.922 kB / 0.9959 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.3024, allocations: 1.06 MB / 0.9969 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3024, allocations: 0 / 0.9969 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.896e-05/0.3025, allocations: 27.92 kB / 0.997 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3025, allocations: 0 / 0.997 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.3025, allocations: 12 kB / 0.997 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3025, allocations: 3.938 kB / 0.997 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3025, allocations: 4 kB / 0.997 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/0.3031, allocations: 493.9 kB / 0.9974 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.3032, allocations: 148.1 kB / 0.9976 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.3033, allocations: 12 kB / 0.9976 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3034, allocations: 27.92 kB / 0.9976 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3035, allocations: 47.92 kB / 0.9977 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.3036, allocations: 16 kB / 0.9977 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004345/0.304, allocations: 0.5029 MB / 0.9982 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.304, allocations: 0 / 0.9982 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004257/0.3045, allocations: 143.5 kB / 0.9983 GB, free: 7.484 MB / 0.6198 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.001094/0.3056, allocations: 448.3 kB / 0.9987 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005842/0.3062, allocations: 370.4 kB / 0.9991 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3062, allocations: 0 / 0.9991 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.3064, allocations: 171.9 kB / 0.9993 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/0.307, allocations: 110.9 kB / 0.9994 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.3086, allocations: 1.395 MB / 1.001 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.309, allocations: 0.9539 MB / 1.002 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002543/0.3092, allocations: 96.77 kB / 1.002 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3094, allocations: 59.41 kB / 1.002 GB, free: 4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.3094, allocations: 0 / 1.002 GB, free: 4 MB / 0.6198 GB Notification: Performance of Templates: time 0.01146/0.3208, allocations: 6.085 MB / 1.008 GB, free: 13.96 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)