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.0009369/0.0009369, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.054/1.054, allocations: 177.1 MB / 201.2 MB, free: 5.633 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.001229/0.001229, allocations: 156.6 kB / 257.9 MB, free: 12.94 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.4116/0.4116, allocations: 80.24 MB / 341.4 MB, free: 9.617 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.02015/0.02015, allocations: 4.791 MB / 376.2 MB, free: 7.121 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.914e-06/1.914e-06, allocations: 0 / 396 MB, free: 3.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.579e-05, allocations: 2.312 kB / 396 MB, free: 3.34 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock): time 0.00228/0.002295, allocations: 2.13 MB / 398.1 MB, free: 1.195 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.00471, allocations: 1.629 MB / 399.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.004841, allocations: 4 kB / 399.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.005332, allocations: 206.8 kB / 400 MB, free: 15.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.005576, allocations: 163 kB / 400.1 MB, free: 15.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.006837, allocations: 1.167 MB / 401.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002625/0.009462, allocations: 4.591 MB / 405.9 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.009535, allocations: 22.91 kB / 405.9 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.01225, allocations: 2.326 MB / 408.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003336/0.01559, allocations: 5.408 MB / 413.6 MB, free: 1.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.01691, allocations: 0.8984 MB / 414.5 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.01813, allocations: 1.125 MB / 415.7 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002999/0.02113, allocations: 5.781 MB / 421.4 MB, free: 9.844 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002755/0.02388, allocations: 4.002 MB / 425.4 MB, free: 5.832 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007677/0.03156, allocations: 13.17 MB / 438.6 MB, free: 8.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.03156, allocations: 0 / 438.6 MB, free: 8.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.073e-06/0.03156, allocations: 4 kB / 438.6 MB, free: 8.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001696/0.03173, allocations: 0 / 438.6 MB, free: 8.613 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.3396/0.3713, allocations: 12.37 MB / 451 MB, free: 51.26 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3713, allocations: 10.53 kB / 451 MB, free: 51.26 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006605/0.378, allocations: 1.436 MB / 452.4 MB, free: 50.93 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005571/0.3835, allocations: 3.11 MB / 455.5 MB, free: 49.97 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006031/0.3841, allocations: 0.7873 MB / 456.3 MB, free: 49.61 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/0.3876, allocations: 1.033 MB / 457.4 MB, free: 49.26 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.408, allocations: 11.6 MB / 469 MB, free: 41.19 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002358/0.4082, allocations: 19.89 kB / 469 MB, free: 41.17 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001899/0.4101, allocations: 429.6 kB / 469.4 MB, free: 40.75 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003776/0.4139, allocations: 2.604 MB / 472 MB, free: 38.2 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.4291, allocations: 5.303 MB / 477.3 MB, free: 32.89 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05214/0.4812, allocations: 29.96 MB / 0.4954 GB, free: 3.422 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.4939, allocations: 13.43 MB / 0.5085 GB, free: 5.895 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004639/0.4986, allocations: 2.139 MB / 0.5106 GB, free: 3.75 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/0.4992, allocations: 258.3 kB / 0.5108 GB, free: 3.492 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.4993, allocations: 172.9 kB / 0.511 GB, free: 3.312 MB / 426.8 MB Notification: Performance of pre-optimization done (n=1323): time 1.317e-05/0.4993, allocations: 0 / 0.511 GB, free: 3.312 MB / 426.8 MB Notification: Performance of matching and sorting (n=1323): time 0.0119/0.5112, allocations: 6.699 MB / 0.5176 GB, free: 12.61 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.5114, allocations: 185.8 kB / 0.5177 GB, free: 12.41 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/0.512, allocations: 474.4 kB / 0.5182 GB, free: 11.96 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007345/0.5127, allocations: 241.7 kB / 0.5184 GB, free: 11.72 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.5143, allocations: 3.754 MB / 0.5221 GB, free: 7.953 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00332/0.5176, allocations: 4.542 MB / 0.5265 GB, free: 3.371 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00255/0.5202, allocations: 1.814 MB / 0.5283 GB, free: 1.551 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5203, allocations: 318 kB / 0.5286 GB, free: 1.234 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/0.5231, allocations: 1.596 MB / 0.5301 GB, free: 15.64 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00391/0.527, allocations: 2.806 MB / 0.5329 GB, free: 12.62 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007896/0.5349, allocations: 6.043 MB / 0.5388 GB, free: 6.312 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.294e-05/0.5349, allocations: 4 kB / 0.5388 GB, free: 6.309 MB / 458.8 MB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.008331/0.5433, allocations: 5.726 MB / 0.5444 GB, free: 0.5625 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.5433, allocations: 18.28 kB / 0.5444 GB, free: 0.5469 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/0.5433, allocations: 19.5 kB / 0.5444 GB, free: 0.5312 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.389e-05/0.5434, allocations: 64 kB / 0.5445 GB, free: 480 kB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007459/0.5509, allocations: 2.648 MB / 0.5471 GB, free: 13.82 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.528e-05/0.5509, allocations: 75.86 kB / 0.5471 GB, free: 13.74 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/0.5543, allocations: 0.8217 MB / 0.5479 GB, free: 12.91 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009635/0.5553, allocations: 339.7 kB / 0.5483 GB, free: 12.58 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.003566/0.5589, allocations: 0.7014 MB / 0.549 GB, free: 11.87 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/0.5601, allocations: 0.7065 MB / 0.5496 GB, free: 11.16 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.5706, allocations: 8.131 MB / 0.5576 GB, free: 3.012 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.949e-05/0.5707, allocations: 148 kB / 0.5577 GB, free: 2.867 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/0.5707, allocations: 0 / 0.5577 GB, free: 2.867 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.391e-05/0.5708, allocations: 71.72 kB / 0.5578 GB, free: 2.797 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0295/0.6003, allocations: 14.89 MB / 0.5723 GB, free: 3.664 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/0.6003, allocations: 16 kB / 0.5724 GB, free: 3.648 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009406/0.6097, allocations: 2.723 MB / 0.575 GB, free: 0.9219 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.453e-05/0.6098, allocations: 60 kB / 0.5751 GB, free: 0.8633 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002315/0.6121, allocations: 343.7 kB / 0.5754 GB, free: 0.5273 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.784e-05/0.6121, allocations: 67.92 kB / 0.5755 GB, free: 472 kB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/0.6122, allocations: 15.94 kB / 0.5755 GB, free: 456 kB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01923/0.6314, allocations: 10.38 MB / 0.5856 GB, free: 5.828 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006632/0.632, allocations: 0.6926 MB / 0.5863 GB, free: 5.129 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00204/0.6341, allocations: 264 kB / 0.5865 GB, free: 4.871 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/0.6377, allocations: 268 kB / 0.5868 GB, free: 4.609 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002148/0.6399, allocations: 0.9153 MB / 0.5877 GB, free: 3.691 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001083/0.641, allocations: 343.7 kB / 0.588 GB, free: 3.355 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0001738/0.6411, allocations: 160.7 kB / 0.5882 GB, free: 3.195 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.6411, allocations: 0 / 0.5882 GB, free: 3.195 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005934/0.6471, allocations: 3.911 MB / 0.592 GB, free: 15.27 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.001813/0.6489, allocations: 0.5379 MB / 0.5925 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01146/0.6603, allocations: 6.308 MB / 0.5987 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.063e-05/0.6604, allocations: 13.81 kB / 0.5987 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007844/0.6682, allocations: 3.915 MB / 0.6025 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004251/0.6725, allocations: 0.8045 MB / 0.6033 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03119/0.7037, allocations: 22.67 MB / 0.6254 GB, free: 12.72 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002765/0.7064, allocations: 2.734 MB / 0.6281 GB, free: 9.949 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.006303/0.7127, allocations: 1.142 MB / 0.6292 GB, free: 8.801 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005187/0.7179, allocations: 1.477 MB / 0.6307 GB, free: 7.32 MB / 0.5418 GB Notification: Performance of SimCode: time 1.834e-06/0.7179, allocations: 1.312 kB / 0.6307 GB, free: 7.32 MB / 0.5418 GB Notification: Performance of Templates: time 0.2808/0.9988, allocations: 109.5 MB / 0.7376 GB, free: 127.2 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 -lv LOG_STATS > OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.455683778040111]