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.0007209/0.0007209, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001787, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.852/0.852, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1524/1.004, allocations: 53.65 MB / 242 MB, free: 2.613 MB / 234.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.001217/0.001217, allocations: 166.4 kB / 242.9 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.002847, allocations: 475.9 kB / 243.4 MB, free: 1.281 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.5026/0.5026, allocations: 89.19 MB / 333.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07949/0.5821, allocations: 30.21 MB / 363.5 MB, free: 3.07 MB / 346.7 MB " [Timeout remaining time 179] 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.02028/0.02028, allocations: 4.799 MB / 369.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003997/0.02427, allocations: 1.918 MB / 371 MB, free: 11.78 MB / 362.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.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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.352e-06/1.352e-06, allocations: 0 / 372.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.001e-05, allocations: 10.31 kB / 372.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock): time 0.002477/0.002497, allocations: 2.128 MB / 374.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.004584, allocations: 1.636 MB / 376.1 MB, free: 6.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.004765, allocations: 7.938 kB / 376.1 MB, free: 6.652 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.00519, allocations: 202.9 kB / 376.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.005468, allocations: 159.7 kB / 376.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.007108, allocations: 1.145 MB / 377.6 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002832/0.009939, allocations: 4.7 MB / 382.3 MB, free: 460 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.01003, allocations: 42.77 kB / 382.4 MB, free: 416 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.01343, allocations: 2.355 MB / 384.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0043/0.01773, allocations: 5.404 MB / 390.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002541/0.02027, allocations: 0.9023 MB / 391 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.02303, allocations: 1.109 MB / 392.2 MB, free: 6.621 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004048/0.02707, allocations: 4.982 MB / 397.1 MB, free: 1.629 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006101/0.03317, allocations: 2.731 MB / 399.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.04375, allocations: 11.34 MB / 411.2 MB, free: 3.516 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.04376, allocations: 0 / 411.2 MB, free: 3.516 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.04377, allocations: 0 / 411.2 MB, free: 3.516 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005456/0.04431, allocations: 7.938 kB / 411.2 MB, free: 3.508 MB / 394.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.02409/0.0684, allocations: 14.39 MB / 425.6 MB, free: 5.035 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.06844, allocations: 15.98 kB / 425.6 MB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/0.07173, allocations: 1.436 MB / 427.1 MB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.07604, allocations: 3.12 MB / 430.2 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/0.07645, allocations: 0.7865 MB / 431 MB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/0.0783, allocations: 1.031 MB / 432 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/0.09627, allocations: 11.6 MB / 443.6 MB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001896/0.09646, allocations: 23.88 kB / 443.6 MB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001426/0.09788, allocations: 424 kB / 444 MB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003868/0.1018, allocations: 2.416 MB / 446.4 MB, free: 88 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/0.1146, allocations: 5.309 MB / 451.8 MB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05377/0.1684, allocations: 30.16 MB / 481.9 MB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/0.1801, allocations: 13.42 MB / 495.3 MB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003786/0.1839, allocations: 2.14 MB / 497.5 MB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005528/0.1844, allocations: 262.3 kB / 497.7 MB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.103e-05/0.1845, allocations: 168.9 kB / 497.9 MB, free: 12.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1323): time 1.306e-05/0.1845, allocations: 0 / 497.9 MB, free: 12.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=1323): time 0.009378/0.1939, allocations: 6.695 MB / 0.4928 GB, free: 5.434 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/0.194, allocations: 185.8 kB / 0.4929 GB, free: 5.238 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.1945, allocations: 486.3 kB / 0.4934 GB, free: 4.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005384/0.1951, allocations: 241.7 kB / 0.4936 GB, free: 4.504 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.1967, allocations: 3.756 MB / 0.4973 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1683/0.365, allocations: 4.538 MB / 0.5017 GB, free: 108.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003201/0.3682, allocations: 1.809 MB / 0.5035 GB, free: 108.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.3683, allocations: 321 kB / 0.5038 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/0.3715, allocations: 1.598 MB / 0.5054 GB, free: 107.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003339/0.3748, allocations: 2.799 MB / 0.5081 GB, free: 107 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006813/0.3817, allocations: 6.108 MB / 0.5141 GB, free: 106.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.448e-05/0.3817, allocations: 5.875 kB / 0.5141 GB, free: 106.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.007542/0.3892, allocations: 5.728 MB / 0.5197 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.3893, allocations: 12 kB / 0.5197 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.552e-05/0.3893, allocations: 16 kB / 0.5197 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.108e-05/0.3894, allocations: 66.72 kB / 0.5198 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007334/0.3967, allocations: 2.96 MB / 0.5227 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.017e-05/0.3967, allocations: 79.53 kB / 0.5227 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/0.4, allocations: 0.825 MB / 0.5235 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007001/0.4007, allocations: 343.6 kB / 0.5239 GB, free: 102.4 MB / 490.7 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.003102/0.4038, allocations: 0.6979 MB / 0.5245 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/0.4049, allocations: 0.7101 MB / 0.5252 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008961/0.4139, allocations: 8.125 MB / 0.5332 GB, free: 94.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.503e-05/0.4139, allocations: 146 kB / 0.5333 GB, free: 94.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.414, allocations: 7.75 kB / 0.5333 GB, free: 94.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.724e-05/0.414, allocations: 67.73 kB / 0.5334 GB, free: 94.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02198/0.436, allocations: 14.89 MB / 0.5479 GB, free: 79.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.151e-05/0.436, allocations: 12 kB / 0.5479 GB, free: 79.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007745/0.4438, allocations: 3.037 MB / 0.5509 GB, free: 76.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005511/0.4443, allocations: 0.6998 MB / 0.5516 GB, free: 75.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-05/0.4444, allocations: 60 kB / 0.5516 GB, free: 75.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001104/0.4455, allocations: 347.7 kB / 0.552 GB, free: 75.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.829e-05/0.4455, allocations: 63.94 kB / 0.552 GB, free: 75.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.4455, allocations: 15.94 kB / 0.5521 GB, free: 75.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/0.4565, allocations: 10.38 MB / 0.5622 GB, free: 64.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007393/0.4572, allocations: 265 kB / 0.5624 GB, free: 64.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/0.4597, allocations: 275 kB / 0.5627 GB, free: 64.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001158/0.4609, allocations: 0.9153 MB / 0.5636 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006529/0.4616, allocations: 331.7 kB / 0.5639 GB, free: 62.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.4617, allocations: 168.7 kB / 0.5641 GB, free: 62.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4617, allocations: 0 / 0.5641 GB, free: 62.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004461/0.4661, allocations: 3.911 MB / 0.5679 GB, free: 58.89 MB / 490.7 MB 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.001208/0.4674, allocations: 0.5475 MB / 0.5684 GB, free: 58.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007921/0.4753, allocations: 6.433 MB / 0.5747 GB, free: 52.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001648/0.4754, allocations: 98.88 kB / 0.5748 GB, free: 51.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007026/0.4825, allocations: 5.496 MB / 0.5802 GB, free: 46.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/0.4856, allocations: 1.795 MB / 0.5819 GB, free: 44.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04231/0.5279, allocations: 23.54 MB / 0.6049 GB, free: 20.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/0.5301, allocations: 2.821 MB / 0.6077 GB, free: 17.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005651/0.5357, allocations: 1.136 MB / 0.6088 GB, free: 16.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005036/0.5408, allocations: 1.489 MB / 0.6102 GB, free: 15.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.914e-06/0.5408, allocations: 0 / 0.6102 GB, free: 15.27 MB / 490.7 MB Notification: Performance of Templates: time 0.1253/0.666, allocations: 110.2 MB / 0.7179 GB, free: 1.676 MB / 0.573 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: 6.539578922092915]