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.001019/0.001019, allocations: 79.69 kB / 21.74 MB, free: 2.512 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.001206/0.001206, allocations: 173.5 kB / 25.18 MB, free: 9.105 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.954/0.954, allocations: 177.1 MB / 205.6 MB, free: 4.375 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.977/1.977, allocations: 389.6 MB / 0.6364 GB, free: 13.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.7755 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.417e-05, allocations: 6.109 kB / 0.7755 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.001566/0.00159, allocations: 0.7701 MB / 0.7763 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002091/0.001799, allocations: 55.66 kB / 0.7763 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.001865, allocations: 0 / 0.7763 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.001984, allocations: 23.86 kB / 0.7764 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.002098, allocations: 11.91 kB / 0.7764 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.497e-05/0.002143, allocations: 19.98 kB / 0.7764 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.002308, allocations: 183.5 kB / 0.7766 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.002498, allocations: 145.3 kB / 0.7767 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.002671, allocations: 171.7 kB / 0.7769 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.963e-05/0.00276, allocations: 91.72 kB / 0.777 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.002795, allocations: 20 kB / 0.777 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.494e-05/0.00282, allocations: 20 kB / 0.777 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.002875, allocations: 63.77 kB / 0.7771 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.002933, allocations: 75.77 kB / 0.7771 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.003129, allocations: 203.1 kB / 0.7773 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003131, allocations: 4 kB / 0.7773 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003132, allocations: 0 / 0.7773 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.003137, allocations: 0 / 0.7773 GB, free: 12.76 MB / 0.7448 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.0003731/0.00351, allocations: 456.1 kB / 0.7778 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.00355, allocations: 8.031 kB / 0.7778 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.00361, allocations: 44.91 kB / 0.7778 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.003833, allocations: 218.2 kB / 0.778 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.003866, allocations: 29.03 kB / 0.7781 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.00389, allocations: 28.38 kB / 0.7781 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.004121, allocations: 223.8 kB / 0.7783 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.004129, allocations: 192 / 0.7783 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.004147, allocations: 12.38 kB / 0.7783 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.004153, allocations: 4.375 kB / 0.7783 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.004247, allocations: 97.45 kB / 0.7784 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.004817, allocations: 0.5293 MB / 0.7789 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.022e-05/0.004867, allocations: 37.16 kB / 0.779 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.004886, allocations: 21.78 kB / 0.779 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.004902, allocations: 0 / 0.779 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.004925, allocations: 38.56 kB / 0.779 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.004926, allocations: 0 / 0.779 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001411/0.005067, allocations: 49.61 kB / 0.7791 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.005109, allocations: 77.11 kB / 0.7791 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.005288, allocations: 264.7 kB / 0.7794 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.005299, allocations: 25.7 kB / 0.7794 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.005389, allocations: 187.9 kB / 0.7796 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.005398, allocations: 7.953 kB / 0.7796 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.005458, allocations: 61.64 kB / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.005553, allocations: 331 kB / 0.78 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.005574, allocations: 12 kB / 0.78 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.005607, allocations: 37.44 kB / 0.78 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.788e-05/0.005655, allocations: 41.62 kB / 0.7801 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.005657, allocations: 0 / 0.7801 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.618e-05/0.005753, allocations: 81.59 kB / 0.7801 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.005767, allocations: 4 kB / 0.7801 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.005771, allocations: 4 kB / 0.7801 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.00578, allocations: 0 / 0.7801 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.005867, allocations: 23.98 kB / 0.7802 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.005874, allocations: 7.938 kB / 0.7802 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.005908, allocations: 19.89 kB / 0.7802 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.005919, allocations: 4 kB / 0.7802 GB, free: 9.617 MB / 0.7448 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.398e-05/0.006013, allocations: 128.6 kB / 0.7803 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.006041, allocations: 11.98 kB / 0.7803 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.006167, allocations: 135.5 kB / 0.7805 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002254/0.006392, allocations: 192.2 kB / 0.7806 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.68e-05/0.006439, allocations: 184.2 kB / 0.7808 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.774e-05/0.006487, allocations: 184.2 kB / 0.781 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.006675, allocations: 381.2 kB / 0.7814 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/0.006702, allocations: 101 kB / 0.7815 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.006729, allocations: 104.9 kB / 0.7816 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.796e-05/0.006777, allocations: 184.3 kB / 0.7817 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.006822, allocations: 180.2 kB / 0.7819 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-05/0.006868, allocations: 180.2 kB / 0.7821 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-05/0.006914, allocations: 180.3 kB / 0.7822 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.007027, allocations: 315.7 kB / 0.7825 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.007074, allocations: 116.9 kB / 0.7827 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.007132, allocations: 184.2 kB / 0.7828 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.958e-05/0.007191, allocations: 113 kB / 0.7829 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.007247, allocations: 184.2 kB / 0.7831 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.007275, allocations: 105 kB / 0.7832 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.177e-05/0.007346, allocations: 74.78 kB / 0.7833 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007347, allocations: 0 / 0.7833 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001547/0.007501, allocations: 39.84 kB / 0.7833 GB, free: 6.23 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.0001072/0.007608, allocations: 163.6 kB / 0.7835 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.145e-05/0.0077, allocations: 45.09 kB / 0.7835 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.007709, allocations: 0 / 0.7835 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.00771, allocations: 0 / 0.7835 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.007966, allocations: 484.3 kB / 0.784 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.008399, allocations: 468 kB / 0.7844 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.008502, allocations: 141.4 kB / 0.7846 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.008575, allocations: 71.38 kB / 0.7846 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.008576, allocations: 0 / 0.7846 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of Templates: time 0.003562/0.01214, allocations: 2.702 MB / 0.7873 GB, free: 2.109 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 > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.68808888271451]