Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock.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.001306/0.001306, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.9474/0.9474, allocations: 177.2 MB / 200.3 MB, free: 5.371 MB / 186.7 MB " [Timeout remaining time 179] 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.001205/0.001205, allocations: 160.6 kB / 257 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4407/0.4407, allocations: 80.25 MB / 340.5 MB, free: 9.055 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.02221/0.02221, allocations: 4.788 MB / 375.3 MB, free: 7.008 MB / 346.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock") translateModel(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 395 MB, free: 3.305 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.306e-05, allocations: 6.25 kB / 395 MB, free: 3.297 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock): time 0.003974/0.003997, allocations: 2.126 MB / 397.2 MB, free: 1.156 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.00714, allocations: 1.632 MB / 398.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.007389, allocations: 8 kB / 398.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006936/0.008083, allocations: 198.9 kB / 399 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.008526, allocations: 171 kB / 399.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.0106, allocations: 1.167 MB / 400.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004722/0.01532, allocations: 4.594 MB / 404.9 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.01547, allocations: 30.89 kB / 404.9 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006165/0.02163, allocations: 2.326 MB / 407.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007484/0.02912, allocations: 5.397 MB / 412.7 MB, free: 1.613 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003058/0.03218, allocations: 0.8984 MB / 413.6 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.03603, allocations: 1.125 MB / 414.7 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007884/0.04391, allocations: 5.777 MB / 420.5 MB, free: 9.801 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01002/0.05393, allocations: 4.017 MB / 424.5 MB, free: 5.773 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01724/0.07117, allocations: 13.17 MB / 437.7 MB, free: 8.566 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.07118, allocations: 0 / 437.7 MB, free: 8.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.07118, allocations: 0 / 437.7 MB, free: 8.566 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005479/0.07172, allocations: 0 / 437.7 MB, free: 8.566 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4046 * Number of variables: 4046 Notification: Performance of Generate backend data structure: time 0.3237/0.3954, allocations: 12.38 MB / 450 MB, free: 51.26 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3955, allocations: 9.156 kB / 450 MB, free: 51.26 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.3978, allocations: 1.433 MB / 451.5 MB, free: 50.93 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.4009, allocations: 3.108 MB / 454.6 MB, free: 49.97 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.4012, allocations: 0.7886 MB / 455.4 MB, free: 49.61 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.4024, allocations: 1.033 MB / 456.4 MB, free: 49.27 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008807/0.4112, allocations: 11.6 MB / 468 MB, free: 41.16 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.4113, allocations: 15.89 kB / 468 MB, free: 41.14 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007165/0.412, allocations: 433 kB / 468.4 MB, free: 40.72 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003777/0.4158, allocations: 2.599 MB / 471 MB, free: 38.18 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006779/0.4226, allocations: 5.306 MB / 476.3 MB, free: 32.86 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03321/0.4558, allocations: 29.96 MB / 0.4944 GB, free: 3.395 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.4665, allocations: 13.44 MB / 0.5076 GB, free: 5.875 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004618/0.4711, allocations: 2.139 MB / 0.5096 GB, free: 3.73 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008392/0.4719, allocations: 262.3 kB / 0.5099 GB, free: 3.473 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.472, allocations: 168.9 kB / 0.5101 GB, free: 3.293 MB / 426.8 MB Notification: Performance of pre-optimization done (n=1323): time 1.464e-05/0.4721, allocations: 4 kB / 0.5101 GB, free: 3.289 MB / 426.8 MB Notification: Performance of matching and sorting (n=1323): time 0.01322/0.4853, allocations: 6.703 MB / 0.5166 GB, free: 12.58 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.4854, allocations: 185.8 kB / 0.5168 GB, free: 12.39 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005866/0.486, allocations: 474.4 kB / 0.5172 GB, free: 11.94 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007285/0.4867, allocations: 237.7 kB / 0.5175 GB, free: 11.7 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.4884, allocations: 3.75 MB / 0.5211 GB, free: 7.934 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003164/0.4916, allocations: 4.546 MB / 0.5256 GB, free: 3.348 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002397/0.494, allocations: 1.814 MB / 0.5273 GB, free: 1.527 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.4941, allocations: 314 kB / 0.5276 GB, free: 1.215 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00293/0.497, allocations: 1.596 MB / 0.5292 GB, free: 15.62 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/0.5004, allocations: 2.806 MB / 0.5319 GB, free: 12.6 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.5105, allocations: 6.043 MB / 0.5378 GB, free: 6.293 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.936e-05/0.5106, allocations: 8 kB / 0.5378 GB, free: 6.285 MB / 458.8 MB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.01465/0.5252, allocations: 5.723 MB / 0.5434 GB, free: 0.543 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.5253, allocations: 19.97 kB / 0.5435 GB, free: 0.5234 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.732e-05/0.5253, allocations: 19.94 kB / 0.5435 GB, free: 0.5039 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.943e-05/0.5254, allocations: 64 kB / 0.5435 GB, free: 452 kB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009027/0.5344, allocations: 2.644 MB / 0.5461 GB, free: 13.79 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.884e-05/0.5345, allocations: 75.86 kB / 0.5462 GB, free: 13.72 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004121/0.5386, allocations: 0.8178 MB / 0.547 GB, free: 12.89 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/0.5398, allocations: 343.7 kB / 0.5473 GB, free: 12.56 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 4 (kP.boundaryCon[1,1],kP.boundaryCon[1,2],kP.boundaryCon[2,1],kP.boundaryCon[2,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1448): * Single equations (assignments): 1448 * 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.003775/0.5436, allocations: 0.6975 MB / 0.548 GB, free: 11.85 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/0.5448, allocations: 0.7104 MB / 0.5487 GB, free: 11.14 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/0.5568, allocations: 8.127 MB / 0.5566 GB, free: 2.992 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.387e-05/0.5569, allocations: 143.9 kB / 0.5568 GB, free: 2.852 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/0.5569, allocations: 4 kB / 0.5568 GB, free: 2.848 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001364/0.557, allocations: 79.22 kB / 0.5568 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02796/0.585, allocations: 14.89 MB / 0.5714 GB, free: 3.641 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/0.585, allocations: 12 kB / 0.5714 GB, free: 3.629 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009928/0.5949, allocations: 2.723 MB / 0.5741 GB, free: 0.9023 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.667e-05/0.595, allocations: 60 kB / 0.5741 GB, free: 0.8438 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002831/0.5978, allocations: 343.7 kB / 0.5744 GB, free: 0.5078 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.516e-05/0.5979, allocations: 67.92 kB / 0.5745 GB, free: 452 kB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/0.5979, allocations: 15.94 kB / 0.5745 GB, free: 436 kB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02067/0.6185, allocations: 10.38 MB / 0.5847 GB, free: 5.812 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006533/0.6192, allocations: 0.7043 MB / 0.5853 GB, free: 5.102 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002105/0.6213, allocations: 264 kB / 0.5856 GB, free: 4.844 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003817/0.6251, allocations: 268 kB / 0.5859 GB, free: 4.582 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001942/0.6271, allocations: 0.9153 MB / 0.5867 GB, free: 3.664 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008684/0.6279, allocations: 339.7 kB / 0.5871 GB, free: 3.332 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0001966/0.6281, allocations: 160.7 kB / 0.5872 GB, free: 3.172 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.6281, allocations: 0 / 0.5872 GB, free: 3.172 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005888/0.634, allocations: 3.911 MB / 0.591 GB, free: 15.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 40 (U[1],U[2],U[3],U[4],U[5],U[6],U[7],U[8],U[9],U[10],U[11],U[12],U[13],U[14],U[15],U[16],U[17],U[18],U[19],U[20],U[21],U[22],U[23],U[24],U[25],U[26],U[27],U[28],U[29],U[30],U[31],U[32],U[33],U[34],U[35],U[36],U[37],U[38],U[39],U[40]) * 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 (1511): * Single equations (assignments): 1511 * 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.00185/0.6359, allocations: 0.5368 MB / 0.5916 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01099/0.6469, allocations: 6.295 MB / 0.5977 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.153e-05/0.6469, allocations: 17.75 kB / 0.5977 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007061/0.654, allocations: 3.923 MB / 0.6016 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/0.657, allocations: 0.8036 MB / 0.6023 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03774/0.6947, allocations: 22.67 MB / 0.6245 GB, free: 12.69 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/0.6983, allocations: 2.73 MB / 0.6272 GB, free: 9.926 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.008241/0.7066, allocations: 1.134 MB / 0.6283 GB, free: 8.785 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006399/0.713, allocations: 1.481 MB / 0.6297 GB, free: 7.301 MB / 0.5418 GB Notification: Performance of SimCode: time 1.953e-06/0.713, allocations: 0 / 0.6297 GB, free: 7.301 MB / 0.5418 GB Notification: Performance of Templates: time 0.2733/0.9862, allocations: 109.5 MB / 0.7366 GB, free: 132.7 MB / 0.5574 GB " [Timeout remaining time 659] make -j1 -f OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock.pipe ; mkfifo OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock.pipe >> ../files/OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock.sim & ./OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.497126027941704]