Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009352/0.0009352, allocations: 84.75 kB / 20.83 MB, free: 3.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 169 kB / 24.25 MB, free: 200 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9385/0.9385, allocations: 177.1 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.913/1.913, allocations: 389.6 MB / 0.6355 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.398e-06/1.079e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.001495/0.001506, allocations: 1.147 MB / 0.7765 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009931/0.002499, allocations: 1.112 MB / 0.7776 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.243e-05/0.002581, allocations: 4 kB / 0.7776 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.002627, allocations: 24.23 kB / 0.7776 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.002758, allocations: 42.97 kB / 0.7776 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.002983, allocations: 101 kB / 0.7777 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.003165, allocations: 247.2 kB / 0.778 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.003277, allocations: 78.45 kB / 0.778 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.00347, allocations: 148.4 kB / 0.7782 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.442e-05/0.003555, allocations: 83.69 kB / 0.7783 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.003583, allocations: 24.53 kB / 0.7783 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.632e-05/0.00364, allocations: 25.53 kB / 0.7783 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.003672, allocations: 55.81 kB / 0.7784 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.003717, allocations: 71.77 kB / 0.7784 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.003881, allocations: 179.2 kB / 0.7786 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003883, allocations: 0 / 0.7786 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003883, allocations: 1 kB / 0.7786 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.003887, allocations: 0 / 0.7786 GB, free: 2.012 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0004537/0.004341, allocations: 443.2 kB / 0.779 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.004371, allocations: 8.75 kB / 0.779 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.004498, allocations: 52.89 kB / 0.7791 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.004647, allocations: 157.4 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.004781, allocations: 122.1 kB / 0.7793 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.004803, allocations: 16.38 kB / 0.7794 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.004963, allocations: 154.7 kB / 0.7795 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.004973, allocations: 192 / 0.7795 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.004985, allocations: 8.375 kB / 0.7795 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004991, allocations: 7.938 kB / 0.7795 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.005054, allocations: 35.98 kB / 0.7796 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.005434, allocations: 338.5 kB / 0.7799 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.005561, allocations: 70.53 kB / 0.7799 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.005596, allocations: 28.86 kB / 0.78 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.005614, allocations: 5.656 kB / 0.78 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.005719, allocations: 104.2 kB / 0.7801 GB, free: 392 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.042e-06/0.00572, allocations: 0 / 0.7801 GB, free: 392 kB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0001568/0.005877, allocations: 107.7 kB / 0.7802 GB, free: 280 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.005905, allocations: 56.31 kB / 0.7802 GB, free: 212 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.005986, allocations: 175.9 kB / 0.7804 GB, free: 24 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.00601, allocations: 30.95 kB / 0.7804 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.006053, allocations: 128.5 kB / 0.7806 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.006091, allocations: 67.41 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.006137, allocations: 45.62 kB / 0.7807 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.006206, allocations: 332.5 kB / 0.781 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.006233, allocations: 19.94 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.454e-05/0.006278, allocations: 61.3 kB / 0.7811 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.949e-05/0.006357, allocations: 82.48 kB / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006359, allocations: 1.219 kB / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001128/0.006472, allocations: 117.5 kB / 0.7812 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.006481, allocations: 4 kB / 0.7812 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006485, allocations: 0.6562 kB / 0.7813 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-06/0.006492, allocations: 4 kB / 0.7813 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.006601, allocations: 49.03 kB / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.006604, allocations: 0 / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/0.006664, allocations: 16.7 kB / 0.7813 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.006673, allocations: 4 kB / 0.7813 GB, free: 15.04 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (loaHea.movAve.mode,$PRE.loaHea.movAve.mode,$whenCondition1,loaCoo.movAve.mode,$PRE.loaCoo.movAve.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 6.594e-05/0.006739, allocations: 123 kB / 0.7814 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.006757, allocations: 23.92 kB / 0.7815 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.006786, allocations: 26.38 kB / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.006787, allocations: 0 / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.006789, allocations: 4.891 kB / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.006793, allocations: 0 / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.006897, allocations: 141.8 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006898, allocations: 0.9375 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.006993, allocations: 39.91 kB / 0.7817 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006995, allocations: 0.5312 kB / 0.7817 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.007006, allocations: 9.719 kB / 0.7817 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.007007, allocations: 0 / 0.7817 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.007007, allocations: 0 / 0.7817 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.00717, allocations: 150.9 kB / 0.7818 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.007187, allocations: 23.83 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.007204, allocations: 8.469 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.007248, allocations: 18.83 kB / 0.7819 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.007288, allocations: 15.97 kB / 0.7819 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.007295, allocations: 4 kB / 0.7819 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.007326, allocations: 48.8 kB / 0.7819 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007326, allocations: 0 / 0.7819 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001223/0.007449, allocations: 43.89 kB / 0.782 GB, free: 14.33 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (loaHea.movAve.mu,loaCoo.movAve.mu) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,loaHea.movAve.mode,loaCoo.movAve.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6.181e-05/0.00751, allocations: 95.38 kB / 0.7821 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.00763, allocations: 84.7 kB / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.007632, allocations: 0 / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.007685, allocations: 44.78 kB / 0.7822 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.007822, allocations: 42.42 kB / 0.7822 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/0.008415, allocations: 415 kB / 0.7826 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.008451, allocations: 76.22 kB / 0.7827 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.744e-05/0.008509, allocations: 19.83 kB / 0.7827 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.734e-05/0.008606, allocations: 83.36 kB / 0.7828 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.008607, allocations: 0 / 0.7828 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of Templates: time 0.003701/0.01231, allocations: 2.395 MB / 0.7851 GB, free: 11.18 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.908477805554867]