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.0009646/0.0009646, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001021/0.001021, allocations: 161 kB / 24.17 MB, free: 332 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.9697/0.9697, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.6354 GB, free: 12.3 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.004e-06/2.004e-06, allocations: 0 / 0.7751 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.179e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.004656/0.004678, allocations: 0.7323 MB / 0.7759 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000214/0.004892, allocations: 51.78 kB / 0.7759 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.004963, allocations: 4 kB / 0.7759 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.005087, allocations: 13.5 kB / 0.7759 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.005202, allocations: 12.58 kB / 0.7759 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.378e-05/0.005256, allocations: 19.98 kB / 0.776 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.005478, allocations: 188.6 kB / 0.7761 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.005691, allocations: 149.3 kB / 0.7763 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.00589, allocations: 179.6 kB / 0.7764 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.005992, allocations: 91.72 kB / 0.7765 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.006031, allocations: 22.72 kB / 0.7766 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.806e-05/0.006059, allocations: 20 kB / 0.7766 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.006122, allocations: 63.77 kB / 0.7766 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.006187, allocations: 63.78 kB / 0.7767 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.006402, allocations: 207.1 kB / 0.7769 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006404, allocations: 0 / 0.7769 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.22e-07/0.006405, allocations: 0 / 0.7769 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.006411, allocations: 4.484 kB / 0.7769 GB, free: 3.672 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.0004212/0.006833, allocations: 451.3 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.006868, allocations: 13.34 kB / 0.7773 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.006932, allocations: 44.91 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.007181, allocations: 222.2 kB / 0.7776 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.007219, allocations: 29.02 kB / 0.7776 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.007252, allocations: 28.36 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003298/0.01055, allocations: 219.8 kB / 0.7779 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01056, allocations: 192 / 0.7779 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.01058, allocations: 15.12 kB / 0.7779 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.058e-06/0.01059, allocations: 4.375 kB / 0.7779 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.01072, allocations: 94.8 kB / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.01141, allocations: 0.5332 MB / 0.7785 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.028e-05/0.01146, allocations: 37.09 kB / 0.7785 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.01147, allocations: 13.84 kB / 0.7785 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.01149, allocations: 1.75 kB / 0.7785 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.01151, allocations: 30.56 kB / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.01151, allocations: 0 / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001434/0.01166, allocations: 54.72 kB / 0.7786 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.01169, allocations: 77.11 kB / 0.7787 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.0119, allocations: 268.6 kB / 0.779 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.01191, allocations: 30.7 kB / 0.779 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.012, allocations: 176.1 kB / 0.7792 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-06/0.012, allocations: 7.984 kB / 0.7792 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.01208, allocations: 66.19 kB / 0.7792 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.01217, allocations: 326.8 kB / 0.7795 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.01219, allocations: 16.45 kB / 0.7795 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.01223, allocations: 37.25 kB / 0.7796 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.622e-05/0.01229, allocations: 33.7 kB / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01229, allocations: 0.875 kB / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003511/0.01264, allocations: 89.56 kB / 0.7797 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01266, allocations: 4 kB / 0.7797 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01266, allocations: 1.438 kB / 0.7797 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.01267, allocations: 4 kB / 0.7797 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.01276, allocations: 23.98 kB / 0.7797 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.01276, allocations: 4.594 kB / 0.7797 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.01281, allocations: 15.89 kB / 0.7798 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.01282, allocations: 4.688 kB / 0.7798 GB, free: 0.5586 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 9.062e-05/0.01291, allocations: 130.3 kB / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.01295, allocations: 8 kB / 0.7799 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.01306, allocations: 147.5 kB / 0.78 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/0.01311, allocations: 181 kB / 0.7802 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-05/0.01316, allocations: 176.3 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.464e-05/0.0132, allocations: 192.7 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.01342, allocations: 370.3 kB / 0.7809 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/0.01345, allocations: 105 kB / 0.781 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.01347, allocations: 108.9 kB / 0.7811 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-05/0.01352, allocations: 181 kB / 0.7813 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.01356, allocations: 180.2 kB / 0.7815 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.256e-05/0.01361, allocations: 185.1 kB / 0.7816 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.683e-05/0.01365, allocations: 184.2 kB / 0.7818 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.01376, allocations: 312.5 kB / 0.7821 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.01381, allocations: 124.8 kB / 0.7822 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.01386, allocations: 176.9 kB / 0.7824 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.01394, allocations: 116.9 kB / 0.7825 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.01399, allocations: 182.1 kB / 0.7827 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.01401, allocations: 101.3 kB / 0.7828 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.768e-05/0.01409, allocations: 74.78 kB / 0.7828 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01409, allocations: 0 / 0.7828 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002205/0.01431, allocations: 43.78 kB / 0.7829 GB, free: 13.18 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.0001102/0.01442, allocations: 168.3 kB / 0.7831 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.492e-05/0.01451, allocations: 37.55 kB / 0.7831 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.01451, allocations: 5.062 kB / 0.7831 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.01451, allocations: 0 / 0.7831 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.01479, allocations: 476.1 kB / 0.7835 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.01523, allocations: 442.9 kB / 0.784 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.421e-05/0.01529, allocations: 79.81 kB / 0.784 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.073e-05/0.01533, allocations: 18.48 kB / 0.7841 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.511e-05/0.01539, allocations: 63.38 kB / 0.7841 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01539, allocations: 0.8438 kB / 0.7841 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of Templates: time 0.003095/0.01849, allocations: 1.175 MB / 0.7853 GB, free: 10.75 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.967254334129393]