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.002398/0.002398, 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.002709/0.002709, allocations: 213.8 kB / 23.02 MB, free: 2.949 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.788/1.788, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.457/3.457, allocations: 0.5045 GB / 0.8104 GB, free: 2.809 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.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 0.003965/0.003965, allocations: 67.89 kB / 1.177 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9212/0.9252, allocations: 180 MB / 1.353 GB, free: 1.664 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.002366/0.9276, allocations: 0.706 MB / 1.354 GB, free: 0.9609 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.9278, allocations: 47.84 kB / 1.354 GB, free: 0.9141 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.9279, allocations: 3.938 kB / 1.354 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.928, allocations: 19.86 kB / 1.354 GB, free: 0.8906 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.9282, allocations: 11.91 kB / 1.354 GB, free: 0.8789 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 6.315e-05/0.9282, allocations: 23.98 kB / 1.354 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.9285, allocations: 179.6 kB / 1.354 GB, free: 0.6797 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.9288, allocations: 145.2 kB / 1.354 GB, free: 0.5391 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.929, allocations: 107.6 kB / 1.354 GB, free: 444 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.9292, allocations: 123.4 kB / 1.354 GB, free: 320 kB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 6.726e-05/0.9293, allocations: 24 kB / 1.354 GB, free: 296 kB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 5.206e-05/0.9293, allocations: 24 kB / 1.354 GB, free: 272 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/0.9294, allocations: 67.78 kB / 1.354 GB, free: 204 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.9295, allocations: 103.4 kB / 1.354 GB, free: 100 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0005211/0.9301, allocations: 377.3 kB / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9301, allocations: 3.938 kB / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9301, allocations: 0 / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.9301, allocations: 0 / 1.355 GB, free: 15.73 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008458/0.9309, allocations: 489.5 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.931, allocations: 12.92 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.9311, allocations: 36.7 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.9315, allocations: 259.5 kB / 1.356 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.9316, allocations: 33.02 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.9316, allocations: 28.38 kB / 1.356 GB, free: 14.83 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.9322, allocations: 336.3 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.9322, allocations: 4.125 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.9323, allocations: 15.94 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.9323, allocations: 4 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.9327, allocations: 263.8 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.9343, allocations: 0.7273 MB / 1.357 GB, free: 13.44 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.9344, allocations: 61.12 kB / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.9345, allocations: 29.77 kB / 1.357 GB, free: 13.33 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.9345, allocations: 3.984 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.9346, allocations: 46.5 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.9346, allocations: 0 / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0002878/0.9348, allocations: 117.5 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.9349, allocations: 77.11 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.9353, allocations: 324.8 kB / 1.358 GB, free: 12.73 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.9354, allocations: 29.64 kB / 1.358 GB, free: 12.69 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.9355, allocations: 192.2 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.9356, allocations: 4 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.697e-05/0.9357, allocations: 65.62 kB / 1.358 GB, free: 12.43 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.9358, allocations: 335.1 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.936, allocations: 59.95 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.9361, allocations: 69.67 kB / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.9362, allocations: 105.6 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9362, allocations: 0 / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002883/0.9365, allocations: 165.5 kB / 1.359 GB, free: 11.68 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9365, allocations: 7.938 kB / 1.359 GB, free: 11.67 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9365, allocations: 4 kB / 1.359 GB, free: 11.67 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9366, allocations: 0 / 1.359 GB, free: 11.67 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.9367, allocations: 27.98 kB / 1.359 GB, free: 11.64 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.9367, allocations: 7.938 kB / 1.359 GB, free: 11.63 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.9368, allocations: 19.89 kB / 1.359 GB, free: 11.61 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.9368, allocations: 4 kB / 1.359 GB, free: 11.61 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: 14 (idxLasTru.booToInt[1].y,idxLasTru.booToInt[2].y,idxLasTru.booToInt[3].y,idxLasTru.booToInt[4].y,idxLasTru.booToInt[5].y,idxLasTru.booToInt[6].y,idxLasTru.y,idxLasTruAllFal.booToInt[1].y,idxLasTruAllFal.booToInt[2].y,idxLasTruAllFal.booToInt[3].y,idxLasTruAllFal.booToInt[4].y,idxLasTruAllFal.booToInt[5].y,idxLasTruAllFal.booToInt[6].y,idxLasTruAllFal.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.0002185/0.937, allocations: 189.8 kB / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.9371, allocations: 19.84 kB / 1.359 GB, free: 11.39 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.9373, allocations: 155.3 kB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001084/0.9374, allocations: 184.2 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001116/0.9375, allocations: 180.3 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/0.9376, allocations: 180.2 kB / 1.359 GB, free: 10.68 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.938, allocations: 448.8 kB / 1.36 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.449e-05/0.938, allocations: 109 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.9381, allocations: 105 kB / 1.36 GB, free: 9.977 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.773e-05/0.9382, allocations: 180.3 kB / 1.36 GB, free: 9.793 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.9383, allocations: 184.1 kB / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001074/0.9384, allocations: 180.2 kB / 1.361 GB, free: 9.422 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001031/0.9385, allocations: 188.2 kB / 1.361 GB, free: 9.23 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.9387, allocations: 315.7 kB / 1.361 GB, free: 8.898 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.9388, allocations: 120.9 kB / 1.361 GB, free: 8.773 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.939, allocations: 188.2 kB / 1.361 GB, free: 8.582 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.9391, allocations: 112.9 kB / 1.361 GB, free: 8.465 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.9392, allocations: 176.3 kB / 1.362 GB, free: 8.285 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.9392, allocations: 108.9 kB / 1.362 GB, free: 8.172 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0002875/0.9395, allocations: 232.4 kB / 1.362 GB, free: 7.945 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.9395, allocations: 0 / 1.362 GB, free: 7.945 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002799/0.9398, allocations: 47.78 kB / 1.362 GB, free: 7.898 MB / 1.042 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.0001785/0.94, allocations: 174.5 kB / 1.362 GB, free: 7.715 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.9402, allocations: 71.94 kB / 1.362 GB, free: 7.645 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9402, allocations: 0 / 1.362 GB, free: 7.645 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.9402, allocations: 7.938 kB / 1.362 GB, free: 7.637 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.9407, allocations: 468.2 kB / 1.363 GB, free: 7.176 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/0.9415, allocations: 484.5 kB / 1.363 GB, free: 6.68 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.9417, allocations: 161.3 kB / 1.363 GB, free: 6.5 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.268e-05/0.9418, allocations: 37.47 kB / 1.363 GB, free: 6.465 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.9419, allocations: 15.42 kB / 1.363 GB, free: 6.449 MB / 1.042 GB Notification: Performance of SimCode: time 6.11e-07/0.9419, allocations: 0 / 1.363 GB, free: 6.449 MB / 1.042 GB Notification: Performance of Templates: time 0.005188/0.9471, allocations: 1.193 MB / 1.365 GB, free: 5.281 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.446214600466192]