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.001047/0.001047, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001139/0.001139, allocations: 163.2 kB / 25.05 MB, free: 9.148 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.8971/0.8971, allocations: 177.1 MB / 205.5 MB, free: 5.473 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.968/1.968, allocations: 389.6 MB / 0.6363 GB, free: 12.28 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.645e-06/2.645e-06, allocations: 0.5469 kB / 0.7761 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.807e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.001945/0.001973, allocations: 1.149 MB / 0.7772 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.003198, allocations: 1.109 MB / 0.7783 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-05/0.003296, allocations: 7.938 kB / 0.7783 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.482e-05/0.003351, allocations: 19.73 kB / 0.7783 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.003494, allocations: 41.67 kB / 0.7784 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.003807, allocations: 98.44 kB / 0.7785 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.004034, allocations: 247.2 kB / 0.7787 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.004186, allocations: 78.41 kB / 0.7788 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.004415, allocations: 159.6 kB / 0.7789 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.782e-05/0.004503, allocations: 79.7 kB / 0.779 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.004534, allocations: 24.62 kB / 0.779 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.244e-05/0.004597, allocations: 24 kB / 0.7791 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.004635, allocations: 56.5 kB / 0.7791 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.004687, allocations: 67.83 kB / 0.7792 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.00487, allocations: 183.8 kB / 0.7794 GB, free: 2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004872, allocations: 0.625 kB / 0.7794 GB, free: 2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004873, allocations: 0 / 0.7794 GB, free: 2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.004879, allocations: 0.5938 kB / 0.7794 GB, free: 2 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.0005211/0.0054, allocations: 437.3 kB / 0.7798 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.005431, allocations: 9.875 kB / 0.7798 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.005572, allocations: 48.89 kB / 0.7798 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.005754, allocations: 166.1 kB / 0.78 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-05/0.005832, allocations: 116 kB / 0.7801 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.005859, allocations: 32.34 kB / 0.7801 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.006022, allocations: 147.5 kB / 0.7803 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.006034, allocations: 0.8125 kB / 0.7803 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.006045, allocations: 4.375 kB / 0.7803 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.006052, allocations: 8.844 kB / 0.7803 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.006116, allocations: 35.98 kB / 0.7803 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.006529, allocations: 333.1 kB / 0.7806 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.00667, allocations: 71.69 kB / 0.7807 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.006709, allocations: 34.5 kB / 0.7807 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.00673, allocations: 0 / 0.7807 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.006838, allocations: 105.8 kB / 0.7808 GB, free: 384 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.183e-06/0.006839, allocations: 0 / 0.7808 GB, free: 384 kB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0001703/0.00701, allocations: 101.7 kB / 0.7809 GB, free: 276 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.007045, allocations: 64.14 kB / 0.781 GB, free: 200 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.007144, allocations: 175.9 kB / 0.7812 GB, free: 12 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.007173, allocations: 30.2 kB / 0.7812 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.007225, allocations: 133.2 kB / 0.7813 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.007268, allocations: 59.42 kB / 0.7814 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.007315, allocations: 51.28 kB / 0.7814 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.007397, allocations: 334.8 kB / 0.7817 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.007426, allocations: 16 kB / 0.7818 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.402e-05/0.00747, allocations: 57.31 kB / 0.7818 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.077e-05/0.007551, allocations: 86.38 kB / 0.7819 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007552, allocations: 0.875 kB / 0.7819 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001209/0.007673, allocations: 117.5 kB / 0.782 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.007684, allocations: 5.031 kB / 0.782 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.007688, allocations: 0 / 0.782 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.007696, allocations: 4 kB / 0.782 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.0078, allocations: 41.66 kB / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.007803, allocations: 4 kB / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.007857, allocations: 23.88 kB / 0.7821 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.007865, allocations: 9.156 kB / 0.7821 GB, free: 15.02 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.757e-05/0.007933, allocations: 113.8 kB / 0.7822 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.007953, allocations: 24.58 kB / 0.7822 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.007982, allocations: 21.78 kB / 0.7823 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007984, allocations: 9.062 kB / 0.7823 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.007986, allocations: 0 / 0.7823 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.00799, allocations: 0 / 0.7823 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.008101, allocations: 138.4 kB / 0.7824 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.008103, allocations: 0 / 0.7824 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.186e-05/0.008194, allocations: 32.75 kB / 0.7824 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.008198, allocations: 4.938 kB / 0.7824 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.008211, allocations: 7.938 kB / 0.7824 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.008212, allocations: 0 / 0.7824 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008214, allocations: 4.531 kB / 0.7824 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.008397, allocations: 162.5 kB / 0.7826 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.008412, allocations: 15.84 kB / 0.7826 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.008427, allocations: 11.94 kB / 0.7826 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.41e-05/0.008472, allocations: 12.8 kB / 0.7826 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.008516, allocations: 19.97 kB / 0.7827 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.008524, allocations: 7.984 kB / 0.7827 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.008557, allocations: 51.55 kB / 0.7827 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008557, allocations: 0 / 0.7827 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001242/0.008681, allocations: 47.84 kB / 0.7828 GB, free: 14.31 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 7.849e-05/0.00876, allocations: 84.41 kB / 0.7828 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.008882, allocations: 76.77 kB / 0.7829 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.008884, allocations: 6.781 kB / 0.7829 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.904e-05/0.008943, allocations: 58.81 kB / 0.783 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.009093, allocations: 35.97 kB / 0.783 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000648/0.009741, allocations: 406.2 kB / 0.7834 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.009788, allocations: 76.91 kB / 0.7835 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.146e-05/0.009849, allocations: 20.08 kB / 0.7835 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.009941, allocations: 79.36 kB / 0.7836 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.009942, allocations: 1.312 kB / 0.7836 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of Templates: time 0.004156/0.0141, allocations: 2.403 MB / 0.7859 GB, free: 11.17 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.890776206739247]