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.001851/0.001851, allocations: 80.55 kB / 19.95 MB, free: 4.602 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.002064/0.002064, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.562/1.562, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.307/3.307, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 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 2.244e-06/2.244e-06, allocations: 0 / 1.001 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.862e-05, allocations: 8.812 kB / 1.001 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002183/0.002211, allocations: 0.8483 MB / 1.002 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0003017/0.002513, allocations: 91.64 kB / 1.002 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.002599, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.002729, allocations: 27.72 kB / 1.002 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.002868, allocations: 19.86 kB / 1.002 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 9.079e-05/0.002959, allocations: 43.95 kB / 1.002 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.003346, allocations: 255.3 kB / 1.002 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.003759, allocations: 178.9 kB / 1.003 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.004025, allocations: 191.6 kB / 1.003 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.004255, allocations: 119.6 kB / 1.003 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.784e-05/0.004343, allocations: 36 kB / 1.003 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-05/0.004407, allocations: 32 kB / 1.003 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.004538, allocations: 91.67 kB / 1.003 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.004679, allocations: 87.77 kB / 1.003 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.005316, allocations: 470.4 kB / 1.003 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.005322, allocations: 0 / 1.003 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of FrontEnd: time 5.18e-06/0.005327, allocations: 4 kB / 1.003 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.005337, allocations: 3.938 kB / 1.003 GB, free: 9.504 MB / 0.9167 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.0009595/0.006296, allocations: 0.5246 MB / 1.004 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.006343, allocations: 9.344 kB / 1.004 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.006443, allocations: 40.7 kB / 1.004 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.00694, allocations: 273.7 kB / 1.004 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.392e-05/0.007013, allocations: 37.02 kB / 1.004 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.007065, allocations: 32.38 kB / 1.004 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/0.007746, allocations: 408 kB / 1.005 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.007761, allocations: 192 / 1.005 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.007795, allocations: 12.38 kB / 1.005 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.007808, allocations: 8.375 kB / 1.005 GB, free: 8.105 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.008368, allocations: 303.7 kB / 1.005 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.009862, allocations: 0.8412 MB / 1.006 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.01006, allocations: 89.16 kB / 1.006 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.01014, allocations: 41.8 kB / 1.006 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.01017, allocations: 7.984 kB / 1.006 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.01021, allocations: 34.56 kB / 1.006 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.01021, allocations: 0 / 1.006 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0004075/0.01062, allocations: 157.4 kB / 1.006 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/0.0107, allocations: 81.11 kB / 1.006 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.01116, allocations: 341.5 kB / 1.007 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.01119, allocations: 25.7 kB / 1.007 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.01139, allocations: 208.5 kB / 1.007 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.01142, allocations: 19.84 kB / 1.007 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.01154, allocations: 69.69 kB / 1.007 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002521/0.01179, allocations: 334.8 kB / 1.007 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.01192, allocations: 71.95 kB / 1.007 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.01207, allocations: 89.66 kB / 1.007 GB, free: 5.289 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.01227, allocations: 117.5 kB / 1.008 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01228, allocations: 0 / 1.008 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003498/0.01263, allocations: 201.4 kB / 1.008 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.01265, allocations: 7.938 kB / 1.008 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.01265, allocations: 0 / 1.008 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.01268, allocations: 4 kB / 1.008 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.01286, allocations: 27.98 kB / 1.008 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.01287, allocations: 7.984 kB / 1.008 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.01293, allocations: 15.89 kB / 1.008 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.01296, allocations: 12 kB / 1.008 GB, free: 4.891 MB / 0.9167 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.0002732/0.01323, allocations: 212 kB / 1.008 GB, free: 4.676 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.01329, allocations: 19.86 kB / 1.008 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.01351, allocations: 100.8 kB / 1.008 GB, free: 4.551 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.01352, allocations: 4 kB / 1.008 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01352, allocations: 3.938 kB / 1.008 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01353, allocations: 0 / 1.008 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006186/0.01414, allocations: 0.5587 MB / 1.009 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01415, allocations: 0 / 1.009 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.01417, allocations: 11.94 kB / 1.009 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01417, allocations: 0 / 1.009 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.01418, allocations: 4 kB / 1.009 GB, free: 3.918 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.01419, allocations: 7.922 kB / 1.009 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01419, allocations: 0 / 1.009 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.01435, allocations: 115.5 kB / 1.009 GB, free: 3.77 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.01438, allocations: 20.03 kB / 1.009 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.01441, allocations: 11.89 kB / 1.009 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.153e-05/0.01445, allocations: 7.938 kB / 1.009 GB, free: 3.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.01448, allocations: 7.984 kB / 1.009 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.01448, allocations: 0 / 1.009 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002888/0.01477, allocations: 233.2 kB / 1.009 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01477, allocations: 0 / 1.009 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002546/0.01502, allocations: 51.78 kB / 1.009 GB, free: 3.441 MB / 0.9167 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.0001489/0.01517, allocations: 103.2 kB / 1.009 GB, free: 3.328 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.01539, allocations: 99.89 kB / 1.009 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01539, allocations: 0 / 1.009 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.01542, allocations: 19.92 kB / 1.009 GB, free: 3.211 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01565, allocations: 18.56 kB / 1.009 GB, free: 3.195 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007949/0.01644, allocations: 497.5 kB / 1.01 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.01666, allocations: 187.4 kB / 1.01 GB, free: 2.469 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.133e-05/0.01675, allocations: 41.59 kB / 1.01 GB, free: 2.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.0168, allocations: 16.88 kB / 1.01 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.0168, allocations: 0 / 1.01 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of Templates: time 0.005517/0.02232, allocations: 1.207 MB / 1.011 GB, free: 1.234 MB / 0.9167 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: 8.83272151928395]