Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.714/1.714, allocations: 288.3 MB / 303.2 MB, free: 8.184 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.001081/0.001081, allocations: 179.5 kB / 371.8 MB, free: 10.26 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.775/1.775, allocations: 205.4 MB / 0.6306 GB, free: 9.973 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.0009217/0.0009217, allocations: 101.5 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004688, allocations: 16.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2891, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.002983/0.2922, allocations: 2.585 MB / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.2943, allocations: 1.6 MB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.2946, allocations: 11.94 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008672/0.2955, allocations: 382.7 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.2959, allocations: 229.8 kB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008319/0.2967, allocations: 359.4 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.2972, allocations: 0.4993 MB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004761/0.2977, allocations: 394.7 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.2979, allocations: 247 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.2982, allocations: 254.8 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.2982, allocations: 23.94 kB / 0.9858 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.2984, allocations: 67.91 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.2986, allocations: 171.4 kB / 0.986 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.718e-05/0.2987, allocations: 149.2 kB / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.2991, allocations: 0.5887 MB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.2991, allocations: 0 / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2991, allocations: 0 / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.2991, allocations: 0 / 0.9868 GB, free: 20.12 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.001269/0.3004, allocations: 0.9834 MB / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3005, allocations: 16.02 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.3006, allocations: 98.77 kB / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006148/0.3012, allocations: 488.4 kB / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/0.3013, allocations: 90.56 kB / 0.9884 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.3014, allocations: 48 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/0.3021, allocations: 0.5307 MB / 0.9889 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.3021, allocations: 4 kB / 0.989 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.3022, allocations: 23.98 kB / 0.989 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.3022, allocations: 15.98 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.3027, allocations: 335.6 kB / 0.9893 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.3045, allocations: 2.071 MB / 0.9913 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.305, allocations: 290.2 kB / 0.9916 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.3051, allocations: 4 kB / 0.9916 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003435/0.3054, allocations: 199.2 kB / 0.9918 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.245e-06/0.3054, allocations: 4 kB / 0.9918 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.0007849/0.3062, allocations: 464.7 kB / 0.9922 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.3063, allocations: 118.8 kB / 0.9924 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006743/0.307, allocations: 0.7384 MB / 0.9931 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.307, allocations: 53.62 kB / 0.9931 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.3073, allocations: 376.7 kB / 0.9935 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.3073, allocations: 106.6 kB / 0.9936 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.3074, allocations: 12 kB / 0.9936 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.3074, allocations: 337.9 kB / 0.9939 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.3076, allocations: 125.2 kB / 0.994 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.308, allocations: 311.5 kB / 0.9943 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.3082, allocations: 144.7 kB / 0.9945 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3082, allocations: 0 / 0.9945 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000724/0.309, allocations: 0.5069 MB / 0.995 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.309, allocations: 4 kB / 0.995 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.309, allocations: 4 kB / 0.995 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.3091, allocations: 8 kB / 0.995 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.3093, allocations: 75.83 kB / 0.9951 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.3093, allocations: 8 kB / 0.9951 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.3097, allocations: 55.52 kB / 0.9951 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/0.3098, allocations: 35.86 kB / 0.9952 GB, free: 11.11 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.0004548/0.3103, allocations: 282.9 kB / 0.9954 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3104, allocations: 71.06 kB / 0.9955 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008827/0.3113, allocations: 420 kB / 0.9959 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3113, allocations: 4 kB / 0.9959 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.3113, allocations: 0 / 0.9959 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3113, allocations: 3.984 kB / 0.9959 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.3128, allocations: 1.059 MB / 0.9969 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3128, allocations: 0 / 0.9969 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.313, allocations: 31.92 kB / 0.997 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.313, allocations: 0 / 0.997 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.3131, allocations: 11.98 kB / 0.997 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.3131, allocations: 4 kB / 0.997 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3131, allocations: 4 kB / 0.997 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.3137, allocations: 489.6 kB / 0.9975 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.3138, allocations: 156.2 kB / 0.9976 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.3139, allocations: 8 kB / 0.9976 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.3141, allocations: 23.98 kB / 0.9976 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.3142, allocations: 47.94 kB / 0.9977 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.3142, allocations: 15.98 kB / 0.9977 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005406/0.3148, allocations: 0.499 MB / 0.9982 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3148, allocations: 0 / 0.9982 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004875/0.3153, allocations: 135.6 kB / 0.9983 GB, free: 7.77 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.001059/0.3164, allocations: 461.2 kB / 0.9988 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006155/0.317, allocations: 378.7 kB / 0.9991 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.317, allocations: 0 / 0.9991 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.3172, allocations: 171.6 kB / 0.9993 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.3178, allocations: 117.5 kB / 0.9994 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3195, allocations: 1.375 MB / 1.001 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.3199, allocations: 0.9734 MB / 1.002 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002562/0.3202, allocations: 92.78 kB / 1.002 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.3204, allocations: 55.42 kB / 1.002 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.3204, allocations: 0 / 1.002 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.01228/0.3327, allocations: 6.071 MB / 1.008 GB, free: 14.23 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)