Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.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.0009049/0.0009049, 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.0009048/0.0009048, allocations: 163 kB / 24.96 MB, free: 8.613 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.9723/0.9723, allocations: 177.1 MB / 205.4 MB, free: 5.469 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.6362 GB, free: 12.33 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.Utilities.Validation.LastTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 0.7759 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.529e-05, allocations: 3.297 kB / 0.7759 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.00167/0.001695, allocations: 0.7794 MB / 0.7767 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000203/0.001898, allocations: 47.78 kB / 0.7768 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.001965, allocations: 7.938 kB / 0.7768 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.002074, allocations: 15.45 kB / 0.7768 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.002184, allocations: 22.09 kB / 0.7768 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 4.542e-05/0.002229, allocations: 15.98 kB / 0.7768 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.00242, allocations: 183.2 kB / 0.777 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.002616, allocations: 153.3 kB / 0.7771 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.002784, allocations: 171.7 kB / 0.7773 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.888e-05/0.002873, allocations: 95.72 kB / 0.7774 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.002904, allocations: 20 kB / 0.7774 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.285e-05/0.002927, allocations: 20 kB / 0.7774 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.002978, allocations: 59.77 kB / 0.7775 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.003034, allocations: 76.47 kB / 0.7776 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.003214, allocations: 203.1 kB / 0.7778 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003216, allocations: 0.6875 kB / 0.7778 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003217, allocations: 4 kB / 0.7778 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.003221, allocations: 0.5312 kB / 0.7778 GB, free: 3.609 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0003597/0.003581, allocations: 456.9 kB / 0.7782 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.003612, allocations: 9.344 kB / 0.7782 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.003664, allocations: 42.22 kB / 0.7782 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.003891, allocations: 210.3 kB / 0.7784 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.003927, allocations: 33.7 kB / 0.7785 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.003948, allocations: 28.31 kB / 0.7785 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.004182, allocations: 221.2 kB / 0.7787 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.004191, allocations: 192 / 0.7787 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.004206, allocations: 12.38 kB / 0.7787 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.004214, allocations: 4.375 kB / 0.7787 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.154e-05/0.004305, allocations: 83.41 kB / 0.7788 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.004882, allocations: 0.5418 MB / 0.7793 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.03e-05/0.004922, allocations: 33.16 kB / 0.7794 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/0.004936, allocations: 19.48 kB / 0.7794 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.004953, allocations: 11.92 kB / 0.7794 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.004972, allocations: 34.56 kB / 0.7794 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.004973, allocations: 0 / 0.7794 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001143/0.005087, allocations: 46.88 kB / 0.7795 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.005121, allocations: 77.11 kB / 0.7795 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.005551, allocations: 270.2 kB / 0.7798 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.00556, allocations: 25.7 kB / 0.7798 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.00563, allocations: 180.1 kB / 0.78 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-06/0.005636, allocations: 3.984 kB / 0.78 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.005689, allocations: 70.16 kB / 0.7801 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.005761, allocations: 326.8 kB / 0.7804 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.005781, allocations: 9.312 kB / 0.7804 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.005809, allocations: 29.69 kB / 0.7804 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.005854, allocations: 49.61 kB / 0.7805 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005856, allocations: 1.406 kB / 0.7805 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.424e-05/0.00594, allocations: 81.59 kB / 0.7805 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.005954, allocations: 5.562 kB / 0.7806 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.005959, allocations: 4 kB / 0.7806 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.00597, allocations: 0.5938 kB / 0.7806 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.00605, allocations: 25.33 kB / 0.7806 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.006054, allocations: 3.938 kB / 0.7806 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.006083, allocations: 15.89 kB / 0.7806 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.006093, allocations: 8 kB / 0.7806 GB, free: 0.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (idxLasTruAllFal.booToInt[6].y,idxLasTruAllFal.booToInt[5].y,idxLasTruAllFal.booToInt[4].y,idxLasTruAllFal.booToInt[3].y,idxLasTruAllFal.booToInt[2].y,idxLasTruAllFal.booToInt[1].y,idxLasTruAllFal.y,idxLasTru.booToInt[6].y,idxLasTru.booToInt[5].y,idxLasTru.booToInt[4].y,idxLasTru.booToInt[3].y,idxLasTru.booToInt[2].y,idxLasTru.booToInt[1].y,idxLasTru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.479e-05/0.006168, allocations: 122.4 kB / 0.7807 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.006191, allocations: 7.984 kB / 0.7807 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.006298, allocations: 152.5 kB / 0.7809 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/0.006334, allocations: 176.3 kB / 0.781 GB, free: 20 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.958e-05/0.006383, allocations: 188.1 kB / 0.7812 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-05/0.006426, allocations: 184.7 kB / 0.7814 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.006592, allocations: 375 kB / 0.7818 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/0.006618, allocations: 105 kB / 0.7819 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.00664, allocations: 101 kB / 0.782 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.87e-05/0.006679, allocations: 184.2 kB / 0.7821 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.006716, allocations: 176.3 kB / 0.7823 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.864e-05/0.006754, allocations: 181.3 kB / 0.7825 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.849e-05/0.006793, allocations: 184.4 kB / 0.7826 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.401e-05/0.006887, allocations: 315.7 kB / 0.783 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.006924, allocations: 121.9 kB / 0.7831 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.006971, allocations: 184.2 kB / 0.7832 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.333e-05/0.007024, allocations: 110.3 kB / 0.7833 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.007065, allocations: 184.2 kB / 0.7835 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.007089, allocations: 105.3 kB / 0.7836 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.382e-05/0.007153, allocations: 78.77 kB / 0.7837 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007153, allocations: 1.062 kB / 0.7837 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001476/0.0073, allocations: 47.78 kB / 0.7837 GB, free: 13.12 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001046/0.007405, allocations: 157 kB / 0.7839 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.181e-05/0.007487, allocations: 39.39 kB / 0.7839 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.007491, allocations: 4 kB / 0.7839 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.007492, allocations: 1.5 kB / 0.7839 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.007763, allocations: 480.2 kB / 0.7844 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.008211, allocations: 442.1 kB / 0.7848 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.241e-05/0.008263, allocations: 80.56 kB / 0.7849 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.302e-05/0.008306, allocations: 17.47 kB / 0.7849 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.008382, allocations: 68.38 kB / 0.785 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of SimCode: time 1.373e-06/0.008383, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.003629/0.01201, allocations: 1.17 MB / 0.7861 GB, free: 10.69 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.893284121528268]