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.001182/0.001182, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001927/0.003108, allocations: 435.8 kB / 10.33 MB, free: 368 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.89/0.89, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.149/1.039, allocations: 53.64 MB / 241.9 MB, free: 2.742 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.001099/0.001099, allocations: 151.1 kB / 242.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002564, allocations: 482.2 kB / 243.2 MB, free: 1.426 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.4687/0.4687, allocations: 89.06 MB / 333 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05026/0.519, allocations: 30.21 MB / 363.2 MB, free: 3.18 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.0203/0.0203, allocations: 4.786 MB / 368.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003968/0.02426, allocations: 1.919 MB / 370.7 MB, free: 11.91 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.233e-06/1.233e-06, allocations: 0 / 372 MB, free: 10.58 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.331e-05, allocations: 4.844 kB / 372 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock): time 0.002282/0.002305, allocations: 2.126 MB / 374.2 MB, free: 8.441 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.004305, allocations: 1.633 MB / 375.8 MB, free: 6.797 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.004463, allocations: 7.938 kB / 375.8 MB, free: 6.789 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004067/0.004869, allocations: 206.9 kB / 376 MB, free: 6.586 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.005147, allocations: 159.7 kB / 376.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.006584, allocations: 1.145 MB / 377.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00349/0.01007, allocations: 4.704 MB / 382 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.01019, allocations: 30.84 kB / 382 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.01395, allocations: 2.359 MB / 384.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004547/0.0185, allocations: 5.412 MB / 389.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002152/0.02065, allocations: 0.8984 MB / 390.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.02277, allocations: 1.117 MB / 391.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004057/0.02683, allocations: 4.978 MB / 396.8 MB, free: 1.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004908/0.03174, allocations: 2.731 MB / 399.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.04272, allocations: 11.34 MB / 410.9 MB, free: 3.652 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.996e-05/0.04274, allocations: 4 kB / 410.9 MB, free: 3.648 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.04274, allocations: 0 / 410.9 MB, free: 3.648 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005941/0.04333, allocations: 4 kB / 410.9 MB, free: 3.645 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.02652/0.06985, allocations: 14.4 MB / 425.3 MB, free: 5.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.06989, allocations: 8.031 kB / 425.3 MB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004666/0.07456, allocations: 1.436 MB / 426.7 MB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006588/0.08115, allocations: 3.12 MB / 429.8 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006305/0.08178, allocations: 0.7904 MB / 430.6 MB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/0.08422, allocations: 1.031 MB / 431.7 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02093/0.1051, allocations: 11.6 MB / 443.3 MB, free: 3.066 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002387/0.1054, allocations: 19.88 kB / 443.3 MB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001535/0.1069, allocations: 431.9 kB / 443.7 MB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004843/0.1118, allocations: 2.602 MB / 446.3 MB, free: 24 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.1277, allocations: 5.308 MB / 451.6 MB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06064/0.1883, allocations: 30.15 MB / 481.8 MB, free: 12.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/0.202, allocations: 13.43 MB / 495.2 MB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004127/0.2061, allocations: 2.131 MB / 497.3 MB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/0.2067, allocations: 266.3 kB / 497.6 MB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.2068, allocations: 168.9 kB / 497.7 MB, free: 12.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1323): time 1.343e-05/0.2069, allocations: 4 kB / 497.7 MB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=1323): time 0.01311/0.22, allocations: 6.695 MB / 0.4926 GB, free: 5.387 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.2201, allocations: 185.8 kB / 0.4928 GB, free: 5.191 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000674/0.2208, allocations: 486.3 kB / 0.4933 GB, free: 4.699 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007386/0.2215, allocations: 241.7 kB / 0.4935 GB, free: 4.457 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001908/0.2234, allocations: 3.748 MB / 0.4971 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2949/0.5183, allocations: 4.537 MB / 0.5016 GB, free: 103.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002264/0.5206, allocations: 1.815 MB / 0.5034 GB, free: 103.4 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.5206, allocations: 320 kB / 0.5037 GB, free: 103.1 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002527/0.5231, allocations: 1.594 MB / 0.5052 GB, free: 103.1 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/0.526, allocations: 2.802 MB / 0.508 GB, free: 102.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006287/0.5322, allocations: 6.046 MB / 0.5139 GB, free: 101.5 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.759e-05/0.5323, allocations: 3.75 kB / 0.5139 GB, free: 101.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.007639/0.5399, allocations: 5.72 MB / 0.5194 GB, free: 101.3 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.54, allocations: 18.58 kB / 0.5195 GB, free: 101.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.131e-05/0.54, allocations: 14.66 kB / 0.5195 GB, free: 101.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.693e-05/0.5401, allocations: 67.16 kB / 0.5195 GB, free: 101.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008507/0.5486, allocations: 2.958 MB / 0.5224 GB, free: 100.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.938e-05/0.5486, allocations: 83.02 kB / 0.5225 GB, free: 100.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003617/0.5522, allocations: 0.8185 MB / 0.5233 GB, free: 99.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008339/0.5531, allocations: 345 kB / 0.5236 GB, free: 99.46 MB / 490.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.003303/0.5564, allocations: 0.7011 MB / 0.5243 GB, free: 99.11 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/0.5575, allocations: 0.709 MB / 0.525 GB, free: 98.69 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00849/0.566, allocations: 8.13 MB / 0.533 GB, free: 92.02 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.711e-05/0.5661, allocations: 140.9 kB / 0.5331 GB, free: 91.89 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.5661, allocations: 0 / 0.5331 GB, free: 91.89 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.42e-05/0.5662, allocations: 71.72 kB / 0.5332 GB, free: 91.82 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02601/0.5922, allocations: 14.9 MB / 0.5477 GB, free: 76.96 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/0.5922, allocations: 8 kB / 0.5477 GB, free: 76.96 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009345/0.6015, allocations: 3.042 MB / 0.5507 GB, free: 73.92 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.6021, allocations: 0.6927 MB / 0.5514 GB, free: 73.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-05/0.6022, allocations: 56 kB / 0.5514 GB, free: 73.38 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002542/0.6047, allocations: 351.7 kB / 0.5518 GB, free: 73.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.846e-05/0.6048, allocations: 63.92 kB / 0.5518 GB, free: 72.97 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.6048, allocations: 19.88 kB / 0.5518 GB, free: 72.95 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01717/0.6219, allocations: 10.38 MB / 0.562 GB, free: 62.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001531/0.6235, allocations: 264 kB / 0.5622 GB, free: 62.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00338/0.6268, allocations: 267.9 kB / 0.5625 GB, free: 61.83 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001444/0.6283, allocations: 0.923 MB / 0.5634 GB, free: 60.91 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008694/0.6292, allocations: 338.5 kB / 0.5637 GB, free: 60.58 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001433/0.6293, allocations: 166.2 kB / 0.5639 GB, free: 60.41 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6293, allocations: 1.094 kB / 0.5639 GB, free: 60.41 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004964/0.6343, allocations: 3.918 MB / 0.5677 GB, free: 56.56 MB / 490.8 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.001517/0.6358, allocations: 0.5317 MB / 0.5682 GB, free: 56.02 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.007995/0.6438, allocations: 6.304 MB / 0.5744 GB, free: 49.74 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001874/0.644, allocations: 102.3 kB / 0.5745 GB, free: 49.63 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004465/0.6484, allocations: 3.92 MB / 0.5783 GB, free: 45.73 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.6511, allocations: 1.251 MB / 0.5795 GB, free: 44.51 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0418/0.6929, allocations: 24.12 MB / 0.6031 GB, free: 20.08 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00213/0.695, allocations: 2.82 MB / 0.6058 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.005846/0.7009, allocations: 1.141 MB / 0.6069 GB, free: 16.09 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004699/0.7056, allocations: 1.481 MB / 0.6084 GB, free: 14.61 MB / 490.8 MB Notification: Performance of SimCode: time 2.064e-06/0.7056, allocations: 0 / 0.6084 GB, free: 14.61 MB / 490.8 MB Notification: Performance of Templates: time 0.1265/0.8321, allocations: 110.8 MB / 0.7166 GB, free: 476 kB / 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: 7.438328090123832]