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.0008546/0.0008546, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.0008614/0.0008614, allocations: 171.9 kB / 25.05 MB, free: 9.211 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.9391/0.9391, allocations: 177.1 MB / 205.5 MB, free: 5.477 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.921/1.921, allocations: 389.6 MB / 0.6363 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.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 1.874e-06/1.874e-06, allocations: 0 / 0.7761 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.391e-05, allocations: 3.938 kB / 0.7761 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.001527/0.001551, allocations: 0.78 MB / 0.7769 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.001736, allocations: 47.78 kB / 0.7769 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.001799, allocations: 7.938 kB / 0.7769 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.001916, allocations: 12.91 kB / 0.7769 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.002027, allocations: 13.23 kB / 0.777 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 4.136e-05/0.002069, allocations: 15.98 kB / 0.777 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.002256, allocations: 195.1 kB / 0.7772 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.002438, allocations: 149.3 kB / 0.7773 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.002589, allocations: 183.6 kB / 0.7775 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.002667, allocations: 87.72 kB / 0.7776 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.002699, allocations: 20 kB / 0.7776 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.247e-05/0.002722, allocations: 20 kB / 0.7776 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.002768, allocations: 64.61 kB / 0.7777 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.002822, allocations: 67.78 kB / 0.7777 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.002989, allocations: 207.9 kB / 0.7779 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002991, allocations: 0 / 0.7779 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.62e-07/0.002991, allocations: 1.719 kB / 0.7779 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.002995, allocations: 0 / 0.7779 GB, free: 3.508 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.0003724/0.003367, allocations: 452.1 kB / 0.7784 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.003405, allocations: 13.28 kB / 0.7784 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.003456, allocations: 40.91 kB / 0.7784 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.003686, allocations: 211.1 kB / 0.7786 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.003717, allocations: 29.52 kB / 0.7786 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.003742, allocations: 25.12 kB / 0.7787 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.003973, allocations: 227.8 kB / 0.7789 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.003983, allocations: 7.062 kB / 0.7789 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.003998, allocations: 8.375 kB / 0.7789 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.004006, allocations: 8.375 kB / 0.7789 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.979e-05/0.004096, allocations: 90.86 kB / 0.779 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.004601, allocations: 0.5293 MB / 0.7795 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.004e-05/0.004641, allocations: 41.16 kB / 0.7795 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.004654, allocations: 9.719 kB / 0.7795 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.004667, allocations: 6.812 kB / 0.7796 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.004686, allocations: 34.5 kB / 0.7796 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.004686, allocations: 0 / 0.7796 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001169/0.004803, allocations: 41.69 kB / 0.7796 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.004839, allocations: 89.03 kB / 0.7797 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.004994, allocations: 268.6 kB / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.005002, allocations: 27.8 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.005068, allocations: 176.1 kB / 0.7802 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-06/0.005073, allocations: 4 kB / 0.7802 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.005126, allocations: 69.58 kB / 0.7802 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.005205, allocations: 326.8 kB / 0.7805 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.005226, allocations: 16.52 kB / 0.7806 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.703e-05/0.005253, allocations: 26.83 kB / 0.7806 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.005294, allocations: 37.69 kB / 0.7806 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005295, allocations: 3.938 kB / 0.7806 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.062e-05/0.005376, allocations: 86.45 kB / 0.7807 GB, free: 472 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.005387, allocations: 4 kB / 0.7807 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.005391, allocations: 0 / 0.7807 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.005398, allocations: 0.5312 kB / 0.7807 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.005471, allocations: 32.86 kB / 0.7807 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.005475, allocations: 3.938 kB / 0.7807 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.005501, allocations: 20.48 kB / 0.7808 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.00551, allocations: 4 kB / 0.7808 GB, free: 408 kB / 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.475e-05/0.005585, allocations: 130 kB / 0.7809 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.005613, allocations: 9.438 kB / 0.7809 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.005713, allocations: 143.4 kB / 0.781 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.772e-05/0.005761, allocations: 180.3 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.815e-05/0.005799, allocations: 180.2 kB / 0.7814 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/0.005837, allocations: 188.8 kB / 0.7816 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.005988, allocations: 366 kB / 0.7819 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/0.006011, allocations: 104.9 kB / 0.782 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.006035, allocations: 110.1 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.756e-05/0.006072, allocations: 184.1 kB / 0.7823 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.006111, allocations: 184.2 kB / 0.7825 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.734e-05/0.006148, allocations: 181.1 kB / 0.7826 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.835e-05/0.006187, allocations: 180.4 kB / 0.7828 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.894e-05/0.006276, allocations: 316.3 kB / 0.7831 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.006313, allocations: 116.8 kB / 0.7832 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.00636, allocations: 184.9 kB / 0.7834 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.006414, allocations: 113 kB / 0.7835 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.006456, allocations: 182 kB / 0.7837 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.006479, allocations: 105.2 kB / 0.7838 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.006535, allocations: 74.78 kB / 0.7839 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006535, allocations: 0 / 0.7839 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001403/0.006675, allocations: 43.78 kB / 0.7839 GB, free: 13.02 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 8.174e-05/0.006757, allocations: 165.2 kB / 0.7841 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.323e-05/0.00683, allocations: 46.88 kB / 0.7841 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.006835, allocations: 4.938 kB / 0.7841 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.006836, allocations: 0 / 0.7841 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.007053, allocations: 469 kB / 0.7846 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.007392, allocations: 446.1 kB / 0.785 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.015e-05/0.007432, allocations: 80.75 kB / 0.7851 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.007462, allocations: 17.48 kB / 0.7851 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.007516, allocations: 68.36 kB / 0.7851 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of SimCode: time 5.72e-07/0.007516, allocations: 0 / 0.7851 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of Templates: time 0.002799/0.01032, allocations: 1.18 MB / 0.7863 GB, free: 10.59 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.858205125667155]