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.0008924/0.0008924, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.0008596/0.0008596, allocations: 169.5 kB / 24.96 MB, free: 8.121 MB / 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.8914/0.8914, allocations: 177.1 MB / 205.4 MB, free: 5.492 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.907/1.907, allocations: 389.6 MB / 0.6362 GB, free: 12.29 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 2.484e-06/2.484e-06, allocations: 0 / 0.7759 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/3.008e-05, allocations: 6.75 kB / 0.776 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.005464/0.005494, allocations: 1.151 MB / 0.7771 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.006743, allocations: 1.125 MB / 0.7782 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.006845, allocations: 0.5469 kB / 0.7782 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.315e-05/0.006888, allocations: 15.75 kB / 0.7782 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.007047, allocations: 56.16 kB / 0.7782 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.007318, allocations: 91.83 kB / 0.7783 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.00752, allocations: 247.2 kB / 0.7786 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.007655, allocations: 78.39 kB / 0.7786 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.007883, allocations: 150.9 kB / 0.7788 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/0.007979, allocations: 75.77 kB / 0.7789 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.008009, allocations: 27.98 kB / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.008075, allocations: 32 kB / 0.7789 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.00811, allocations: 55.77 kB / 0.779 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.008162, allocations: 71.81 kB / 0.779 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.008353, allocations: 167.3 kB / 0.7792 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.008356, allocations: 0 / 0.7792 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.714e-06/0.008358, allocations: 4.562 kB / 0.7792 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.008363, allocations: 0 / 0.7792 GB, free: 2.086 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.0005075/0.008871, allocations: 439.4 kB / 0.7796 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.008909, allocations: 12.75 kB / 0.7796 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.009054, allocations: 44.91 kB / 0.7797 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.009229, allocations: 165.4 kB / 0.7798 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/0.009302, allocations: 126.5 kB / 0.78 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.009324, allocations: 20.38 kB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.009496, allocations: 142.8 kB / 0.7801 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.009506, allocations: 192 / 0.7801 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.009519, allocations: 8.375 kB / 0.7801 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.009526, allocations: 7.938 kB / 0.7801 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.009594, allocations: 43.91 kB / 0.7802 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.01002, allocations: 328.9 kB / 0.7805 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.01015, allocations: 71.91 kB / 0.7805 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.01019, allocations: 34.97 kB / 0.7806 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.01021, allocations: 4.875 kB / 0.7806 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.771e-05/0.01031, allocations: 100.2 kB / 0.7807 GB, free: 472 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.102e-06/0.01031, allocations: 1.75 kB / 0.7807 GB, free: 472 kB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0003652/0.01068, allocations: 115.8 kB / 0.7808 GB, free: 352 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.01071, allocations: 55.41 kB / 0.7808 GB, free: 284 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.0108, allocations: 175.9 kB / 0.781 GB, free: 96 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.01081, allocations: 29.7 kB / 0.781 GB, free: 60 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.01087, allocations: 125.2 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.01091, allocations: 72.16 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.01096, allocations: 45.62 kB / 0.7813 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.01104, allocations: 328.6 kB / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.058e-05/0.01107, allocations: 19.98 kB / 0.7816 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.01111, allocations: 45.39 kB / 0.7817 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.184e-05/0.01119, allocations: 86.44 kB / 0.7817 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.0112, allocations: 0 / 0.7817 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001224/0.01132, allocations: 126 kB / 0.7819 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01133, allocations: 8 kB / 0.7819 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01134, allocations: 1.594 kB / 0.7819 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.01134, allocations: 0 / 0.7819 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01146, allocations: 39.92 kB / 0.7819 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.01146, allocations: 4.812 kB / 0.7819 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.01152, allocations: 23.88 kB / 0.7819 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.01152, allocations: 4.875 kB / 0.7819 GB, free: 15.11 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 7.466e-05/0.0116, allocations: 126.3 kB / 0.7821 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.01162, allocations: 15.92 kB / 0.7821 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.01165, allocations: 26.52 kB / 0.7821 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01165, allocations: 4 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.01165, allocations: 1.156 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.01166, allocations: 0 / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.01177, allocations: 137.8 kB / 0.7822 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01177, allocations: 1.469 kB / 0.7822 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.01189, allocations: 31.98 kB / 0.7823 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01189, allocations: 0 / 0.7823 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.0119, allocations: 8.75 kB / 0.7823 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.0119, allocations: 4.141 kB / 0.7823 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.0119, allocations: 1.062 kB / 0.7823 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.0121, allocations: 154.7 kB / 0.7824 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.01212, allocations: 19.83 kB / 0.7824 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.01214, allocations: 8.844 kB / 0.7824 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.01218, allocations: 11.98 kB / 0.7825 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.01223, allocations: 28.89 kB / 0.7825 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.01224, allocations: 0 / 0.7825 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.547e-05/0.01228, allocations: 45.73 kB / 0.7825 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01228, allocations: 0 / 0.7825 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001329/0.01241, allocations: 55.84 kB / 0.7826 GB, free: 14.4 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 0.0001088/0.01252, allocations: 81.39 kB / 0.7827 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.01265, allocations: 97.69 kB / 0.7828 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01266, allocations: 0 / 0.7828 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.789e-05/0.01271, allocations: 41.78 kB / 0.7828 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.01287, allocations: 46.97 kB / 0.7828 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.01355, allocations: 408.2 kB / 0.7832 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.01359, allocations: 77.69 kB / 0.7833 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.022e-05/0.01365, allocations: 15.11 kB / 0.7833 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.01375, allocations: 87.34 kB / 0.7834 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.01375, allocations: 0.5312 kB / 0.7834 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of Templates: time 0.004035/0.01779, allocations: 2.395 MB / 0.7857 GB, free: 11.26 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.909416889771819]