Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.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.001144/0.001144, allocations: 80.88 kB / 20.8 MB, free: 3.66 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.9571/0.9571, allocations: 177.1 MB / 201.2 MB, free: 5.648 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.001174/0.001174, allocations: 160.7 kB / 257.9 MB, free: 12.92 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.4258/0.4258, allocations: 80.24 MB / 341.4 MB, free: 9.633 MB / 314.7 MB " [Timeout remaining time 180] 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.02107/0.02107, allocations: 4.795 MB / 376.2 MB, free: 7.121 MB / 346.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.CheckingExtra.ElasticPenstock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock") translateModel(OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 396 MB, free: 3.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.888e-05, allocations: 2.312 kB / 396 MB, free: 3.332 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock): time 0.003665/0.003694, allocations: 2.177 MB / 398.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.006659, allocations: 1.684 MB / 399.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.006864, allocations: 7.938 kB / 399.9 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008221/0.007686, allocations: 243.7 kB / 400.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.008034, allocations: 199.6 kB / 400.3 MB, free: 15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.009974, allocations: 1.194 MB / 401.5 MB, free: 13.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004217/0.01419, allocations: 4.721 MB / 406.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.01431, allocations: 45.19 kB / 406.3 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.01777, allocations: 2.384 MB / 408.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005855/0.02363, allocations: 6.037 MB / 414.7 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002636/0.02627, allocations: 1 MB / 415.7 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.02884, allocations: 1.222 MB / 416.9 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00498/0.03382, allocations: 6.459 MB / 423.4 MB, free: 7.902 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006119/0.03994, allocations: 4.414 MB / 427.8 MB, free: 3.477 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.05259, allocations: 14.94 MB / 442.7 MB, free: 4.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.0526, allocations: 0 / 442.7 MB, free: 4.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.0526, allocations: 0 / 442.7 MB, free: 4.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005599/0.05316, allocations: 0 / 442.7 MB, free: 4.496 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4654 * Number of variables: 4654 Notification: Performance of Generate backend data structure: time 0.3129/0.366, allocations: 13.62 MB / 456.3 MB, free: 52.73 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3661, allocations: 11.53 kB / 456.4 MB, free: 52.73 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008216/0.3743, allocations: 1.592 MB / 458 MB, free: 51.7 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006818/0.3811, allocations: 3.591 MB / 461.5 MB, free: 48.96 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004655/0.3816, allocations: 0.8798 MB / 462.4 MB, free: 48.08 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003616/0.3852, allocations: 1.147 MB / 463.6 MB, free: 46.94 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0236/0.4088, allocations: 13.33 MB / 476.9 MB, free: 33.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002532/0.4091, allocations: 15.89 kB / 476.9 MB, free: 33.59 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002684/0.4117, allocations: 477.2 kB / 477.4 MB, free: 33.12 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003986/0.4157, allocations: 3.011 MB / 480.4 MB, free: 30.16 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/0.4355, allocations: 5.971 MB / 486.4 MB, free: 24.14 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07929/0.5148, allocations: 34.15 MB / 0.5083 GB, free: 6.117 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/0.5274, allocations: 10.81 MB / 0.5189 GB, free: 11.25 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/0.5304, allocations: 2.254 MB / 0.5211 GB, free: 8.992 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005027/0.5309, allocations: 270.9 kB / 0.5213 GB, free: 8.727 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.927e-05/0.531, allocations: 177.5 kB / 0.5215 GB, free: 8.543 MB / 442.8 MB Notification: Performance of pre-optimization done (n=1403): time 1.364e-05/0.531, allocations: 0 / 0.5215 GB, free: 8.543 MB / 442.8 MB Notification: Performance of matching and sorting (n=1403): time 0.01028/0.5413, allocations: 7.035 MB / 0.5284 GB, free: 1.52 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.5414, allocations: 198.4 kB / 0.5286 GB, free: 1.312 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005523/0.542, allocations: 414.6 kB / 0.529 GB, free: 0.8945 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005355/0.5425, allocations: 249.7 kB / 0.5292 GB, free: 0.6445 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001818/0.5443, allocations: 4.377 MB / 0.5335 GB, free: 12.22 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002588/0.5469, allocations: 4.805 MB / 0.5382 GB, free: 7.375 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002438/0.5494, allocations: 1.862 MB / 0.54 GB, free: 5.504 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.5494, allocations: 325.9 kB / 0.5403 GB, free: 5.18 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/0.5519, allocations: 1.645 MB / 0.5419 GB, free: 3.535 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002983/0.5549, allocations: 2.733 MB / 0.5446 GB, free: 0.668 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007348/0.5622, allocations: 6.092 MB / 0.5505 GB, free: 10.41 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/0.5622, allocations: 4 kB / 0.5505 GB, free: 10.4 MB / 474.8 MB Notification: Performance of matching and sorting (n=1503) (initialization): time 0.008009/0.5703, allocations: 5.823 MB / 0.5562 GB, free: 4.574 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.5703, allocations: 13.19 kB / 0.5562 GB, free: 4.562 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.5703, allocations: 12 kB / 0.5562 GB, free: 4.551 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.43e-05/0.5704, allocations: 60 kB / 0.5563 GB, free: 4.492 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006901/0.5773, allocations: 2.73 MB / 0.559 GB, free: 1.758 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.951e-05/0.5773, allocations: 67.92 kB / 0.559 GB, free: 1.691 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.5798, allocations: 0.8333 MB / 0.5598 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009/0.5807, allocations: 335.7 kB / 0.5602 GB, free: 0.5234 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (1503): * Single equations (assignments): 1503 * 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.003416/0.5842, allocations: 0.721 MB / 0.5609 GB, free: 15.79 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/0.5853, allocations: 0.7494 MB / 0.5616 GB, free: 15.04 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009368/0.5947, allocations: 8.494 MB / 0.5699 GB, free: 6.477 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.555e-05/0.5948, allocations: 152 kB / 0.57 GB, free: 6.328 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.5948, allocations: 0 / 0.57 GB, free: 6.328 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-05/0.5948, allocations: 71.72 kB / 0.5701 GB, free: 6.258 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/0.6152, allocations: 15.99 MB / 0.5857 GB, free: 5.969 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/0.6152, allocations: 11.44 kB / 0.5857 GB, free: 5.961 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007108/0.6223, allocations: 2.852 MB / 0.5885 GB, free: 3.105 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.796e-05/0.6224, allocations: 60 kB / 0.5886 GB, free: 3.047 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006712/0.623, allocations: 363.7 kB / 0.5889 GB, free: 2.691 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.909e-05/0.6231, allocations: 67.94 kB / 0.589 GB, free: 2.625 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/0.6231, allocations: 23.86 kB / 0.589 GB, free: 2.602 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.6367, allocations: 10.87 MB / 0.5996 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/0.6372, allocations: 0.7159 MB / 0.6003 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007528/0.638, allocations: 280 kB / 0.6006 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/0.6405, allocations: 280 kB / 0.6008 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001271/0.6417, allocations: 0.9665 MB / 0.6018 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008066/0.6425, allocations: 351.6 kB / 0.6021 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001228/0.6427, allocations: 136.7 kB / 0.6023 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.6427, allocations: 0 / 0.6023 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005776/0.6484, allocations: 4.229 MB / 0.6064 GB, free: 300 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (1591): * Single equations (assignments): 1591 * 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.001092/0.6495, allocations: 0.5708 MB / 0.6069 GB, free: 15.71 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.008403/0.6579, allocations: 6.519 MB / 0.6133 GB, free: 9.156 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.895e-05/0.658, allocations: 10.38 kB / 0.6133 GB, free: 9.148 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.004409/0.6624, allocations: 4.097 MB / 0.6173 GB, free: 5.043 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.6642, allocations: 0.6433 MB / 0.6179 GB, free: 4.395 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02975/0.694, allocations: 25.78 MB / 0.6431 GB, free: 10.26 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/0.6963, allocations: 3.092 MB / 0.6461 GB, free: 7.141 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.005707/0.702, allocations: 1.132 MB / 0.6472 GB, free: 6.004 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004646/0.7067, allocations: 1.374 MB / 0.6486 GB, free: 4.629 MB / 0.5574 GB Notification: Performance of SimCode: time 2.454e-06/0.7067, allocations: 4 kB / 0.6486 GB, free: 4.625 MB / 0.5574 GB Notification: Performance of Templates: time 0.2697/0.9764, allocations: 105.2 MB / 0.7513 GB, free: 110.9 MB / 0.5574 GB " [Timeout remaining time 659] make -j1 -f OpenHPL_OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock.pipe ; mkfifo OpenHPL_OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock.pipe >> ../files/OpenHPL_OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock.sim & ./OpenHPL_OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.104221133515239]