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.001529/0.001529, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001851/0.001851, allocations: 161 kB / 24.16 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 1.047/1.047, allocations: 177.2 MB / 204.6 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 2.035/2.035, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] 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.415e-06/2.415e-06, allocations: 0 / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.653e-05, allocations: 3.219 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002333/0.00236, allocations: 0.9161 MB / 0.7761 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003377/0.002698, allocations: 95.56 kB / 0.7762 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.002798, allocations: 4 kB / 0.7762 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.002941, allocations: 28.38 kB / 0.7762 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.003089, allocations: 17.88 kB / 0.7762 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 8.973e-05/0.003178, allocations: 39.97 kB / 0.7762 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.003484, allocations: 260 kB / 0.7765 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.003805, allocations: 182.8 kB / 0.7767 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.004102, allocations: 216.8 kB / 0.7769 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.00424, allocations: 111.7 kB / 0.777 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.924e-05/0.00429, allocations: 28 kB / 0.777 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.771e-05/0.004327, allocations: 28 kB / 0.777 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.004408, allocations: 80.62 kB / 0.7771 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.503e-05/0.004493, allocations: 83.77 kB / 0.7772 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.004798, allocations: 255.8 kB / 0.7774 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.004801, allocations: 0 / 0.7774 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004802, allocations: 0 / 0.7774 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.004807, allocations: 2.75 kB / 0.7774 GB, free: 3.133 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.0006234/0.00543, allocations: 495.9 kB / 0.7779 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.005471, allocations: 13.34 kB / 0.7779 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.363e-05/0.005554, allocations: 48.91 kB / 0.778 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.005882, allocations: 229.1 kB / 0.7782 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.005936, allocations: 41.02 kB / 0.7782 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.005974, allocations: 29.06 kB / 0.7783 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.006371, allocations: 272.4 kB / 0.7785 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.006385, allocations: 192 / 0.7785 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.006412, allocations: 14.16 kB / 0.7785 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.006424, allocations: 8.375 kB / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.006615, allocations: 105.1 kB / 0.7786 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.007713, allocations: 0.6206 MB / 0.7792 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.007815, allocations: 61.73 kB / 0.7793 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.007843, allocations: 18.28 kB / 0.7793 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.007864, allocations: 7.891 kB / 0.7793 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.007894, allocations: 34.56 kB / 0.7794 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.007895, allocations: 0 / 0.7794 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001976/0.008092, allocations: 65.94 kB / 0.7794 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.008137, allocations: 81.05 kB / 0.7795 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.008383, allocations: 284.6 kB / 0.7798 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.008397, allocations: 29.7 kB / 0.7798 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.008503, allocations: 188.9 kB / 0.78 GB, free: 372 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.008519, allocations: 15.91 kB / 0.78 GB, free: 356 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.008615, allocations: 73.61 kB / 0.7801 GB, free: 276 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.008746, allocations: 337.8 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.008789, allocations: 15.98 kB / 0.7804 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.288e-05/0.008841, allocations: 35.41 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.084e-05/0.008922, allocations: 49.62 kB / 0.7805 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.008925, allocations: 0 / 0.7805 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001511/0.009076, allocations: 89.59 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.009094, allocations: 8 kB / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009099, allocations: 3.984 kB / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.009117, allocations: 8.75 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.009247, allocations: 27.94 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.009252, allocations: 1.406 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.009309, allocations: 31.77 kB / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.009327, allocations: 4 kB / 0.7807 GB, free: 15.65 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 0.000122/0.009449, allocations: 128.4 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.009502, allocations: 11.98 kB / 0.7808 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.009671, allocations: 93.14 kB / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.009673, allocations: 0.5312 kB / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.009677, allocations: 8.938 kB / 0.7809 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00968, allocations: 0 / 0.7809 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.01005, allocations: 449.4 kB / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01005, allocations: 1.781 kB / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/0.01008, allocations: 4 kB / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01008, allocations: 0 / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.01009, allocations: 4 kB / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01009, allocations: 3.984 kB / 0.7813 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01009, allocations: 1.594 kB / 0.7813 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.877e-05/0.01019, allocations: 95.58 kB / 0.7814 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.01022, allocations: 19.89 kB / 0.7814 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.01024, allocations: 0.8125 kB / 0.7814 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.01028, allocations: 4 kB / 0.7814 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.0103, allocations: 8.812 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.0103, allocations: 0 / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000101/0.0104, allocations: 82.77 kB / 0.7815 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.0104, allocations: 0.5625 kB / 0.7815 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002508/0.01065, allocations: 60.39 kB / 0.7816 GB, free: 14.61 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 0.0001191/0.01077, allocations: 85.52 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.01091, allocations: 57.12 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.01092, allocations: 5 kB / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.199e-05/0.01094, allocations: 17.73 kB / 0.7817 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.01111, allocations: 28.61 kB / 0.7818 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.01177, allocations: 448.5 kB / 0.7822 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.723e-05/0.01184, allocations: 87.95 kB / 0.7823 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.81e-05/0.0119, allocations: 18.52 kB / 0.7823 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.012, allocations: 71.36 kB / 0.7824 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of SimCode: time 1.523e-06/0.012, allocations: 0.9375 kB / 0.7824 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.006018/0.01802, allocations: 1.327 MB / 0.7837 GB, free: 12.49 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.104401114862412]