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.0008783/0.0008783, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0008789/0.0008789, allocations: 169.4 kB / 25.18 MB, free: 9.113 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.9269/0.9269, allocations: 177.2 MB / 205.6 MB, free: 4.348 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.886/1.886, allocations: 389.6 MB / 0.6364 GB, free: 13.28 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.134e-06/2.134e-06, allocations: 0 / 0.7755 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.779e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002148/0.002166, allocations: 0.9209 MB / 0.7764 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.002502, allocations: 103.5 kB / 0.7765 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.926e-05/0.002601, allocations: 4 kB / 0.7766 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.002741, allocations: 15.8 kB / 0.7766 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.002883, allocations: 19.86 kB / 0.7766 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.167e-05/0.002964, allocations: 39.91 kB / 0.7766 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.003256, allocations: 259.5 kB / 0.7769 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.003535, allocations: 174.8 kB / 0.777 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.003833, allocations: 223.5 kB / 0.7773 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.003965, allocations: 103.7 kB / 0.7774 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.101e-05/0.004016, allocations: 28 kB / 0.7774 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.004085, allocations: 28 kB / 0.7774 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.004192, allocations: 79.7 kB / 0.7775 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.004301, allocations: 87.69 kB / 0.7776 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.00465, allocations: 262.9 kB / 0.7778 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004652, allocations: 4 kB / 0.7778 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004653, allocations: 0 / 0.7778 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.004659, allocations: 0 / 0.7778 GB, free: 12.24 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0005986/0.005258, allocations: 491.9 kB / 0.7783 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.005289, allocations: 12.03 kB / 0.7783 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.005344, allocations: 52.89 kB / 0.7783 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.005561, allocations: 237 kB / 0.7786 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.005597, allocations: 33.03 kB / 0.7786 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.005624, allocations: 32.38 kB / 0.7786 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.005892, allocations: 263.6 kB / 0.7789 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005901, allocations: 4.188 kB / 0.7789 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.005921, allocations: 16.38 kB / 0.7789 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.005928, allocations: 8.375 kB / 0.7789 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.006037, allocations: 101.3 kB / 0.779 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.006661, allocations: 0.6203 MB / 0.7796 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.684e-05/0.006738, allocations: 53.28 kB / 0.7797 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.006759, allocations: 29.64 kB / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.006773, allocations: 0 / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.006792, allocations: 38.56 kB / 0.7797 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.006793, allocations: 4 kB / 0.7797 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001734/0.006966, allocations: 61.61 kB / 0.7798 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.007009, allocations: 77.11 kB / 0.7799 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.007215, allocations: 284.6 kB / 0.7801 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.007226, allocations: 29.7 kB / 0.7802 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.007301, allocations: 192.9 kB / 0.7804 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.328e-06/0.007311, allocations: 11.91 kB / 0.7804 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.00737, allocations: 77.56 kB / 0.7804 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.007526, allocations: 334.7 kB / 0.7808 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.007551, allocations: 15.98 kB / 0.7808 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.007585, allocations: 41.64 kB / 0.7808 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.956e-05/0.007635, allocations: 45.67 kB / 0.7809 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007636, allocations: 0 / 0.7809 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.027e-05/0.007726, allocations: 97.52 kB / 0.781 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.007737, allocations: 4 kB / 0.781 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.007742, allocations: 4 kB / 0.781 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.007749, allocations: 0 / 0.781 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.007835, allocations: 35.92 kB / 0.781 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.007837, allocations: 0 / 0.781 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/0.007868, allocations: 15.89 kB / 0.781 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.007881, allocations: 8 kB / 0.781 GB, free: 8.754 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.11e-05/0.007962, allocations: 134.5 kB / 0.7811 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.007988, allocations: 11.98 kB / 0.7812 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.008089, allocations: 88.64 kB / 0.7812 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008091, allocations: 0 / 0.7812 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008093, allocations: 384 / 0.7812 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.008096, allocations: 4 kB / 0.7812 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.008335, allocations: 452.6 kB / 0.7817 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008337, allocations: 0 / 0.7817 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.008353, allocations: 11.92 kB / 0.7817 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.008356, allocations: 3.984 kB / 0.7817 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.008361, allocations: 4 kB / 0.7817 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.008362, allocations: 0 / 0.7817 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008363, allocations: 0 / 0.7817 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.471e-05/0.008427, allocations: 103.5 kB / 0.7818 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.008444, allocations: 19.98 kB / 0.7818 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.008455, allocations: 4 kB / 0.7818 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.008474, allocations: 8 kB / 0.7818 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.00849, allocations: 11.92 kB / 0.7818 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.008492, allocations: 0 / 0.7818 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.008547, allocations: 78.78 kB / 0.7819 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008547, allocations: 0 / 0.7819 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001308/0.008678, allocations: 55.78 kB / 0.782 GB, free: 7.695 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.014e-05/0.008738, allocations: 76.42 kB / 0.782 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.008825, allocations: 61.06 kB / 0.7821 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.008832, allocations: 4 kB / 0.7821 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.008846, allocations: 20.8 kB / 0.7821 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.008951, allocations: 28.44 kB / 0.7821 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.009364, allocations: 473.2 kB / 0.7826 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.009469, allocations: 167.4 kB / 0.7828 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.009537, allocations: 67.38 kB / 0.7828 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.009538, allocations: 0 / 0.7828 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of Templates: time 0.003141/0.01268, allocations: 3.097 MB / 0.7858 GB, free: 3.641 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 > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.363825027830899]