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.001378/0.001378, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.9797/0.9797, allocations: 177.2 MB / 200 MB, free: 5.543 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.00166/0.00166, allocations: 164.6 kB / 256.6 MB, free: 12.98 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.2942/0.2942, allocations: 80.24 MB / 393.4 MB, free: 2.156 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.02778/0.02778, allocations: 4.804 MB / 481.5 MB, free: 4.125 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 2.194e-06/2.194e-06, allocations: 0 / 0.5674 GB, free: 412 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.507e-05, allocations: 9.625 kB / 0.5674 GB, free: 404 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock): time 0.002567/0.002602, allocations: 2.1 MB / 0.5695 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.004969, allocations: 1.613 MB / 0.5711 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.0052, allocations: 12 kB / 0.5711 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005636/0.005764, allocations: 186.9 kB / 0.5713 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.006073, allocations: 171 kB / 0.5714 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.007801, allocations: 1.17 MB / 0.5726 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002782/0.01058, allocations: 4.571 MB / 0.577 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.01067, allocations: 24.88 kB / 0.577 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003503/0.01418, allocations: 2.326 MB / 0.5793 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005376/0.01955, allocations: 6.036 MB / 0.5852 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003238/0.02279, allocations: 0.9766 MB / 0.5862 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.0259, allocations: 1.199 MB / 0.5873 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.005367/0.03126, allocations: 5.98 MB / 0.5932 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006957/0.03822, allocations: 4.201 MB / 0.5973 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.3718/0.41, allocations: 13.91 MB / 0.6109 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.41, allocations: 0.7188 kB / 0.6109 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.713e-06/0.41, allocations: 0 / 0.6109 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000845/0.4109, allocations: 2.062 kB / 0.6109 GB, free: 154.6 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.06824/0.4791, allocations: 14.88 MB / 0.6254 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4791, allocations: 9.406 kB / 0.6254 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.4929, allocations: 1.995 MB / 0.6273 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.5034, allocations: 4.134 MB / 0.6314 GB, free: 144 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005747/0.504, allocations: 0.7836 MB / 0.6322 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006238/0.5102, allocations: 1.039 MB / 0.6332 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04479/0.555, allocations: 12.62 MB / 0.6455 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004169/0.5554, allocations: 15.94 kB / 0.6455 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006378/0.5618, allocations: 431.6 kB / 0.6459 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004573/0.5664, allocations: 2.598 MB / 0.6485 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03598/0.6024, allocations: 8.879 MB / 0.6571 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09721/0.6996, allocations: 37.39 MB / 0.6936 GB, free: 81.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02393/0.7235, allocations: 14.98 MB / 0.7083 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009817/0.7333, allocations: 3.098 MB / 0.7113 GB, free: 63.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008338/0.7342, allocations: 266.2 kB / 0.7115 GB, free: 63.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.236e-05/0.7343, allocations: 167.8 kB / 0.7117 GB, free: 62.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1323): time 1.333e-05/0.7343, allocations: 0 / 0.7117 GB, free: 62.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1323): time 0.03859/0.7729, allocations: 10.69 MB / 0.7222 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.773, allocations: 189.8 kB / 0.7223 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.7736, allocations: 0.5839 MB / 0.7229 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002379/0.776, allocations: 241.7 kB / 0.7231 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.7771, allocations: 3.821 MB / 0.7269 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004265/0.7814, allocations: 4.812 MB / 0.7316 GB, free: 42.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004614/0.786, allocations: 2.13 MB / 0.7336 GB, free: 40.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.7861, allocations: 0.4899 MB / 0.7341 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005703/0.7918, allocations: 2.692 MB / 0.7368 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007166/0.7989, allocations: 4.374 MB / 0.741 GB, free: 32.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01668/0.8156, allocations: 8.305 MB / 0.7491 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.611e-05/0.8157, allocations: 4 kB / 0.7491 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.02675/0.8424, allocations: 9.232 MB / 0.7582 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.8425, allocations: 12 kB / 0.7582 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.857e-05/0.8425, allocations: 19.98 kB / 0.7582 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.262e-05/0.8426, allocations: 71.92 kB / 0.7583 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01215/0.8547, allocations: 2.809 MB / 0.761 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002058/0.8549, allocations: 79.86 kB / 0.7611 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007336/0.8623, allocations: 1.173 MB / 0.7622 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002023/0.8643, allocations: 448.3 kB / 0.7626 GB, free: 9.941 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[2,2],kP.boundaryCon[2,1],kP.boundaryCon[1,2],kP.boundaryCon[1,1]) * 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.005798/0.8701, allocations: 0.7443 MB / 0.7634 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002153/0.8723, allocations: 0.8681 MB / 0.7642 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0176/0.8899, allocations: 11.32 MB / 0.7753 GB, free: 12.98 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.365e-05/0.8899, allocations: 148 kB / 0.7754 GB, free: 12.83 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.359e-05/0.89, allocations: 0 / 0.7754 GB, free: 12.83 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.383e-05/0.89, allocations: 67.73 kB / 0.7755 GB, free: 12.77 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05162/0.9417, allocations: 21.26 MB / 0.7962 GB, free: 7.227 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/0.9417, allocations: 12 kB / 0.7963 GB, free: 7.215 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01136/0.9531, allocations: 2.898 MB / 0.7991 GB, free: 4.312 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001891/0.9532, allocations: 64 kB / 0.7991 GB, free: 4.25 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00334/0.9566, allocations: 371.7 kB / 0.7995 GB, free: 3.887 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000121/0.9567, allocations: 63.94 kB / 0.7996 GB, free: 3.824 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.9567, allocations: 15.94 kB / 0.7996 GB, free: 3.809 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2523/1.209, allocations: 14.29 MB / 0.8135 GB, free: 171.5 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/1.21, allocations: 0.6918 MB / 0.8142 GB, free: 171.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005054/1.215, allocations: 264.2 kB / 0.8145 GB, free: 171.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00815/1.224, allocations: 0.6152 MB / 0.8151 GB, free: 171.4 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00506/1.229, allocations: 0.9447 MB / 0.816 GB, free: 171.3 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003585/1.232, allocations: 455.9 kB / 0.8164 GB, free: 171.3 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0003466/1.233, allocations: 307.9 kB / 0.8167 GB, free: 171.2 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.6e-07/1.233, allocations: 0 / 0.8167 GB, free: 171.2 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01453/1.247, allocations: 3.916 MB / 0.8205 GB, free: 170.4 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.004632/1.252, allocations: 0.5634 MB / 0.8211 GB, free: 170.3 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02201/1.274, allocations: 8.688 MB / 0.8296 GB, free: 166.2 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/1.274, allocations: 4.906 kB / 0.8296 GB, free: 166.2 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01508/1.289, allocations: 5.208 MB / 0.8347 GB, free: 162.4 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007192/1.296, allocations: 0.8272 MB / 0.8355 GB, free: 162.2 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/1.337, allocations: 22.98 MB / 0.8579 GB, free: 141.7 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003787/1.34, allocations: 2.734 MB / 0.8606 GB, free: 139.7 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01452/1.355, allocations: 5.54 MB / 0.866 GB, free: 135 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006542/1.361, allocations: 0.8669 MB / 0.8668 GB, free: 134.1 MB / 0.5418 GB Notification: Performance of SimCode: time 2.955e-06/1.361, allocations: 4 kB / 0.8668 GB, free: 134.1 MB / 0.5418 GB Notification: Performance of Templates: time 0.1196/1.481, allocations: 105.2 MB / 0.9696 GB, free: 29.75 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: 8.30939927464351]