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.0006849/0.0006849, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008704/0.001555, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007261/0.0007261, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008963/0.001622, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.949/0.949, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08492/1.034, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.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.925/1.925, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4629/2.388, allocations: 127.1 MB / 0.7435 GB, free: 4.508 MB / 0.7136 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.865e-06/2.865e-06, allocations: 0 / 0.7448 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/3.001e-05, allocations: 5.062 kB / 0.7448 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.00248/0.00251, allocations: 0.9148 MB / 0.7457 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.002722, allocations: 104.5 kB / 0.7458 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.002808, allocations: 7.938 kB / 0.7458 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.002917, allocations: 17.33 kB / 0.7458 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.003027, allocations: 23.89 kB / 0.7458 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.938e-05/0.003106, allocations: 44.61 kB / 0.7459 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.003412, allocations: 247.6 kB / 0.7461 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.003699, allocations: 178.8 kB / 0.7463 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.004008, allocations: 232.9 kB / 0.7465 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.004149, allocations: 115.6 kB / 0.7466 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.004207, allocations: 28 kB / 0.7466 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.089e-05/0.004248, allocations: 28 kB / 0.7467 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.004325, allocations: 59.78 kB / 0.7467 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.144e-05/0.004406, allocations: 67.75 kB / 0.7468 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.004697, allocations: 231 kB / 0.747 GB, free: 1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.004711, allocations: 0 / 0.747 GB, free: 1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/0.004712, allocations: 0 / 0.747 GB, free: 1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.004729, allocations: 0 / 0.747 GB, free: 1 MB / 0.7136 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.0006429/0.005372, allocations: 0.5502 MB / 0.7475 GB, free: 432 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.005411, allocations: 8.031 kB / 0.7476 GB, free: 424 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.005501, allocations: 52.91 kB / 0.7476 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.005813, allocations: 231.6 kB / 0.7478 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.005865, allocations: 37.02 kB / 0.7479 GB, free: 76 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.005908, allocations: 32.38 kB / 0.7479 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.006297, allocations: 263.7 kB / 0.7481 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.00631, allocations: 192 / 0.7481 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.006335, allocations: 12.38 kB / 0.7482 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.006347, allocations: 13.22 kB / 0.7482 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.006528, allocations: 105.1 kB / 0.7483 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008789/0.007407, allocations: 0.6206 MB / 0.7489 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.713e-05/0.007504, allocations: 54.7 kB / 0.7489 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.00753, allocations: 17.72 kB / 0.7489 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.007552, allocations: 6.719 kB / 0.7489 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.007578, allocations: 38.44 kB / 0.749 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.007579, allocations: 0 / 0.749 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001805/0.00776, allocations: 65.73 kB / 0.749 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.007802, allocations: 85.05 kB / 0.7491 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.008032, allocations: 284.6 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.008046, allocations: 25.7 kB / 0.7494 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.008158, allocations: 193.7 kB / 0.7496 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.008175, allocations: 19.89 kB / 0.7496 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.008257, allocations: 66.16 kB / 0.7497 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.008365, allocations: 343.5 kB / 0.75 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.008397, allocations: 8 kB / 0.75 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.714e-05/0.008444, allocations: 40.31 kB / 0.7501 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.613e-05/0.00853, allocations: 57.61 kB / 0.7501 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008532, allocations: 0.7188 kB / 0.7501 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001467/0.008679, allocations: 101.5 kB / 0.7502 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.008694, allocations: 5.5 kB / 0.7502 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.008699, allocations: 0 / 0.7502 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.008712, allocations: 0 / 0.7502 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.008848, allocations: 35.92 kB / 0.7503 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.008851, allocations: 1.125 kB / 0.7503 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.008902, allocations: 27.78 kB / 0.7503 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.008917, allocations: 4 kB / 0.7503 GB, free: 13.45 MB / 0.7292 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.0001249/0.009042, allocations: 128.2 kB / 0.7504 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.009092, allocations: 16.67 kB / 0.7504 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.009246, allocations: 85.27 kB / 0.7505 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.009248, allocations: 1.25 kB / 0.7505 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.00925, allocations: 0 / 0.7505 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.009254, allocations: 4 kB / 0.7505 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.009577, allocations: 457.2 kB / 0.7509 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.009579, allocations: 1.719 kB / 0.7509 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.009606, allocations: 7.984 kB / 0.751 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.009631, allocations: 19.84 kB / 0.751 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009633, allocations: 0 / 0.751 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.009638, allocations: 0.8125 kB / 0.751 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.009642, allocations: 4 kB / 0.751 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.009647, allocations: 12.38 kB / 0.751 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.97e-05/0.009737, allocations: 93.61 kB / 0.7511 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.009754, allocations: 0 / 0.7511 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.00979, allocations: 6.875 kB / 0.7511 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.009811, allocations: 11.92 kB / 0.7511 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.009813, allocations: 0 / 0.7511 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.636e-05/0.00991, allocations: 82.72 kB / 0.7512 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.00991, allocations: 0 / 0.7512 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002264/0.01014, allocations: 59.73 kB / 0.7512 GB, free: 12.4 MB / 0.7292 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.0001073/0.01024, allocations: 83.59 kB / 0.7513 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.01036, allocations: 60.75 kB / 0.7514 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.01037, allocations: 7.938 kB / 0.7514 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.01039, allocations: 12.86 kB / 0.7514 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.01062, allocations: 161.9 kB / 0.7515 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.01123, allocations: 463.4 kB / 0.752 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.849e-05/0.01129, allocations: 87.95 kB / 0.7521 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.13e-05/0.01134, allocations: 21.58 kB / 0.7521 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.01143, allocations: 71.98 kB / 0.7522 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.01143, allocations: 0.6875 kB / 0.7522 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.00431/0.01574, allocations: 1.375 MB / 0.7535 GB, free: 10.06 MB / 0.7292 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.840634930878878]