Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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.0009683/0.0009683, allocations: 84.8 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.001037/0.001037, allocations: 170.1 kB / 25.05 MB, free: 9.152 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 1.068/1.068, allocations: 177.1 MB / 205.5 MB, free: 5.469 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.896/1.896, allocations: 389.6 MB / 0.6363 GB, free: 12.27 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.FirstTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7761 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.563e-05, allocations: 7.234 kB / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001331/0.001346, allocations: 0.9064 MB / 0.777 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002296/0.001576, allocations: 107.5 kB / 0.7771 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.001651, allocations: 7.938 kB / 0.7771 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.001768, allocations: 19.8 kB / 0.7771 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.001884, allocations: 17.83 kB / 0.7772 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 6.064e-05/0.001944, allocations: 35.97 kB / 0.7772 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.00215, allocations: 259.3 kB / 0.7774 GB, free: 4 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.002343, allocations: 184 kB / 0.7776 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.002523, allocations: 223.5 kB / 0.7778 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.002612, allocations: 103.7 kB / 0.7779 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.002647, allocations: 30.81 kB / 0.778 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.649e-05/0.002673, allocations: 28 kB / 0.778 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.002727, allocations: 75.77 kB / 0.7781 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.514e-05/0.002782, allocations: 91.69 kB / 0.7781 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.002972, allocations: 254.9 kB / 0.7784 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.002975, allocations: 3.984 kB / 0.7784 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002975, allocations: 0 / 0.7784 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.002979, allocations: 3.812 kB / 0.7784 GB, free: 3.035 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0003641/0.003343, allocations: 495.9 kB / 0.7789 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.003373, allocations: 9.344 kB / 0.7789 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.003424, allocations: 52.89 kB / 0.7789 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.003635, allocations: 233 kB / 0.7791 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.00367, allocations: 33.02 kB / 0.7792 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.003697, allocations: 32.38 kB / 0.7792 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.003941, allocations: 263.8 kB / 0.7795 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.003952, allocations: 192 / 0.7795 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.003971, allocations: 13 kB / 0.7795 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.00398, allocations: 8.375 kB / 0.7795 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.004087, allocations: 109.7 kB / 0.7796 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.00467, allocations: 0.6172 MB / 0.7802 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.261e-05/0.004743, allocations: 62.55 kB / 0.7802 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.004761, allocations: 17.89 kB / 0.7803 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.004774, allocations: 5.25 kB / 0.7803 GB, free: 1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.004793, allocations: 38.56 kB / 0.7803 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.004794, allocations: 0 / 0.7803 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001383/0.004932, allocations: 65.55 kB / 0.7804 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.004965, allocations: 77.92 kB / 0.7804 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.005116, allocations: 288.6 kB / 0.7807 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.005125, allocations: 31.11 kB / 0.7807 GB, free: 472 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.005198, allocations: 192.9 kB / 0.7809 GB, free: 272 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.005465, allocations: 7.906 kB / 0.7809 GB, free: 264 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.005523, allocations: 73.61 kB / 0.781 GB, free: 184 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.005613, allocations: 335.2 kB / 0.7813 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.005637, allocations: 16.83 kB / 0.7813 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.005672, allocations: 33.7 kB / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.314e-05/0.005725, allocations: 55.33 kB / 0.7814 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.005727, allocations: 0 / 0.7814 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001009/0.005828, allocations: 93.53 kB / 0.7815 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.005841, allocations: 10.48 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005845, allocations: 0 / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.005854, allocations: 0.5312 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.005939, allocations: 37.53 kB / 0.7816 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.005943, allocations: 3.984 kB / 0.7816 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.00597, allocations: 15.84 kB / 0.7816 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.005979, allocations: 4 kB / 0.7816 GB, free: 15.57 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: 18 (idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.y,idxFirTru.booToInt[6].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[1].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.082e-05/0.00606, allocations: 144.6 kB / 0.7817 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.00609, allocations: 15.97 kB / 0.7817 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.951e-05/0.006189, allocations: 85.92 kB / 0.7818 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.006192, allocations: 4 kB / 0.7818 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006194, allocations: 4.656 kB / 0.7818 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006196, allocations: 0 / 0.7818 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.006413, allocations: 445.9 kB / 0.7823 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006414, allocations: 0 / 0.7823 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.006428, allocations: 5.125 kB / 0.7823 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.006432, allocations: 8 kB / 0.7823 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.006436, allocations: 3.984 kB / 0.7823 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.006438, allocations: 5 kB / 0.7823 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.00644, allocations: 4 kB / 0.7823 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.912e-05/0.006499, allocations: 96.11 kB / 0.7824 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.006511, allocations: 13.38 kB / 0.7824 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.006522, allocations: 4 kB / 0.7824 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.006542, allocations: 8 kB / 0.7824 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.006556, allocations: 7.875 kB / 0.7824 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.006558, allocations: 4.531 kB / 0.7824 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.972e-05/0.006618, allocations: 82.77 kB / 0.7825 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006618, allocations: 1.188 kB / 0.7825 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000127/0.006745, allocations: 51.73 kB / 0.7825 GB, free: 14.51 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (idxFirTru.y,idxFirTru.intEqu.y,idxFirTruAllFal.y,idxFirTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 5.854e-05/0.006804, allocations: 85.58 kB / 0.7826 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.366e-05/0.006887, allocations: 52.75 kB / 0.7827 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.006892, allocations: 5.312 kB / 0.7827 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.006904, allocations: 16.8 kB / 0.7827 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.007007, allocations: 29.86 kB / 0.7827 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.007382, allocations: 439.5 kB / 0.7831 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.284e-05/0.007425, allocations: 89.45 kB / 0.7832 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.007457, allocations: 21.58 kB / 0.7832 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.007512, allocations: 67.36 kB / 0.7833 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.007513, allocations: 4 kB / 0.7833 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of Templates: time 0.003167/0.01068, allocations: 1.322 MB / 0.7846 GB, free: 12.41 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.866617106832564]