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.0009298/0.0009298, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.0009411/0.0009411, allocations: 165 kB / 24.25 MB, free: 208 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.9348/0.9348, allocations: 177.2 MB / 204.7 MB, free: 5.453 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.842/1.842, allocations: 389.6 MB / 0.6355 GB, free: 12.23 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.885e-06/2.885e-06, allocations: 0 / 0.7754 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/3.026e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.00182/0.001851, allocations: 0.7744 MB / 0.7761 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002254/0.002076, allocations: 52.42 kB / 0.7762 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.002145, allocations: 7.938 kB / 0.7762 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.002266, allocations: 8.703 kB / 0.7762 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.002385, allocations: 13.23 kB / 0.7762 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.11e-05/0.002436, allocations: 19.98 kB / 0.7762 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.002624, allocations: 186 kB / 0.7764 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.002821, allocations: 157.2 kB / 0.7765 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.003003, allocations: 175.7 kB / 0.7767 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.003098, allocations: 86.48 kB / 0.7768 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.003141, allocations: 20 kB / 0.7768 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.807e-05/0.003169, allocations: 23.94 kB / 0.7768 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.003231, allocations: 67.75 kB / 0.7769 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.003288, allocations: 63.84 kB / 0.777 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.003472, allocations: 207.1 kB / 0.7772 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003474, allocations: 0 / 0.7772 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.282e-06/0.003475, allocations: 2.75 kB / 0.7772 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.003481, allocations: 4 kB / 0.7772 GB, free: 3.48 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.0004001/0.003881, allocations: 444.1 kB / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.003919, allocations: 17.28 kB / 0.7776 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.003971, allocations: 44.84 kB / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.004199, allocations: 210.3 kB / 0.7778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.004233, allocations: 27.41 kB / 0.7779 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.004255, allocations: 28.31 kB / 0.7779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.004492, allocations: 231.8 kB / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.004499, allocations: 192 / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.004518, allocations: 12.38 kB / 0.7781 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.004525, allocations: 4.375 kB / 0.7781 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.119e-05/0.004616, allocations: 87.5 kB / 0.7782 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.005157, allocations: 0.5332 MB / 0.7787 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.19e-05/0.005199, allocations: 37.78 kB / 0.7788 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.005213, allocations: 14.56 kB / 0.7788 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.005227, allocations: 0 / 0.7788 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.005247, allocations: 35.09 kB / 0.7788 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.005248, allocations: 4 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000117/0.005365, allocations: 50.98 kB / 0.7789 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.005404, allocations: 81.7 kB / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.005559, allocations: 264.6 kB / 0.7792 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.00557, allocations: 30.45 kB / 0.7792 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.005646, allocations: 176.1 kB / 0.7794 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.005651, allocations: 5.438 kB / 0.7794 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.00571, allocations: 65.59 kB / 0.7795 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.005799, allocations: 330.8 kB / 0.7798 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.005819, allocations: 8 kB / 0.7798 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/0.005854, allocations: 34.34 kB / 0.7798 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.005902, allocations: 41.69 kB / 0.7799 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.005905, allocations: 1.719 kB / 0.7799 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.718e-05/0.005993, allocations: 81.66 kB / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.006006, allocations: 4 kB / 0.7799 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.006013, allocations: 4 kB / 0.78 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.006023, allocations: 4.797 kB / 0.78 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.00611, allocations: 27.92 kB / 0.78 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.006116, allocations: 4.438 kB / 0.78 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.006145, allocations: 19.89 kB / 0.78 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.006159, allocations: 4.75 kB / 0.78 GB, free: 380 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 0.0001013/0.00626, allocations: 130 kB / 0.7801 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.006284, allocations: 7.984 kB / 0.7801 GB, free: 232 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.006412, allocations: 144.3 kB / 0.7803 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-05/0.00648, allocations: 180.2 kB / 0.7805 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.122e-05/0.006531, allocations: 184.7 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.158e-05/0.006583, allocations: 181 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.006772, allocations: 369.3 kB / 0.7812 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/0.006802, allocations: 110.7 kB / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.006825, allocations: 101 kB / 0.7814 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-05/0.006872, allocations: 188.2 kB / 0.7815 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/0.006927, allocations: 180.3 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-05/0.006978, allocations: 176.3 kB / 0.7819 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.605e-05/0.007024, allocations: 188.6 kB / 0.7821 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.00713, allocations: 312.8 kB / 0.7824 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.007178, allocations: 124.8 kB / 0.7825 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.007236, allocations: 180.3 kB / 0.7826 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.007294, allocations: 117.4 kB / 0.7828 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.007338, allocations: 176.3 kB / 0.7829 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.007362, allocations: 106.4 kB / 0.783 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.812e-05/0.00742, allocations: 82.77 kB / 0.7831 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00742, allocations: 0 / 0.7831 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001339/0.007554, allocations: 44.59 kB / 0.7831 GB, free: 12.99 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 9.328e-05/0.007647, allocations: 156.3 kB / 0.7833 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.013e-05/0.007717, allocations: 38.03 kB / 0.7833 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.007721, allocations: 4 kB / 0.7833 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.007721, allocations: 0 / 0.7833 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.007951, allocations: 481.5 kB / 0.7838 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.0083, allocations: 438.1 kB / 0.7842 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.008342, allocations: 79.81 kB / 0.7843 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.008373, allocations: 14.36 kB / 0.7843 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.008435, allocations: 71.34 kB / 0.7844 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.008435, allocations: 0.7812 kB / 0.7844 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of Templates: time 0.01316/0.0216, allocations: 1.182 MB / 0.7855 GB, free: 10.55 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: 5.024743325076997]