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.0006885/0.0006885, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009141/0.001603, allocations: 449.7 kB / 10.37 MB, free: 328 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.001085/0.001085, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002423, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9847/0.9847, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1103/1.095, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.905/1.905, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.506/2.411, allocations: 127.1 MB / 0.7432 GB, free: 4.637 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.843e-06/1.843e-06, allocations: 0 / 0.7445 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.24e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.002093/0.002115, allocations: 0.7772 MB / 0.7452 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.002254, allocations: 55.77 kB / 0.7453 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.002316, allocations: 1.781 kB / 0.7453 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.444e-05/0.0024, allocations: 20.41 kB / 0.7453 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.969e-05/0.00249, allocations: 9.672 kB / 0.7453 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.909e-05/0.002539, allocations: 19.11 kB / 0.7453 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.002786, allocations: 183.6 kB / 0.7455 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.003037, allocations: 150.1 kB / 0.7456 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.003297, allocations: 190.4 kB / 0.7458 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.003425, allocations: 83.78 kB / 0.7459 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.003472, allocations: 20 kB / 0.7459 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.171e-05/0.003503, allocations: 20 kB / 0.7459 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.381e-05/0.003577, allocations: 47.81 kB / 0.746 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.647e-05/0.003654, allocations: 53.5 kB / 0.746 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.003896, allocations: 195.2 kB / 0.7462 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.661e-05/0.003912, allocations: 0 / 0.7462 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003913, allocations: 4 kB / 0.7462 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.001e-05/0.003933, allocations: 1.188 kB / 0.7462 GB, free: 1.617 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.0005871/0.004521, allocations: 495.8 kB / 0.7467 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.004557, allocations: 8.031 kB / 0.7467 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.004633, allocations: 45.66 kB / 0.7467 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.004937, allocations: 218.9 kB / 0.747 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.004984, allocations: 25.03 kB / 0.747 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.00502, allocations: 25.12 kB / 0.747 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.005358, allocations: 227.8 kB / 0.7472 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.00537, allocations: 1.719 kB / 0.7472 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.005393, allocations: 12.38 kB / 0.7472 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.005403, allocations: 4.375 kB / 0.7472 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.005563, allocations: 94 kB / 0.7473 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.006392, allocations: 0.5357 MB / 0.7478 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.745e-05/0.006459, allocations: 49.12 kB / 0.7479 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.006477, allocations: 9.719 kB / 0.7479 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.006499, allocations: 0 / 0.7479 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.006524, allocations: 34.62 kB / 0.7479 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.006525, allocations: 0 / 0.7479 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001577/0.006683, allocations: 48.06 kB / 0.748 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.006727, allocations: 81.11 kB / 0.7481 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.006962, allocations: 264.6 kB / 0.7483 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.006973, allocations: 25.7 kB / 0.7483 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.007072, allocations: 184.1 kB / 0.7485 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.007082, allocations: 9.25 kB / 0.7485 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.007164, allocations: 57.59 kB / 0.7486 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.007262, allocations: 326.8 kB / 0.7489 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.538e-05/0.007297, allocations: 18.55 kB / 0.7489 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.17e-05/0.007339, allocations: 29.64 kB / 0.7489 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.084e-05/0.00741, allocations: 45.67 kB / 0.749 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007412, allocations: 0 / 0.749 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000135/0.007547, allocations: 77.59 kB / 0.7491 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.007563, allocations: 8 kB / 0.7491 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007568, allocations: 160 / 0.7491 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.007577, allocations: 2.75 kB / 0.7491 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.007708, allocations: 27.98 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.007715, allocations: 7.922 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.007766, allocations: 19.89 kB / 0.7491 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.00778, allocations: 4 kB / 0.7491 GB, free: 14.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: 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.0001144/0.007895, allocations: 134.8 kB / 0.7492 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.007937, allocations: 4 kB / 0.7493 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.008071, allocations: 147.5 kB / 0.7494 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-05/0.008127, allocations: 184.2 kB / 0.7496 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.032e-05/0.008177, allocations: 180.3 kB / 0.7497 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-05/0.008233, allocations: 192.1 kB / 0.7499 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.008466, allocations: 370 kB / 0.7503 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/0.008497, allocations: 101 kB / 0.7504 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.008532, allocations: 110.8 kB / 0.7505 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.008589, allocations: 116.8 kB / 0.7506 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.467e-05/0.008644, allocations: 188.8 kB / 0.7508 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.008699, allocations: 176.8 kB / 0.7509 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.781e-05/0.008747, allocations: 176.3 kB / 0.7511 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.218e-05/0.008799, allocations: 188.7 kB / 0.7513 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.008926, allocations: 321.4 kB / 0.7516 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.00899, allocations: 180.3 kB / 0.7518 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.24e-05/0.009082, allocations: 109 kB / 0.7519 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.009139, allocations: 180.2 kB / 0.752 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.009168, allocations: 102.1 kB / 0.7521 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001127/0.00928, allocations: 82.77 kB / 0.7522 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.00928, allocations: 0 / 0.7522 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002414/0.009522, allocations: 44.56 kB / 0.7523 GB, free: 11.07 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.0001233/0.009645, allocations: 160.2 kB / 0.7524 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.009753, allocations: 37.66 kB / 0.7524 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/0.009766, allocations: 8 kB / 0.7525 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.009768, allocations: 0 / 0.7525 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.01012, allocations: 493.5 kB / 0.7529 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.01066, allocations: 438 kB / 0.7533 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.878e-05/0.01072, allocations: 79.81 kB / 0.7534 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.032e-05/0.01077, allocations: 18.14 kB / 0.7534 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.01085, allocations: 67.36 kB / 0.7535 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of SimCode: time 8.11e-07/0.01085, allocations: 1.719 kB / 0.7535 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of Templates: time 0.004185/0.01504, allocations: 1.213 MB / 0.7547 GB, free: 8.598 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.838442432694137]