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.0009902/0.0009902, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.9242/0.9242, allocations: 177.2 MB / 201 MB, free: 5.727 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.001216/0.001216, allocations: 152.6 kB / 257.7 MB, free: 13 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.3061/0.3061, allocations: 80.26 MB / 394.5 MB, free: 1.996 MB / 314.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.02066/0.02066, allocations: 4.799 MB / 482.6 MB, free: 3.965 MB / 394.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.733e-06/1.733e-06, allocations: 0 / 0.5687 GB, free: 76 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.251e-05, allocations: 9.625 kB / 0.5687 GB, free: 68 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock): time 0.003786/0.003818, allocations: 2.061 MB / 0.5707 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.006151, allocations: 1.605 MB / 0.5723 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.00631, allocations: 7.938 kB / 0.5723 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.006841, allocations: 190.9 kB / 0.5725 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.007132, allocations: 175 kB / 0.5726 GB, free: 12 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.008673, allocations: 1.166 MB / 0.5738 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003089/0.01176, allocations: 4.575 MB / 0.5782 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.01187, allocations: 28.88 kB / 0.5783 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.01525, allocations: 2.319 MB / 0.5805 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004743/0.02, allocations: 5.397 MB / 0.5858 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003081/0.02308, allocations: 0.9023 MB / 0.5867 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.02569, allocations: 1.117 MB / 0.5878 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.005054/0.03074, allocations: 5.777 MB / 0.5934 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006683/0.03743, allocations: 4.006 MB / 0.5973 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.3202/0.3576, allocations: 13.16 MB / 0.6102 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.3576, allocations: 0 / 0.6102 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3576, allocations: 0 / 0.6102 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008441/0.3585, allocations: 1.094 kB / 0.6102 GB, free: 155.3 MB / 0.5105 GB 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.04858/0.407, allocations: 13.39 MB / 0.6232 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.4071, allocations: 11 kB / 0.6232 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.4223, allocations: 1.983 MB / 0.6252 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.4348, allocations: 3.36 MB / 0.6285 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005564/0.4354, allocations: 0.7849 MB / 0.6292 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006007/0.4414, allocations: 1.031 MB / 0.6302 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01728/0.4586, allocations: 11.4 MB / 0.6414 GB, free: 136 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/0.4588, allocations: 15.89 kB / 0.6414 GB, free: 136 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/0.4598, allocations: 424 kB / 0.6418 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004103/0.4639, allocations: 2.602 MB / 0.6443 GB, free: 133 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.4741, allocations: 6.462 MB / 0.6506 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05685/0.531, allocations: 32.36 MB / 0.6822 GB, free: 93.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/0.5463, allocations: 14.02 MB / 0.6959 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007081/0.5534, allocations: 2.512 MB / 0.6984 GB, free: 77.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007307/0.5541, allocations: 262.3 kB / 0.6986 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.13e-05/0.5542, allocations: 175.7 kB / 0.6988 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1323): time 1.441e-05/0.5542, allocations: 0 / 0.6988 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1323): time 0.02553/0.5797, allocations: 8.995 MB / 0.7076 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.5798, allocations: 189.8 kB / 0.7078 GB, free: 67.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.5805, allocations: 0.5836 MB / 0.7083 GB, free: 67.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001371/0.5818, allocations: 237.7 kB / 0.7086 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.5832, allocations: 3.821 MB / 0.7123 GB, free: 63 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004381/0.5875, allocations: 4.835 MB / 0.717 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004424/0.592, allocations: 2.18 MB / 0.7191 GB, free: 55.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.592, allocations: 0.4901 MB / 0.7196 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003589/0.5956, allocations: 2.02 MB / 0.7216 GB, free: 53.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004999/0.6006, allocations: 3.751 MB / 0.7253 GB, free: 49.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01415/0.6148, allocations: 7.023 MB / 0.7321 GB, free: 42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.051e-05/0.6148, allocations: 4 kB / 0.7321 GB, free: 41.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.02048/0.6353, allocations: 7.881 MB / 0.7398 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.6353, allocations: 12.19 kB / 0.7398 GB, free: 34.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/0.6354, allocations: 20 kB / 0.7398 GB, free: 34.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.114e-05/0.6354, allocations: 64 kB / 0.7399 GB, free: 33.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008495/0.6439, allocations: 2.465 MB / 0.7423 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001628/0.6441, allocations: 79.8 kB / 0.7424 GB, free: 31.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005262/0.6493, allocations: 0.8256 MB / 0.7432 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001952/0.6513, allocations: 359.7 kB / 0.7435 GB, free: 30.26 MB / 0.5105 GB 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.00623/0.6575, allocations: 0.7482 MB / 0.7443 GB, free: 29.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002436/0.66, allocations: 0.8642 MB / 0.7451 GB, free: 28.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/0.674, allocations: 10.09 MB / 0.755 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.611e-05/0.674, allocations: 140 kB / 0.7551 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.674, allocations: 0 / 0.7551 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.498e-05/0.6741, allocations: 75.72 kB / 0.7552 GB, free: 18.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03429/0.7084, allocations: 17.28 MB / 0.7721 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/0.7084, allocations: 12 kB / 0.7721 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007373/0.7158, allocations: 2.543 MB / 0.7745 GB, free: 14.22 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.385e-05/0.7159, allocations: 60 kB / 0.7746 GB, free: 14.16 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000809/0.7167, allocations: 367.7 kB / 0.775 GB, free: 13.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.957e-05/0.7167, allocations: 67.92 kB / 0.775 GB, free: 13.74 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.7168, allocations: 15.94 kB / 0.775 GB, free: 13.72 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/0.7316, allocations: 12.4 MB / 0.7871 GB, free: 1.078 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005964/0.7322, allocations: 0.7005 MB / 0.7878 GB, free: 380 kB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008962/0.7331, allocations: 264 kB / 0.7881 GB, free: 116 kB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/0.7359, allocations: 268 kB / 0.7883 GB, free: 15.85 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/0.7371, allocations: 0.9465 MB / 0.7893 GB, free: 14.9 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006971/0.7378, allocations: 359.7 kB / 0.7896 GB, free: 14.55 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0002111/0.7381, allocations: 294.8 kB / 0.7899 GB, free: 14.26 MB / 0.5418 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7381, allocations: 0 / 0.7899 GB, free: 14.26 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.005852/0.7439, allocations: 3.915 MB / 0.7937 GB, free: 10.34 MB / 0.5418 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.00119/0.7451, allocations: 0.5592 MB / 0.7943 GB, free: 9.766 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.009034/0.7541, allocations: 7.442 MB / 0.8015 GB, free: 2.328 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.7541, allocations: 0 / 0.8015 GB, free: 2.328 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.1498/0.9039, allocations: 4.622 MB / 0.806 GB, free: 183.1 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/0.9066, allocations: 0.8235 MB / 0.8068 GB, free: 183.1 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0254/0.932, allocations: 22.41 MB / 0.8287 GB, free: 175.9 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/0.9342, allocations: 2.733 MB / 0.8314 GB, free: 175 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.00644/0.9406, allocations: 1.135 MB / 0.8325 GB, free: 174.2 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005399/0.946, allocations: 1.59 MB / 0.8341 GB, free: 172.9 MB / 0.5418 GB Notification: Performance of SimCode: time 2.204e-06/0.946, allocations: 0 / 0.8341 GB, free: 172.9 MB / 0.5418 GB Notification: Performance of Templates: time 0.1118/1.058, allocations: 112 MB / 0.9435 GB, free: 63.28 MB / 0.5418 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.866116560995579]