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.001993/0.001993, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.001993/0.001993, allocations: 218.3 kB / 23.02 MB, free: 2.945 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 1.641/1.641, allocations: 230.6 MB / 256.8 MB, free: 9.641 MB / 202.7 MB " [Timeout remaining time 178] 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 3.34/3.34, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.008018/0.008018, allocations: 71.83 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8927/0.9007, allocations: 180 MB / 1.353 GB, free: 1.609 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002289/0.903, allocations: 0.8383 MB / 1.354 GB, free: 0.7734 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0002851/0.9033, allocations: 83.7 kB / 1.354 GB, free: 0.6914 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.489e-05/0.9034, allocations: 7.938 kB / 1.354 GB, free: 0.6836 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.9035, allocations: 19.8 kB / 1.354 GB, free: 0.6641 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.9036, allocations: 19.8 kB / 1.354 GB, free: 0.6445 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 9.425e-05/0.9037, allocations: 43.97 kB / 1.354 GB, free: 0.6016 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.9041, allocations: 255.4 kB / 1.354 GB, free: 360 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.9044, allocations: 170.8 kB / 1.354 GB, free: 188 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.9046, allocations: 139.5 kB / 1.354 GB, free: 48 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.9048, allocations: 151.4 kB / 1.355 GB, free: 15.89 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.9049, allocations: 32 kB / 1.355 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.434e-05/0.9049, allocations: 32 kB / 1.355 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.905, allocations: 87.78 kB / 1.355 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.9052, allocations: 123.3 kB / 1.355 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.9057, allocations: 464.9 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.9057, allocations: 0 / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9057, allocations: 0 / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.9057, allocations: 0 / 1.355 GB, free: 15.17 MB / 1.042 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.000778/0.9065, allocations: 0.5363 MB / 1.356 GB, free: 14.6 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.9066, allocations: 8.922 kB / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.092e-05/0.9066, allocations: 40.7 kB / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.9071, allocations: 270.5 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.473e-05/0.9072, allocations: 41.02 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.9072, allocations: 28.38 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.9081, allocations: 408 kB / 1.357 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.9082, allocations: 192 / 1.357 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.9082, allocations: 15.94 kB / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.9082, allocations: 8 kB / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.9087, allocations: 303.8 kB / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.9102, allocations: 0.8335 MB / 1.358 GB, free: 12.6 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.9104, allocations: 85.16 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.9105, allocations: 49.78 kB / 1.358 GB, free: 12.44 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.9105, allocations: 0 / 1.358 GB, free: 12.44 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.9105, allocations: 34.56 kB / 1.358 GB, free: 12.4 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.9105, allocations: 3.938 kB / 1.358 GB, free: 12.39 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.000354/0.9109, allocations: 153.4 kB / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.9109, allocations: 77.11 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.9114, allocations: 357.5 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.9115, allocations: 25.7 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.9117, allocations: 216.4 kB / 1.359 GB, free: 11.54 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.9117, allocations: 19.84 kB / 1.359 GB, free: 11.52 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.9118, allocations: 73.67 kB / 1.359 GB, free: 11.44 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.912, allocations: 326.8 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.9121, allocations: 67.95 kB / 1.359 GB, free: 11.05 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.9123, allocations: 95.91 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.9125, allocations: 117.5 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9125, allocations: 0 / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003232/0.9128, allocations: 201.4 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.9128, allocations: 4 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9128, allocations: 0 / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9128, allocations: 4 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.913, allocations: 27.92 kB / 1.36 GB, free: 10.59 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.913, allocations: 11.94 kB / 1.36 GB, free: 10.58 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.9131, allocations: 11.89 kB / 1.36 GB, free: 10.57 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.9131, allocations: 15.94 kB / 1.36 GB, free: 10.55 MB / 1.042 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 (idxFirTru.booToInt[1].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[6].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.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.000249/0.9133, allocations: 200 kB / 1.36 GB, free: 10.35 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.9134, allocations: 23.86 kB / 1.36 GB, free: 10.32 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.9136, allocations: 104.6 kB / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9136, allocations: 4 kB / 1.36 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.9136, allocations: 3.938 kB / 1.36 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.9136, allocations: 0 / 1.36 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/0.9144, allocations: 0.5547 MB / 1.36 GB, free: 9.594 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9144, allocations: 4 kB / 1.36 GB, free: 9.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.9144, allocations: 12.17 kB / 1.36 GB, free: 9.578 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.9144, allocations: 4.312 kB / 1.36 GB, free: 9.574 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.9144, allocations: 0 / 1.36 GB, free: 9.574 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.9144, allocations: 4 kB / 1.36 GB, free: 9.57 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9144, allocations: 3.938 kB / 1.36 GB, free: 9.566 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.9146, allocations: 115.5 kB / 1.361 GB, free: 9.426 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.9147, allocations: 23.84 kB / 1.361 GB, free: 9.402 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.9147, allocations: 7.953 kB / 1.361 GB, free: 9.395 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.9148, allocations: 4 kB / 1.361 GB, free: 9.391 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.9148, allocations: 3.984 kB / 1.361 GB, free: 9.387 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.9148, allocations: 8 kB / 1.361 GB, free: 9.379 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0004111/0.9152, allocations: 241.2 kB / 1.361 GB, free: 9.145 MB / 1.042 GB Notification: Performance of sort global known variables: time 1e-07/0.9152, allocations: 0 / 1.361 GB, free: 9.145 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004294/0.9157, allocations: 55.66 kB / 1.361 GB, free: 9.09 MB / 1.042 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.0001599/0.9158, allocations: 107.2 kB / 1.361 GB, free: 8.977 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002658/0.9161, allocations: 99.88 kB / 1.361 GB, free: 8.879 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9161, allocations: 0 / 1.361 GB, free: 8.879 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.9161, allocations: 16.12 kB / 1.361 GB, free: 8.863 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.9164, allocations: 24.5 kB / 1.361 GB, free: 8.836 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.9171, allocations: 477.9 kB / 1.362 GB, free: 8.336 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.9174, allocations: 191.5 kB / 1.362 GB, free: 8.129 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.863e-05/0.9174, allocations: 37.61 kB / 1.362 GB, free: 8.09 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.9175, allocations: 15.44 kB / 1.362 GB, free: 8.074 MB / 1.042 GB Notification: Performance of SimCode: time 4.31e-07/0.9175, allocations: 0 / 1.362 GB, free: 8.074 MB / 1.042 GB Notification: Performance of Templates: time 0.005109/0.9226, allocations: 1.35 MB / 1.363 GB, free: 6.75 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.439098394475877]