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.001054/0.001054, allocations: 93.06 kB / 19.65 MB, free: 280 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.9816/0.9816, allocations: 177.2 MB / 200 MB, free: 4.414 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.001999/0.001999, allocations: 167 kB / 256.6 MB, free: 236 kB / 234.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.4763/0.4763, allocations: 80.21 MB / 393.4 MB, free: 10.02 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.0221/0.0221, allocations: 4.788 MB / 481.5 MB, free: 2.199 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.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.863e-06/1.863e-06, allocations: 0 / 0.5674 GB, free: 52.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.015e-05, allocations: 4.312 kB / 0.5674 GB, free: 52.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Functions.KP07.TestKPpde.CheckingExtra.ElasticPenstock): time 0.002454/0.002484, allocations: 2.152 MB / 0.5695 GB, free: 50.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.004827, allocations: 1.678 MB / 0.5712 GB, free: 48.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/0.005109, allocations: 7.938 kB / 0.5712 GB, free: 48.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007811/0.00589, allocations: 243.7 kB / 0.5714 GB, free: 48.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.006144, allocations: 186.4 kB / 0.5716 GB, free: 48.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.007535, allocations: 1.212 MB / 0.5728 GB, free: 46.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002265/0.0098, allocations: 4.701 MB / 0.5774 GB, free: 42.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.0099, allocations: 33.28 kB / 0.5774 GB, free: 42.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.01338, allocations: 2.38 MB / 0.5797 GB, free: 39.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004274/0.01766, allocations: 6.743 MB / 0.5863 GB, free: 32.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002624/0.02028, allocations: 1.105 MB / 0.5874 GB, free: 31.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.02222, allocations: 1.324 MB / 0.5887 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003792/0.02601, allocations: 6.681 MB / 0.5952 GB, free: 23.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006355/0.03237, allocations: 4.629 MB / 0.5997 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.04602, allocations: 15.77 MB / 0.6151 GB, free: 3.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.04603, allocations: 0 / 0.6151 GB, free: 3.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.04603, allocations: 0 / 0.6151 GB, free: 3.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006209/0.04665, allocations: 0 / 0.6151 GB, free: 3.406 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.07202/0.1187, allocations: 16.28 MB / 0.631 GB, free: 3.023 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1187, allocations: 12.03 kB / 0.631 GB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00952/0.1282, allocations: 2.237 MB / 0.6332 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.1387, allocations: 4.759 MB / 0.6379 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007948/0.1394, allocations: 0.8748 MB / 0.6387 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00528/0.1447, allocations: 1.14 MB / 0.6398 GB, free: 9.941 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4347/0.5795, allocations: 14.56 MB / 0.654 GB, free: 68.03 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004129/0.5799, allocations: 17.2 kB / 0.6541 GB, free: 68.03 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0062/0.5861, allocations: 474.1 kB / 0.6545 GB, free: 68.03 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007517/0.5936, allocations: 3.006 MB / 0.6575 GB, free: 67.98 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0392/0.6328, allocations: 10.04 MB / 0.6673 GB, free: 66.83 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09386/0.7267, allocations: 42.02 MB / 0.7083 GB, free: 30.05 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01996/0.7466, allocations: 12.48 MB / 0.7205 GB, free: 17.5 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008236/0.7549, allocations: 3.24 MB / 0.7236 GB, free: 14.24 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007233/0.7556, allocations: 278.9 kB / 0.7239 GB, free: 13.97 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.413e-05/0.7557, allocations: 180.4 kB / 0.7241 GB, free: 13.78 MB / 442.8 MB Notification: Performance of pre-optimization done (n=1403): time 1.608e-05/0.7557, allocations: 0 / 0.7241 GB, free: 13.78 MB / 442.8 MB Notification: Performance of matching and sorting (n=1403): time 0.02499/0.7807, allocations: 11.22 MB / 0.735 GB, free: 2.562 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.7808, allocations: 198.3 kB / 0.7352 GB, free: 2.355 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006453/0.7814, allocations: 0.5045 MB / 0.7357 GB, free: 1.852 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001156/0.7826, allocations: 249.7 kB / 0.736 GB, free: 1.602 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.7846, allocations: 4.451 MB / 0.7403 GB, free: 13.81 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005902/0.7905, allocations: 5.105 MB / 0.7453 GB, free: 8.688 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004284/0.7948, allocations: 2.21 MB / 0.7475 GB, free: 6.465 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.795, allocations: 0.4887 MB / 0.7479 GB, free: 5.969 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006708/0.8017, allocations: 2.779 MB / 0.7506 GB, free: 3.188 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008306/0.81, allocations: 4.313 MB / 0.7549 GB, free: 14.68 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01763/0.8276, allocations: 8.376 MB / 0.763 GB, free: 6.078 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.256e-05/0.8277, allocations: 4 kB / 0.763 GB, free: 6.074 MB / 474.8 MB Notification: Performance of matching and sorting (n=1503) (initialization): time 0.02528/0.8529, allocations: 9.442 MB / 0.7723 GB, free: 12.62 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.853, allocations: 8 kB / 0.7723 GB, free: 12.61 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/0.853, allocations: 12 kB / 0.7723 GB, free: 12.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-05/0.8531, allocations: 60 kB / 0.7723 GB, free: 12.54 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01108/0.8642, allocations: 2.894 MB / 0.7752 GB, free: 9.641 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002404/0.8644, allocations: 79.23 kB / 0.7752 GB, free: 9.566 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00622/0.8707, allocations: 1.184 MB / 0.7764 GB, free: 8.375 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003266/0.8739, allocations: 451.7 kB / 0.7768 GB, free: 7.934 MB / 490.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[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 (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.007294/0.8812, allocations: 0.756 MB / 0.7776 GB, free: 7.164 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002875/0.8841, allocations: 0.9072 MB / 0.7785 GB, free: 6.254 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02486/0.909, allocations: 11.84 MB / 0.79 GB, free: 10.32 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.341e-05/0.909, allocations: 152 kB / 0.7902 GB, free: 10.17 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-05/0.9091, allocations: 3.938 kB / 0.7902 GB, free: 10.17 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001901/0.9093, allocations: 75.7 kB / 0.7902 GB, free: 10.09 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06566/0.9749, allocations: 22.9 MB / 0.8126 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.563e-05/0.975, allocations: 15.98 kB / 0.8126 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01212/0.9871, allocations: 3.027 MB / 0.8156 GB, free: 15.81 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/0.9873, allocations: 64 kB / 0.8156 GB, free: 15.75 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003629/0.991, allocations: 383.7 kB / 0.816 GB, free: 15.38 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001685/0.9911, allocations: 63.94 kB / 0.8161 GB, free: 15.31 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.9911, allocations: 15.94 kB / 0.8161 GB, free: 15.3 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04339/1.035, allocations: 14.96 MB / 0.8307 GB, free: 15.83 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007039/1.035, allocations: 0.7274 MB / 0.8314 GB, free: 15.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003458/1.039, allocations: 280 kB / 0.8317 GB, free: 14.83 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006288/1.045, allocations: 0.6205 MB / 0.8323 GB, free: 14.21 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004194/1.049, allocations: 0.9861 MB / 0.8332 GB, free: 13.21 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003261/1.052, allocations: 467.7 kB / 0.8337 GB, free: 12.76 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0002747/1.053, allocations: 287.1 kB / 0.8339 GB, free: 12.48 MB / 0.5418 GB Notification: Performance of sort global known variables: time 6e-08/1.053, allocations: 0 / 0.8339 GB, free: 12.48 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01106/1.064, allocations: 4.217 MB / 0.8381 GB, free: 8.25 MB / 0.5418 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.004021/1.068, allocations: 0.5924 MB / 0.8386 GB, free: 7.648 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02347/1.091, allocations: 9.027 MB / 0.8475 GB, free: 14.57 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/1.091, allocations: 8.188 kB / 0.8475 GB, free: 14.57 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01382/1.105, allocations: 5.457 MB / 0.8528 GB, free: 9.098 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006623/1.112, allocations: 0.6664 MB / 0.8534 GB, free: 8.43 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2574/1.369, allocations: 25.99 MB / 0.8788 GB, free: 181.9 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004922/1.374, allocations: 3.087 MB / 0.8818 GB, free: 181.6 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01531/1.389, allocations: 6.075 MB / 0.8878 GB, free: 180.8 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00615/1.395, allocations: 0.8741 MB / 0.8886 GB, free: 180.8 MB / 0.5574 GB Notification: Performance of SimCode: time 3.226e-06/1.395, allocations: 0 / 0.8886 GB, free: 180.8 MB / 0.5574 GB Notification: Performance of Templates: time 0.1144/1.51, allocations: 99.31 MB / 0.9856 GB, free: 87.36 MB / 0.5574 GB " [Timeout remaining time 658] 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: 9.331067427061498]