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.002355/0.002355, allocations: 80.52 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.002479/0.002479, allocations: 173.6 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.748/1.748, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.26/3.26, 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.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 2.394e-06/2.394e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.623e-05, allocations: 10.22 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.001919/0.001955, allocations: 0.6966 MB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002269/0.002182, allocations: 55.72 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.002259, allocations: 4 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.002373, allocations: 15.86 kB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.002492, allocations: 11.92 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.355e-05/0.002556, allocations: 19.98 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.002813, allocations: 183.5 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.003088, allocations: 145.3 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.003259, allocations: 143.7 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.003419, allocations: 107.7 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.355e-05/0.003482, allocations: 24 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-05/0.003528, allocations: 24 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.94e-05/0.003628, allocations: 75.75 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.003733, allocations: 75.77 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.00417, allocations: 374.7 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004172, allocations: 0 / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004173, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.004178, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 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.0006793/0.004858, allocations: 493.5 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.004903, allocations: 17.33 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.004967, allocations: 32.75 kB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.005384, allocations: 254.8 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.657e-05/0.005441, allocations: 33.02 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.005478, allocations: 24.38 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.006026, allocations: 348.2 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.006039, allocations: 192 / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.006069, allocations: 12.38 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.006077, allocations: 4.375 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.00649, allocations: 259.8 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.007646, allocations: 0.7234 MB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.007753, allocations: 57.19 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.007805, allocations: 37.77 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.007824, allocations: 0 / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.00786, allocations: 38.5 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.007861, allocations: 0 / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0003028/0.008164, allocations: 121.4 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.008232, allocations: 81.11 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.008608, allocations: 325.6 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.008625, allocations: 25.7 kB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.008791, allocations: 196.1 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-06/0.0088, allocations: 4.25 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/0.008894, allocations: 69.64 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.009063, allocations: 326.8 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.677e-05/0.00916, allocations: 55.95 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.009271, allocations: 81.03 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.009425, allocations: 105.6 kB / 1.007 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.009427, allocations: 0 / 1.007 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002719/0.009699, allocations: 169.5 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.009711, allocations: 7.938 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.009716, allocations: 0 / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.009733, allocations: 7.938 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.009861, allocations: 31.92 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.009866, allocations: 0 / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.992e-05/0.009915, allocations: 15.89 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.009931, allocations: 8 kB / 1.007 GB, free: 6.98 MB / 0.9636 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.0001993/0.01013, allocations: 189.8 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.01018, allocations: 19.86 kB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.01037, allocations: 151.4 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-05/0.01046, allocations: 184.1 kB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002106/0.01067, allocations: 188.2 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.87e-05/0.01076, allocations: 176.3 kB / 1.008 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.0111, allocations: 444.8 kB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.509e-05/0.01116, allocations: 108.9 kB / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.01121, allocations: 101 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.66e-05/0.0113, allocations: 192.2 kB / 1.008 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.322e-05/0.0114, allocations: 176.3 kB / 1.009 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.53e-05/0.01148, allocations: 180.2 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001049/0.01159, allocations: 184.2 kB / 1.009 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.01178, allocations: 319.7 kB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.01186, allocations: 120.8 kB / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.01198, allocations: 192.1 kB / 1.01 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.01209, allocations: 105 kB / 1.01 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.01219, allocations: 188.2 kB / 1.01 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.01224, allocations: 104.9 kB / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002659/0.01251, allocations: 229.2 kB / 1.01 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01251, allocations: 0 / 1.01 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002658/0.01277, allocations: 39.84 kB / 1.01 GB, free: 3.277 MB / 0.9636 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.0001683/0.01294, allocations: 174.5 kB / 1.01 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.01311, allocations: 76.22 kB / 1.01 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01312, allocations: 4 kB / 1.01 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.01312, allocations: 0 / 1.01 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.01361, allocations: 468.2 kB / 1.011 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.01429, allocations: 488.3 kB / 1.011 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.01449, allocations: 165.3 kB / 1.012 GB, free: 1.871 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.871e-05/0.01457, allocations: 41.39 kB / 1.012 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.01461, allocations: 16.5 kB / 1.012 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of SimCode: time 4.31e-07/0.01461, allocations: 0 / 1.012 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of Templates: time 0.004511/0.01912, allocations: 1.076 MB / 1.013 GB, free: 0.7656 MB / 0.9636 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: 9.278126910328865]