Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BenchmarksForResizeableArrays_OB_BenchmarksForResizeableArrays.ArrayEquations.WaterHammer.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.001164/0.001164, allocations: 83.73 kB / 21.69 MB, free: 2.57 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.00115/0.00115, allocations: 159.3 kB / 25.13 MB, free: 9.137 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 0.3445/0.3445, allocations: 179.9 MB / 208.3 MB, free: 14.39 MB / 202.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BenchmarksForResizeableArrays main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BenchmarksForResizeableArrays main/package.mo): time 0.002435/0.002435, allocations: 440.6 kB / 265.3 MB, free: 380 kB / 234.7 MB " [Timeout remaining time 180] Using package BenchmarksForResizeableArrays with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BenchmarksForResizeableArrays main/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(BenchmarksForResizeableArrays.ArrayEquations.WaterHammer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BenchmarksForResizeableArrays_OB_BenchmarksForResizeableArrays.ArrayEquations.WaterHammer") translateModel(BenchmarksForResizeableArrays.ArrayEquations.WaterHammer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BenchmarksForResizeableArrays_OB_BenchmarksForResizeableArrays.ArrayEquations.WaterHammer") [Timeout 400] "Notification: Performance of FrontEnd - loaded program: time 8.61e-07/8.61e-07, allocations: 1.641 kB / 282 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.836e-06/9.697e-06, allocations: 2.312 kB / 282 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BenchmarksForResizeableArrays.ArrayEquations.WaterHammer): time 0.001606/0.001616, allocations: 1.405 MB / 283.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002512/0.001867, allocations: 135.4 kB / 283.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.001892, allocations: 4 kB / 283.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.64e-05/0.001958, allocations: 7.938 kB / 283.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.002047, allocations: 35.75 kB / 283.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.00223, allocations: 35.92 kB / 283.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.972e-05/0.002319, allocations: 87.61 kB / 283.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.809e-05/0.002347, allocations: 7.906 kB / 283.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.002403, allocations: 43.88 kB / 283.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.002556, allocations: 119.7 kB / 283.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.002581, allocations: 12 kB / 283.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.45e-05/0.002605, allocations: 15.94 kB / 283.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.002703, allocations: 111.7 kB / 284 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.555e-05/0.002779, allocations: 75.8 kB / 284.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.002953, allocations: 199.4 kB / 284.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.02e-07/0.002954, allocations: 0 / 284.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.6e-07/0.002954, allocations: 0 / 284.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.874e-06/0.002956, allocations: 3.938 kB / 284.3 MB, free: 13.33 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000634/0.00359, allocations: 420.5 kB / 284.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.167e-05/0.003611, allocations: 19.06 kB / 284.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.003653, allocations: 20.92 kB / 284.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.003793, allocations: 141.5 kB / 284.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.003813, allocations: 20.64 kB / 284.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.00389, allocations: 32.48 kB / 285 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.004119, allocations: 204 kB / 285.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.004126, allocations: 192 / 285.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.004143, allocations: 8.375 kB / 285.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.004161, allocations: 12.62 kB / 285.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.004254, allocations: 63.47 kB / 285.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.004828, allocations: 429.3 kB / 285.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.00505, allocations: 206.4 kB / 285.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/0.00512, allocations: 53.39 kB / 285.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.005138, allocations: 8.281 kB / 285.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.005164, allocations: 42.83 kB / 286 MB, free: 11.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 9.21e-07/0.005165, allocations: 3.938 kB / 286 MB, free: 11.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002773/0.005442, allocations: 188.8 kB / 286.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.005474, allocations: 55.41 kB / 286.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.00555, allocations: 134.6 kB / 286.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.005572, allocations: 33.7 kB / 286.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.005623, allocations: 108.6 kB / 286.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.274e-05/0.005715, allocations: 154.7 kB / 286.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.005804, allocations: 74.16 kB / 286.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.005915, allocations: 338.7 kB / 287 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.41e-05/0.006009, allocations: 67.8 kB / 287.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.006117, allocations: 95.14 kB / 287.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.006327, allocations: 191.2 kB / 287.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.006328, allocations: 0 / 287.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002797/0.006608, allocations: 253.3 kB / 287.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.006616, allocations: 4 kB / 287.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.00662, allocations: 4 kB / 287.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.006627, allocations: 0 / 287.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.006907, allocations: 103.8 kB / 287.7 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.006911, allocations: 3.984 kB / 287.7 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.007026, allocations: 39.67 kB / 287.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.007043, allocations: 12 kB / 287.8 MB, free: 9.684 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (58): * Single equations (assignments): 58 * 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 8.575e-05/0.007129, allocations: 140.6 kB / 287.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.007168, allocations: 23.97 kB / 287.9 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.99e-05/0.007228, allocations: 41.62 kB / 288 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.00723, allocations: 4 kB / 288 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.007232, allocations: 0 / 288 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.007234, allocations: 0 / 288 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.007432, allocations: 153.7 kB / 288.1 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007432, allocations: 0 / 288.1 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.007688, allocations: 67.89 kB / 288.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.007689, allocations: 4 kB / 288.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.007715, allocations: 19.97 kB / 288.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007716, allocations: 0 / 288.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.007717, allocations: 0 / 288.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.008076, allocations: 382.2 kB / 288.6 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.008092, allocations: 19.84 kB / 288.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.008122, allocations: 15.98 kB / 288.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.008229, allocations: 4 kB / 288.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.00827, allocations: 31.83 kB / 288.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.008286, allocations: 11.98 kB / 288.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.72e-05/0.008304, allocations: 16.84 kB / 288.7 MB, free: 8.723 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008304, allocations: 4 kB / 288.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.008494, allocations: 91.94 kB / 288.8 MB, free: 8.629 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],V[1],V[2],V[3],V[4],V[5],V[6],V[7],V[8],V[9],V[10]) * 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 (33): * Single equations (assignments): 33 * 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 7.954e-05/0.008574, allocations: 90.11 kB / 288.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.00881, allocations: 200.6 kB / 289.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008812, allocations: 0 / 289.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.008917, allocations: 88.67 kB / 289.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.009051, allocations: 27.98 kB / 289.2 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008618/0.009912, allocations: 0.7301 MB / 289.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.747e-05/0.01, allocations: 104.9 kB / 290 MB, free: 7.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.542e-05/0.01009, allocations: 26.28 kB / 290.1 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.01021, allocations: 87.36 kB / 290.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of SimCode: time 3.41e-07/0.01021, allocations: 0 / 290.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of Templates: time 0.004667/0.01487, allocations: 2.726 MB / 292.9 MB, free: 4.551 MB / 266.7 MB " [Timeout remaining time 400] make -j12 -f BenchmarksForResizeableArrays_OB_BenchmarksForResizeableArrays.ArrayEquations.WaterHammer.makefile [Timeout 400] (rm -f BenchmarksForResizeableArrays_OB_BenchmarksForResizeableArrays.ArrayEquations.WaterHammer.pipe ; mkfifo BenchmarksForResizeableArrays_OB_BenchmarksForResizeableArrays.ArrayEquations.WaterHammer.pipe ; head -c 1048576 < BenchmarksForResizeableArrays_OB_BenchmarksForResizeableArrays.ArrayEquations.WaterHammer.pipe >> ../files/BenchmarksForResizeableArrays_OB_BenchmarksForResizeableArrays.ArrayEquations.WaterHammer.sim & ./BenchmarksForResizeableArrays_OB_BenchmarksForResizeableArrays.ArrayEquations.WaterHammer -abortSlowSimulation -alarm=240 -lv LOG_STATS > BenchmarksForResizeableArrays_OB_BenchmarksForResizeableArrays.ArrayEquations.WaterHammer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 1.0766919944435358]