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.000741/0.000741, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.0008694/0.0008694, allocations: 165 kB / 24.25 MB, free: 212 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.9381/0.9381, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.82/1.82, allocations: 389.6 MB / 0.6355 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 2.625e-06/2.625e-06, allocations: 0 / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.773e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001718/0.001746, allocations: 0.9086 MB / 0.7762 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000291/0.002037, allocations: 95.56 kB / 0.7763 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.002138, allocations: 7.938 kB / 0.7763 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.002301, allocations: 31.22 kB / 0.7764 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.002442, allocations: 13.39 kB / 0.7764 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 7.539e-05/0.002518, allocations: 43.95 kB / 0.7764 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.002765, allocations: 256.7 kB / 0.7767 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.002985, allocations: 178.8 kB / 0.7768 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.003212, allocations: 215.6 kB / 0.777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.89e-05/0.00331, allocations: 110.4 kB / 0.7771 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.003351, allocations: 31.94 kB / 0.7772 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.897e-05/0.00338, allocations: 28 kB / 0.7772 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.003438, allocations: 79.75 kB / 0.7773 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.003506, allocations: 87.7 kB / 0.7774 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.00372, allocations: 251 kB / 0.7776 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003721, allocations: 0 / 0.7776 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003722, allocations: 2.938 kB / 0.7776 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.003726, allocations: 0 / 0.7776 GB, free: 3.031 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.0003973/0.004124, allocations: 0.492 MB / 0.7781 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.004159, allocations: 9.344 kB / 0.7781 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.004215, allocations: 52.91 kB / 0.7781 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.004427, allocations: 233.1 kB / 0.7784 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.00446, allocations: 37.58 kB / 0.7784 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.004489, allocations: 32.38 kB / 0.7784 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.004742, allocations: 268.5 kB / 0.7787 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.004752, allocations: 4.172 kB / 0.7787 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.004768, allocations: 12.91 kB / 0.7787 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.004777, allocations: 9 kB / 0.7787 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.005172, allocations: 109 kB / 0.7788 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.005765, allocations: 0.6095 MB / 0.7794 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.005836, allocations: 65.91 kB / 0.7795 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.005853, allocations: 14.53 kB / 0.7795 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.00587, allocations: 8.828 kB / 0.7795 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.005888, allocations: 38.56 kB / 0.7795 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.005889, allocations: 1.25 kB / 0.7795 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001275/0.006016, allocations: 61.98 kB / 0.7796 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.006048, allocations: 77.11 kB / 0.7797 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.006198, allocations: 284.6 kB / 0.7799 GB, free: 496 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.006208, allocations: 26.55 kB / 0.78 GB, free: 464 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.006281, allocations: 200.8 kB / 0.7802 GB, free: 256 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.00629, allocations: 12.42 kB / 0.7802 GB, free: 244 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.006347, allocations: 75.11 kB / 0.7802 GB, free: 164 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.006429, allocations: 330.7 kB / 0.7806 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.006451, allocations: 15.98 kB / 0.7806 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.255e-05/0.006483, allocations: 33.69 kB / 0.7806 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.041e-05/0.006534, allocations: 54.64 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006536, allocations: 0 / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 8.997e-05/0.006626, allocations: 93.59 kB / 0.7807 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.006637, allocations: 4.5 kB / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006641, allocations: 0.75 kB / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.006649, allocations: 3.984 kB / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.00673, allocations: 33.56 kB / 0.7808 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.006733, allocations: 0 / 0.7808 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.006765, allocations: 31.75 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.006775, allocations: 4 kB / 0.7808 GB, free: 15.54 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.004e-05/0.006855, allocations: 136.7 kB / 0.781 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.006885, allocations: 19.98 kB / 0.781 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.59e-05/0.006981, allocations: 78.47 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.006984, allocations: 4 kB / 0.7811 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.006985, allocations: 0 / 0.7811 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.006988, allocations: 0 / 0.7811 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.007217, allocations: 449.7 kB / 0.7815 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.007218, allocations: 0 / 0.7815 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.007235, allocations: 8.656 kB / 0.7815 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.007237, allocations: 4 kB / 0.7815 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.007241, allocations: 1.125 kB / 0.7815 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.007244, allocations: 11.86 kB / 0.7815 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.007246, allocations: 4 kB / 0.7815 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.669e-05/0.007303, allocations: 88.39 kB / 0.7816 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.007317, allocations: 16.39 kB / 0.7816 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.007328, allocations: 4 kB / 0.7816 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.007347, allocations: 5.781 kB / 0.7816 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.007364, allocations: 11.88 kB / 0.7816 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.007367, allocations: 4 kB / 0.7816 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.837e-05/0.007425, allocations: 86.75 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007425, allocations: 1.031 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001254/0.007551, allocations: 51.73 kB / 0.7818 GB, free: 14.49 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 6.087e-05/0.007612, allocations: 89.67 kB / 0.7819 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.468e-05/0.007696, allocations: 49.14 kB / 0.7819 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.007702, allocations: 4 kB / 0.7819 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/0.007713, allocations: 13.83 kB / 0.7819 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.007825, allocations: 34.17 kB / 0.7819 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.008206, allocations: 450.3 kB / 0.7824 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.008251, allocations: 87.95 kB / 0.7825 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.306e-05/0.008284, allocations: 19.11 kB / 0.7825 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.008341, allocations: 67.36 kB / 0.7825 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of SimCode: time 5.72e-07/0.008341, allocations: 7.938 kB / 0.7826 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.003191/0.01153, allocations: 1.315 MB / 0.7838 GB, free: 12.39 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.775952738709748]