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.0009083/0.0009083, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.9522/0.9522, allocations: 177.2 MB / 200.3 MB, free: 5.672 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.001222/0.001222, allocations: 160.5 kB / 257 MB, free: 12.96 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.4179/0.4179, allocations: 80.24 MB / 340.5 MB, free: 9.574 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.02009/0.02009, allocations: 4.789 MB / 375.3 MB, free: 7.109 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.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 9.82e-07/9.82e-07, allocations: 0 / 395 MB, free: 3.457 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.176e-05, allocations: 2.312 kB / 395 MB, free: 3.453 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock): time 0.002035/0.002047, allocations: 2.079 MB / 397 MB, free: 1.359 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.003879, allocations: 1.64 MB / 398.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.551e-05/0.003965, allocations: 11.94 kB / 398.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.004307, allocations: 190.9 kB / 398.9 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.004514, allocations: 167.1 kB / 399 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.005612, allocations: 1.178 MB / 400.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004586/0.0102, allocations: 4.587 MB / 404.8 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.01034, allocations: 30.89 kB / 404.8 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.01477, allocations: 2.322 MB / 407.2 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006718/0.02149, allocations: 5.405 MB / 412.6 MB, free: 1.809 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002905/0.0244, allocations: 0.9023 MB / 413.5 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.02638, allocations: 1.117 MB / 414.6 MB, free: 15.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00402/0.0304, allocations: 5.785 MB / 420.4 MB, free: 9.992 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006605/0.037, allocations: 4.01 MB / 424.4 MB, free: 5.973 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.04749, allocations: 13.17 MB / 437.6 MB, free: 8.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.04749, allocations: 0 / 437.6 MB, free: 8.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04749, allocations: 0 / 437.6 MB, free: 8.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005385/0.04803, allocations: 0 / 437.6 MB, free: 8.762 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: 4046 * Number of variables: 4046 Notification: Performance of Generate backend data structure: time 0.3111/0.3592, allocations: 12.37 MB / 449.9 MB, free: 51.19 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3592, allocations: 10.48 kB / 449.9 MB, free: 51.19 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.3613, allocations: 1.43 MB / 451.4 MB, free: 50.86 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/0.3649, allocations: 3.111 MB / 454.5 MB, free: 49.89 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/0.3653, allocations: 0.7831 MB / 455.3 MB, free: 49.54 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/0.3665, allocations: 1.04 MB / 456.3 MB, free: 49.19 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.3778, allocations: 11.6 MB / 467.9 MB, free: 41.3 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/0.378, allocations: 15.89 kB / 467.9 MB, free: 41.29 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/0.379, allocations: 426.6 kB / 468.3 MB, free: 40.87 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003766/0.3827, allocations: 2.603 MB / 470.9 MB, free: 38.32 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007797/0.3905, allocations: 5.309 MB / 476.2 MB, free: 33 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03506/0.4256, allocations: 29.96 MB / 0.4943 GB, free: 3.539 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009862/0.4354, allocations: 13.44 MB / 0.5075 GB, free: 6.031 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003549/0.439, allocations: 2.143 MB / 0.5096 GB, free: 3.879 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005147/0.4395, allocations: 258.3 kB / 0.5098 GB, free: 3.625 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.4396, allocations: 172.9 kB / 0.51 GB, free: 3.441 MB / 426.8 MB Notification: Performance of pre-optimization done (n=1323): time 1.437e-05/0.4396, allocations: 0 / 0.51 GB, free: 3.441 MB / 426.8 MB Notification: Performance of matching and sorting (n=1323): time 0.009023/0.4487, allocations: 6.692 MB / 0.5165 GB, free: 12.75 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.4488, allocations: 185.8 kB / 0.5167 GB, free: 12.55 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005551/0.4493, allocations: 478.4 kB / 0.5171 GB, free: 12.1 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005501/0.4499, allocations: 241.7 kB / 0.5174 GB, free: 11.86 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.4514, allocations: 3.75 MB / 0.521 GB, free: 8.09 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00247/0.4539, allocations: 4.549 MB / 0.5255 GB, free: 3.504 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002088/0.456, allocations: 1.814 MB / 0.5272 GB, free: 1.684 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.4561, allocations: 318 kB / 0.5275 GB, free: 1.367 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.4583, allocations: 1.599 MB / 0.5291 GB, free: 15.77 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/0.4612, allocations: 2.794 MB / 0.5318 GB, free: 12.76 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00626/0.4674, allocations: 6.059 MB / 0.5377 GB, free: 6.438 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/0.4674, allocations: 4 kB / 0.5378 GB, free: 6.434 MB / 458.8 MB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.007176/0.4746, allocations: 5.719 MB / 0.5433 GB, free: 0.6953 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.4747, allocations: 16.72 kB / 0.5434 GB, free: 0.6797 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.19e-05/0.4747, allocations: 23.98 kB / 0.5434 GB, free: 0.6562 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.057e-05/0.4747, allocations: 64.72 kB / 0.5434 GB, free: 0.5938 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006433/0.4812, allocations: 2.414 MB / 0.5458 GB, free: 14.17 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001046/0.4813, allocations: 75.86 kB / 0.5459 GB, free: 14.1 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.4841, allocations: 0.8256 MB / 0.5467 GB, free: 13.27 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005544/0.4847, allocations: 339.7 kB / 0.547 GB, free: 12.93 MB / 474.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.002896/0.4875, allocations: 0.7091 MB / 0.5477 GB, free: 12.21 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/0.4888, allocations: 0.7065 MB / 0.5484 GB, free: 11.5 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009201/0.498, allocations: 8.127 MB / 0.5563 GB, free: 3.363 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.659e-05/0.498, allocations: 144 kB / 0.5565 GB, free: 3.223 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.498, allocations: 0 / 0.5565 GB, free: 3.223 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.788e-05/0.4981, allocations: 75.72 kB / 0.5565 GB, free: 3.148 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02346/0.5216, allocations: 14.89 MB / 0.5711 GB, free: 4.016 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/0.5216, allocations: 8 kB / 0.5711 GB, free: 4.008 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007612/0.5292, allocations: 2.504 MB / 0.5735 GB, free: 1.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.5293, allocations: 64 kB / 0.5736 GB, free: 1.438 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/0.5306, allocations: 351.7 kB / 0.5739 GB, free: 1.094 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-05/0.5306, allocations: 67.92 kB / 0.574 GB, free: 1.027 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.5306, allocations: 11.94 kB / 0.574 GB, free: 1.016 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/0.5441, allocations: 10.38 MB / 0.5841 GB, free: 6.402 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/0.5449, allocations: 0.7004 MB / 0.5848 GB, free: 5.695 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/0.5459, allocations: 268 kB / 0.5851 GB, free: 5.434 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/0.5485, allocations: 264 kB / 0.5853 GB, free: 5.176 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001157/0.5497, allocations: 0.9153 MB / 0.5862 GB, free: 4.258 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006399/0.5503, allocations: 335.7 kB / 0.5865 GB, free: 3.93 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0001537/0.5505, allocations: 164.7 kB / 0.5867 GB, free: 3.766 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5505, allocations: 7.719 kB / 0.5867 GB, free: 3.762 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005721/0.5562, allocations: 3.911 MB / 0.5905 GB, free: 15.84 MB / 0.5105 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.001268/0.5575, allocations: 0.5389 MB / 0.591 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00903/0.5665, allocations: 6.297 MB / 0.5972 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-05/0.5665, allocations: 13.94 kB / 0.5972 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00454/0.5711, allocations: 3.915 MB / 0.601 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.5733, allocations: 0.8068 MB / 0.6018 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02569/0.599, allocations: 22.67 MB / 0.624 GB, free: 13.29 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002307/0.6013, allocations: 2.73 MB / 0.6266 GB, free: 10.52 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.005357/0.6067, allocations: 1.134 MB / 0.6277 GB, free: 9.383 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004828/0.6115, allocations: 1.481 MB / 0.6292 GB, free: 7.898 MB / 0.5418 GB Notification: Performance of SimCode: time 2.124e-06/0.6115, allocations: 4 kB / 0.6292 GB, free: 7.895 MB / 0.5418 GB Notification: Performance of Templates: time 0.3174/0.929, allocations: 109.5 MB / 0.7361 GB, free: 127.6 MB / 0.5574 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.211743217892945]