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.00115/0.00115, allocations: 85.95 kB / 19.87 MB, free: 4.617 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.9676/0.9676, allocations: 177.2 MB / 200.3 MB, free: 5.367 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.001386/0.001386, allocations: 167.3 kB / 256.9 MB, free: 12.81 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.2715/0.2715, allocations: 80.25 MB / 393.7 MB, free: 2 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.02032/0.02032, allocations: 4.791 MB / 481.8 MB, free: 3.988 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.273e-06/1.273e-06, allocations: 0 / 0.5679 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.932e-05, allocations: 2.312 kB / 0.5679 GB, free: 108 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock): time 0.002128/0.002147, allocations: 2.077 MB / 0.5699 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.003885, allocations: 1.605 MB / 0.5715 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.004001, allocations: 7.938 kB / 0.5715 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.004434, allocations: 194.9 kB / 0.5717 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.004661, allocations: 167 kB / 0.5719 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.00603, allocations: 1.17 MB / 0.573 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00226/0.00829, allocations: 4.587 MB / 0.5775 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.767e-05/0.008348, allocations: 28.88 kB / 0.5775 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.01013, allocations: 2.326 MB / 0.5798 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004523/0.01465, allocations: 5.408 MB / 0.5851 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002052/0.01671, allocations: 0.9062 MB / 0.5859 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.01877, allocations: 1.117 MB / 0.587 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.004236/0.023, allocations: 5.777 MB / 0.5927 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.005552/0.02856, allocations: 4.01 MB / 0.5966 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.3282/0.3568, allocations: 13.17 MB / 0.6094 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3568, allocations: 0 / 0.6094 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3568, allocations: 0 / 0.6094 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007819/0.3576, allocations: 0.5625 kB / 0.6094 GB, free: 155.1 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.03859/0.3962, allocations: 13.45 MB / 0.6226 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3962, allocations: 9.031 kB / 0.6226 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.4066, allocations: 1.987 MB / 0.6245 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009594/0.4162, allocations: 3.361 MB / 0.6278 GB, free: 146 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/0.4166, allocations: 0.7891 MB / 0.6286 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005509/0.4221, allocations: 1.031 MB / 0.6296 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03804/0.4602, allocations: 11.41 MB / 0.6407 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003396/0.4605, allocations: 23.88 kB / 0.6408 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005755/0.4663, allocations: 421.4 kB / 0.6412 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004433/0.4707, allocations: 2.605 MB / 0.6437 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03112/0.5018, allocations: 6.462 MB / 0.65 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07899/0.5808, allocations: 32.4 MB / 0.6816 GB, free: 93.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/0.5994, allocations: 14.03 MB / 0.6954 GB, free: 79.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008281/0.6077, allocations: 2.512 MB / 0.6978 GB, free: 77.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008211/0.6085, allocations: 278.2 kB / 0.6981 GB, free: 76.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.6086, allocations: 175.7 kB / 0.6982 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1323): time 1.773e-05/0.6087, allocations: 0 / 0.6982 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1323): time 0.02049/0.6291, allocations: 9.014 MB / 0.707 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.745e-05/0.6292, allocations: 185.8 kB / 0.7072 GB, free: 67.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007558/0.63, allocations: 0.5797 MB / 0.7078 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009231/0.6309, allocations: 241.7 kB / 0.708 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.6323, allocations: 3.825 MB / 0.7118 GB, free: 62.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003933/0.6362, allocations: 4.839 MB / 0.7165 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003459/0.6397, allocations: 2.185 MB / 0.7186 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.6397, allocations: 0.4887 MB / 0.7191 GB, free: 55.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/0.6435, allocations: 2.028 MB / 0.7211 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00548/0.649, allocations: 3.756 MB / 0.7247 GB, free: 49.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/0.6613, allocations: 7.026 MB / 0.7316 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-05/0.6613, allocations: 8 kB / 0.7316 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.0177/0.679, allocations: 7.892 MB / 0.7393 GB, free: 33.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.679, allocations: 12 kB / 0.7393 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.6791, allocations: 24.83 kB / 0.7393 GB, free: 33.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.072e-05/0.6791, allocations: 64 kB / 0.7394 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007653/0.6868, allocations: 2.469 MB / 0.7418 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001563/0.6869, allocations: 83.8 kB / 0.7419 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00504/0.692, allocations: 0.8178 MB / 0.7427 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002124/0.6941, allocations: 367.7 kB / 0.743 GB, free: 30.03 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.005965/0.7001, allocations: 0.7482 MB / 0.7438 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001783/0.7018, allocations: 0.8642 MB / 0.7446 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.7141, allocations: 10.13 MB / 0.7545 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.646e-05/0.7141, allocations: 140 kB / 0.7546 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.7141, allocations: 8 kB / 0.7547 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.743e-05/0.7142, allocations: 75.66 kB / 0.7547 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04331/0.7575, allocations: 17.29 MB / 0.7716 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/0.7575, allocations: 12.03 kB / 0.7716 GB, free: 496 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009426/0.767, allocations: 2.551 MB / 0.7741 GB, free: 13.93 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001865/0.7671, allocations: 60 kB / 0.7742 GB, free: 13.87 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002936/0.7701, allocations: 379.7 kB / 0.7745 GB, free: 13.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001752/0.7703, allocations: 63.94 kB / 0.7746 GB, free: 13.44 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.7703, allocations: 15.94 kB / 0.7746 GB, free: 13.42 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03377/0.804, allocations: 12.43 MB / 0.7867 GB, free: 0.7461 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.8052, allocations: 0.6926 MB / 0.7874 GB, free: 48 kB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003865/0.809, allocations: 264 kB / 0.7877 GB, free: 15.79 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006043/0.8151, allocations: 264 kB / 0.7879 GB, free: 15.53 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003307/0.8184, allocations: 0.9426 MB / 0.7888 GB, free: 14.58 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00193/0.8203, allocations: 371.7 kB / 0.7892 GB, free: 14.22 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0002645/0.8206, allocations: 302.8 kB / 0.7895 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of sort global known variables: time 7e-08/0.8206, allocations: 0 / 0.7895 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.009654/0.8302, allocations: 3.907 MB / 0.7933 GB, free: 10.01 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.00243/0.8327, allocations: 0.5597 MB / 0.7939 GB, free: 9.438 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01409/0.8468, allocations: 7.447 MB / 0.8011 GB, free: 1.996 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.8468, allocations: 8.062 kB / 0.8011 GB, free: 1.988 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.1647/1.012, allocations: 4.626 MB / 0.8057 GB, free: 184.2 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/1.015, allocations: 0.8283 MB / 0.8065 GB, free: 184.2 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03191/1.047, allocations: 22.42 MB / 0.8284 GB, free: 176.5 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003176/1.05, allocations: 2.726 MB / 0.831 GB, free: 174.9 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.006645/1.057, allocations: 1.144 MB / 0.8321 GB, free: 174.1 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005047/1.062, allocations: 1.603 MB / 0.8337 GB, free: 172.7 MB / 0.5418 GB Notification: Performance of SimCode: time 2.053e-06/1.062, allocations: 0 / 0.8337 GB, free: 172.7 MB / 0.5418 GB Notification: Performance of Templates: time 0.114/1.176, allocations: 109.5 MB / 0.9406 GB, free: 65.77 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.696880225092173]