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.0009837/0.0009837, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009478/0.0009478, allocations: 161 kB / 24.17 MB, free: 328 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.9886/0.9886, allocations: 177.1 MB / 204.6 MB, free: 5.488 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 2.004/2.004, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] 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.433e-06/1.433e-06, allocations: 0.6562 kB / 0.7752 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.453e-05, allocations: 3.812 kB / 0.7752 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.001327/0.001342, allocations: 0.7788 MB / 0.7759 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001762/0.001518, allocations: 52.33 kB / 0.776 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.001574, allocations: 0 / 0.776 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.884e-05/0.001673, allocations: 17.28 kB / 0.776 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.001776, allocations: 12.91 kB / 0.776 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 4.414e-05/0.00182, allocations: 19.97 kB / 0.776 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.001991, allocations: 183.8 kB / 0.7762 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.002171, allocations: 149.3 kB / 0.7764 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.002333, allocations: 182.4 kB / 0.7765 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.002415, allocations: 91.72 kB / 0.7766 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.002444, allocations: 20 kB / 0.7766 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.002465, allocations: 20 kB / 0.7767 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.002513, allocations: 71.7 kB / 0.7767 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.00256, allocations: 67.77 kB / 0.7768 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.002726, allocations: 195.2 kB / 0.777 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.002729, allocations: 4 kB / 0.777 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.473e-06/0.00273, allocations: 5.797 kB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.002735, allocations: 0 / 0.777 GB, free: 3.551 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.0003273/0.003062, allocations: 452.1 kB / 0.7774 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.003094, allocations: 8.625 kB / 0.7774 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.003141, allocations: 41.94 kB / 0.7775 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.003355, allocations: 218.2 kB / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.003393, allocations: 34.02 kB / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.003416, allocations: 24.38 kB / 0.7777 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.003644, allocations: 216.4 kB / 0.7779 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.003652, allocations: 192 / 0.7779 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.003667, allocations: 13.09 kB / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.003673, allocations: 8.312 kB / 0.778 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.003764, allocations: 91.8 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.004284, allocations: 0.5332 MB / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.00432, allocations: 37.59 kB / 0.7786 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/0.004333, allocations: 14.72 kB / 0.7786 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.004345, allocations: 0 / 0.7786 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.004363, allocations: 34.56 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.004364, allocations: 1.438 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001068/0.004471, allocations: 49.62 kB / 0.7787 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.004501, allocations: 81.75 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.004654, allocations: 269.3 kB / 0.779 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.004662, allocations: 25.7 kB / 0.7791 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.004732, allocations: 189.8 kB / 0.7792 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-06/0.004738, allocations: 0 / 0.7792 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.004791, allocations: 69.59 kB / 0.7793 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.004869, allocations: 326.8 kB / 0.7796 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.004891, allocations: 11.98 kB / 0.7796 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.004926, allocations: 34.5 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.004972, allocations: 37.69 kB / 0.7797 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004973, allocations: 0.5 kB / 0.7797 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.671e-05/0.00506, allocations: 86.19 kB / 0.7798 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.00507, allocations: 6.5 kB / 0.7798 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.005074, allocations: 4.875 kB / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.005085, allocations: 4 kB / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.005161, allocations: 28.83 kB / 0.7798 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.005164, allocations: 7.875 kB / 0.7798 GB, free: 464 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.005192, allocations: 16.77 kB / 0.7798 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.005201, allocations: 4 kB / 0.7799 GB, free: 444 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.614e-05/0.005277, allocations: 126 kB / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.005306, allocations: 8 kB / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/0.005404, allocations: 145.3 kB / 0.7801 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.056e-05/0.005455, allocations: 180.3 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.801e-05/0.005493, allocations: 180.2 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-05/0.005532, allocations: 188.1 kB / 0.7806 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.0057, allocations: 377.3 kB / 0.781 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/0.005724, allocations: 105.6 kB / 0.7811 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.005747, allocations: 101.8 kB / 0.7812 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.753e-05/0.005785, allocations: 180.3 kB / 0.7814 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.005826, allocations: 185.3 kB / 0.7815 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.473e-05/0.005871, allocations: 176.3 kB / 0.7817 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.064e-05/0.005911, allocations: 184.2 kB / 0.7819 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.645e-05/0.006008, allocations: 312.6 kB / 0.7822 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.006049, allocations: 124.8 kB / 0.7823 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.0061, allocations: 180.8 kB / 0.7825 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.006156, allocations: 112.9 kB / 0.7826 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.006199, allocations: 177.3 kB / 0.7828 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.006222, allocations: 101.3 kB / 0.7829 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.058e-05/0.006283, allocations: 82.72 kB / 0.7829 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006283, allocations: 0.8438 kB / 0.7829 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001457/0.006429, allocations: 47.78 kB / 0.783 GB, free: 13.06 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.296e-05/0.006512, allocations: 160.5 kB / 0.7831 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.084e-05/0.006582, allocations: 37.61 kB / 0.7832 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.006587, allocations: 0 / 0.7832 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.006588, allocations: 4.875 kB / 0.7832 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.006827, allocations: 476.2 kB / 0.7836 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.007188, allocations: 443 kB / 0.7841 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/0.007229, allocations: 79.81 kB / 0.7841 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.112e-05/0.00726, allocations: 15.11 kB / 0.7841 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.007314, allocations: 67.36 kB / 0.7842 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.007314, allocations: 4 kB / 0.7842 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.002766/0.01008, allocations: 1.169 MB / 0.7854 GB, free: 10.63 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.011782247107476]