Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.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.001075/0.001075, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001661/0.002736, 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.001038/0.001038, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.00251, 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.9396/0.9396, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08881/1.028, allocations: 53.66 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.924/1.924, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.47/2.394, allocations: 127.1 MB / 0.7435 GB, free: 4.547 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.LastTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.7448 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.33e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.001759/0.001772, allocations: 0.7799 MB / 0.7455 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001202/0.001892, allocations: 55.77 kB / 0.7456 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.001955, allocations: 4 kB / 0.7456 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.62e-05/0.002031, allocations: 12.97 kB / 0.7456 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.496e-05/0.002116, allocations: 14.19 kB / 0.7456 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.755e-05/0.002164, allocations: 19.98 kB / 0.7456 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.0024, allocations: 182.2 kB / 0.7458 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.00264, allocations: 146.1 kB / 0.746 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.002872, allocations: 194.9 kB / 0.7461 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.002985, allocations: 87.73 kB / 0.7462 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.003029, allocations: 20 kB / 0.7462 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.278e-05/0.003062, allocations: 20 kB / 0.7463 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.003123, allocations: 50.25 kB / 0.7463 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.449e-05/0.003188, allocations: 55.81 kB / 0.7464 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.00342, allocations: 191.2 kB / 0.7465 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.003431, allocations: 0 / 0.7465 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003432, allocations: 0 / 0.7465 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.003447, allocations: 0 / 0.7465 GB, free: 1.504 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000566/0.004013, allocations: 491.8 kB / 0.747 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.004047, allocations: 9.469 kB / 0.747 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.004124, allocations: 40.91 kB / 0.7471 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.00442, allocations: 227.1 kB / 0.7473 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.004466, allocations: 33.02 kB / 0.7473 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.004502, allocations: 24.38 kB / 0.7473 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.004815, allocations: 231.1 kB / 0.7476 GB, free: 412 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.004826, allocations: 192 / 0.7476 GB, free: 412 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.004847, allocations: 8.375 kB / 0.7476 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.004856, allocations: 8.375 kB / 0.7476 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.004999, allocations: 89.48 kB / 0.7477 GB, free: 304 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.005732, allocations: 0.5332 MB / 0.7482 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.359e-05/0.005786, allocations: 41.14 kB / 0.7482 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.005801, allocations: 9.719 kB / 0.7482 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.005819, allocations: 4.688 kB / 0.7482 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.005845, allocations: 34.56 kB / 0.7483 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.005846, allocations: 0.6875 kB / 0.7483 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.005991, allocations: 50.77 kB / 0.7483 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.006031, allocations: 85.05 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.006243, allocations: 265.2 kB / 0.7486 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.006254, allocations: 27.2 kB / 0.7487 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.006357, allocations: 184.1 kB / 0.7489 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.006364, allocations: 0 / 0.7489 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.006435, allocations: 61.59 kB / 0.7489 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.006534, allocations: 334.8 kB / 0.7492 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.006562, allocations: 9.094 kB / 0.7492 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.272e-05/0.006605, allocations: 32.06 kB / 0.7493 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.441e-05/0.006679, allocations: 50.42 kB / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.006682, allocations: 0 / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001247/0.006806, allocations: 82.25 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.006821, allocations: 8 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006825, allocations: 0.8438 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.006838, allocations: 0 / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.006952, allocations: 33.45 kB / 0.7494 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.006958, allocations: 7.922 kB / 0.7494 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.007003, allocations: 15.89 kB / 0.7495 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.007015, allocations: 4 kB / 0.7495 GB, free: 14.33 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: 14 (idxLasTruAllFal.booToInt[6].y,idxLasTruAllFal.booToInt[5].y,idxLasTruAllFal.booToInt[4].y,idxLasTruAllFal.booToInt[3].y,idxLasTruAllFal.booToInt[2].y,idxLasTruAllFal.booToInt[1].y,idxLasTruAllFal.y,idxLasTru.booToInt[6].y,idxLasTru.booToInt[5].y,idxLasTru.booToInt[4].y,idxLasTru.booToInt[3].y,idxLasTru.booToInt[2].y,idxLasTru.booToInt[1].y,idxLasTru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001058/0.007121, allocations: 133.8 kB / 0.7496 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.007162, allocations: 4.656 kB / 0.7496 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.007302, allocations: 147.4 kB / 0.7497 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-05/0.007351, allocations: 176.8 kB / 0.7499 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.062e-05/0.007401, allocations: 185.9 kB / 0.7501 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.896e-05/0.00745, allocations: 188.2 kB / 0.7503 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.007669, allocations: 373.3 kB / 0.7506 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/0.007701, allocations: 106.1 kB / 0.7507 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.007731, allocations: 101 kB / 0.7508 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.007782, allocations: 121.6 kB / 0.7509 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.643e-05/0.007828, allocations: 184.2 kB / 0.7511 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.007876, allocations: 176.8 kB / 0.7513 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.892e-05/0.007925, allocations: 185 kB / 0.7514 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.112e-05/0.007976, allocations: 180.5 kB / 0.7516 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.008096, allocations: 322.1 kB / 0.7519 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/0.008163, allocations: 188.2 kB / 0.7521 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.008251, allocations: 108.9 kB / 0.7522 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.008302, allocations: 180.2 kB / 0.7524 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.008331, allocations: 104.9 kB / 0.7525 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.653e-05/0.008427, allocations: 78.78 kB / 0.7526 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.008427, allocations: 0 / 0.7526 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002471/0.008674, allocations: 50.53 kB / 0.7526 GB, free: 10.94 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001033/0.008778, allocations: 161.7 kB / 0.7528 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.508e-05/0.008873, allocations: 36.84 kB / 0.7528 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.008879, allocations: 0 / 0.7528 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-06/0.008883, allocations: 4 kB / 0.7528 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.009276, allocations: 0.6044 MB / 0.7534 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.009735, allocations: 446 kB / 0.7538 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.173e-05/0.009786, allocations: 79.81 kB / 0.7539 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.569e-05/0.009832, allocations: 17.48 kB / 0.7539 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.009906, allocations: 67.36 kB / 0.754 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.009906, allocations: 5.625 kB / 0.754 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of Templates: time 0.003556/0.01346, allocations: 1.216 MB / 0.7552 GB, free: 8.305 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.783119381405413]