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 2.809/2.809, allocations: 287.5 MB / 302.4 MB, free: 8.195 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.002524/0.002524, allocations: 183.2 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.319/2.319, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009607/0.0009608, allocations: 88.8 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008071/0.0008076, allocations: 11.91 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2539, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003917/0.2579, allocations: 2.62 MB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003462/0.2614, allocations: 1.639 MB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.2619, allocations: 15.88 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.2632, allocations: 388.5 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000671/0.2639, allocations: 219.1 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.2653, allocations: 365.4 kB / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009854/0.2663, allocations: 0.7211 MB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005858/0.2669, allocations: 398.6 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.2672, allocations: 239 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.2675, allocations: 266.7 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.246e-05/0.2676, allocations: 24 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.268, allocations: 79.89 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.2682, allocations: 171.4 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.2683, allocations: 149.2 kB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000701/0.269, allocations: 0.5848 MB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.269, allocations: 4 kB / 0.986 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2691, allocations: 0 / 0.986 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.2691, allocations: 0 / 0.986 GB, free: 20.51 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.001772/0.2709, allocations: 0.9912 MB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2709, allocations: 12.02 kB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.2711, allocations: 98.83 kB / 0.9871 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008075/0.2719, allocations: 492.4 kB / 0.9875 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.192e-05/0.272, allocations: 70.7 kB / 0.9876 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.263e-05/0.2721, allocations: 52 kB / 0.9877 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.2732, allocations: 0.5423 MB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.2733, allocations: 7.984 kB / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.2733, allocations: 24 kB / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.2734, allocations: 12 kB / 0.9882 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008791/0.2743, allocations: 339.6 kB / 0.9886 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.2769, allocations: 2.068 MB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.2777, allocations: 293.1 kB / 0.9908 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.2781, allocations: 140.8 kB / 0.991 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/0.2782, allocations: 11.98 kB / 0.991 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/0.2787, allocations: 210.7 kB / 0.9912 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 4.028e-06/0.2787, allocations: 0 / 0.9912 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.001256/0.28, allocations: 468.7 kB / 0.9916 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.28, allocations: 110.8 kB / 0.9917 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.2811, allocations: 0.7423 MB / 0.9925 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.2812, allocations: 49.69 kB / 0.9925 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.2815, allocations: 376.6 kB / 0.9929 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.905e-05/0.2816, allocations: 106.6 kB / 0.993 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.2817, allocations: 12 kB / 0.993 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.2817, allocations: 333.9 kB / 0.9933 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.2821, allocations: 133.2 kB / 0.9934 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.2826, allocations: 307.5 kB / 0.9937 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.283, allocations: 140.7 kB / 0.9939 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2831, allocations: 8 kB / 0.9939 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001136/0.2842, allocations: 0.4952 MB / 0.9944 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.2843, allocations: 16.11 kB / 0.9944 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.2843, allocations: 7.938 kB / 0.9944 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.2843, allocations: 8 kB / 0.9944 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.2848, allocations: 67.84 kB / 0.9945 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.2848, allocations: 8 kB / 0.9945 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.2852, allocations: 59.52 kB / 0.9945 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.2853, allocations: 27.98 kB / 0.9945 GB, free: 11.34 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.0004516/0.2857, allocations: 282.7 kB / 0.9948 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2858, allocations: 75.06 kB / 0.9949 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.2869, allocations: 412.2 kB / 0.9953 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.2869, allocations: 4 kB / 0.9953 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2869, allocations: 0 / 0.9953 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2869, allocations: 3.984 kB / 0.9953 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.2889, allocations: 1.056 MB / 0.9963 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2889, allocations: 0 / 0.9963 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.2891, allocations: 27.92 kB / 0.9963 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.2891, allocations: 4 kB / 0.9963 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.2892, allocations: 11.98 kB / 0.9964 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.2892, allocations: 4 kB / 0.9964 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2892, allocations: 0 / 0.9964 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009465/0.2902, allocations: 0.4938 MB / 0.9968 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.2903, allocations: 144.2 kB / 0.997 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.2904, allocations: 12 kB / 0.997 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.2907, allocations: 15.98 kB / 0.997 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.2909, allocations: 43.94 kB / 0.9971 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.291, allocations: 23.98 kB / 0.9971 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007719/0.2918, allocations: 0.5029 MB / 0.9976 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.4e-07/0.2918, allocations: 0 / 0.9976 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006776/0.2925, allocations: 135.6 kB / 0.9977 GB, free: 8.008 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.001309/0.2938, allocations: 464.2 kB / 0.9981 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.2948, allocations: 370.5 kB / 0.9985 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2948, allocations: 0 / 0.9985 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004122/0.2953, allocations: 175.8 kB / 0.9987 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.2963, allocations: 117.2 kB / 0.9988 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.2987, allocations: 1.375 MB / 1 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.2993, allocations: 0.9578 MB / 1.001 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004731/0.2997, allocations: 96.78 kB / 1.001 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.2999, allocations: 55.42 kB / 1.001 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.3, allocations: 0 / 1.001 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of Templates: time 0.01913/0.3191, allocations: 6.093 MB / 1.007 GB, free: 14.46 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)