Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.DetailedGenFrancis.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.001217/0.001217, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001984/0.003201, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.9391/0.9391, allocations: 177.2 MB / 188.4 MB, free: 4.418 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1667/1.106, allocations: 53.66 MB / 242 MB, free: 2.617 MB / 234.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.00117/0.00117, allocations: 152.3 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001602/0.002772, allocations: 484.3 kB / 243.4 MB, free: 1.277 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4734/0.4734, allocations: 89.19 MB / 333.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04825/0.5217, allocations: 30.21 MB / 363.5 MB, free: 3.078 MB / 346.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.02714/0.02714, allocations: 4.806 MB / 369.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004004/0.03114, allocations: 1.918 MB / 371 MB, free: 11.79 MB / 362.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.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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.Examples.DetailedGenFrancis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.DetailedGenFrancis") translateModel(OpenHPL.Examples.DetailedGenFrancis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.DetailedGenFrancis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 372.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.494e-05, allocations: 5.922 kB / 372.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.005177/0.005201, allocations: 6.445 MB / 378.8 MB, free: 4.004 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004541/0.009743, allocations: 3.955 MB / 382.8 MB, free: 40 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003964/0.01014, allocations: 15.94 kB / 382.8 MB, free: 24 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.01117, allocations: 1.088 MB / 383.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008937/0.01207, allocations: 0.7063 MB / 384.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.014, allocations: 1.734 MB / 386.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003025/0.01703, allocations: 4.856 MB / 391.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.01836, allocations: 1.111 MB / 392.3 MB, free: 6.465 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.02042, allocations: 2.664 MB / 394.9 MB, free: 3.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.02313, allocations: 4.065 MB / 399 MB, free: 15.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009406/0.02407, allocations: 0.8086 MB / 399.8 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.0254, allocations: 1.234 MB / 401 MB, free: 13.67 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.02709, allocations: 3.157 MB / 404.2 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.0289, allocations: 2.121 MB / 406.3 MB, free: 8.383 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.03367, allocations: 8.108 MB / 414.4 MB, free: 260 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.03368, allocations: 0 / 414.4 MB, free: 260 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.03368, allocations: 0 / 414.4 MB, free: 260 kB / 394.7 MB Notification: Performance of Transformations before backend: time 8.56e-05/0.03377, allocations: 4 kB / 414.4 MB, free: 256 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2369 * Number of variables: 2369 Notification: Performance of Generate backend data structure: time 0.01366/0.04742, allocations: 9.653 MB / 424.1 MB, free: 6.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.04745, allocations: 19.92 kB / 424.1 MB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.04936, allocations: 1.114 MB / 425.2 MB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.05193, allocations: 2.36 MB / 427.6 MB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.05222, allocations: 0.5981 MB / 428.2 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007318/0.05295, allocations: 0.6526 MB / 428.8 MB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006419/0.05937, allocations: 7.124 MB / 436 MB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.2e-05/0.05945, allocations: 7.938 kB / 436 MB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004934/0.05995, allocations: 268 kB / 436.2 MB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.06205, allocations: 1.423 MB / 437.6 MB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004665/0.06672, allocations: 3.14 MB / 440.8 MB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02702/0.09374, allocations: 20.75 MB / 461.5 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006108/0.09985, allocations: 6.751 MB / 468.3 MB, free: 9.754 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.1016, allocations: 1.32 MB / 469.6 MB, free: 8.422 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006005/0.1022, allocations: 262 kB / 469.9 MB, free: 8.164 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.98e-05/0.1023, allocations: 120.7 kB / 470 MB, free: 8.035 MB / 458.7 MB Notification: Performance of pre-optimization done (n=787): time 8.105e-06/0.1023, allocations: 4 kB / 470 MB, free: 8.031 MB / 458.7 MB Notification: Performance of matching and sorting (n=807): time 0.01956/0.1219, allocations: 11.08 MB / 481.1 MB, free: 12.87 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.1219, allocations: 137.7 kB / 481.2 MB, free: 12.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.123, allocations: 1.074 MB / 482.3 MB, free: 11.64 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006944/0.1237, allocations: 157.7 kB / 482.4 MB, free: 11.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008959/0.1246, allocations: 2.413 MB / 484.8 MB, free: 9.039 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001794/0.1264, allocations: 2.792 MB / 487.6 MB, free: 6.223 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00163/0.128, allocations: 1.223 MB / 488.9 MB, free: 4.992 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.128, allocations: 301.1 kB / 489.2 MB, free: 4.695 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.1297, allocations: 1.173 MB / 490.3 MB, free: 3.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.1317, allocations: 2.038 MB / 492.4 MB, free: 1.273 MB / 474.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: intake.Vdot = intake.Vdot_0 ($START.intake.Vdot = intake.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.008763/0.1405, allocations: 7.12 MB / 499.5 MB, free: 9.988 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.1405, allocations: 4 kB / 499.5 MB, free: 9.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=945) (initialization): time 0.007688/0.1482, allocations: 4.57 MB / 0.4922 GB, free: 5.371 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.1482, allocations: 16.02 kB / 0.4923 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.1483, allocations: 8 kB / 0.4923 GB, free: 5.348 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004691/0.153, allocations: 2.058 MB / 0.4943 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007903/0.1609, allocations: 1.94 MB / 0.4962 GB, free: 1.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3117/0.4726, allocations: 17.43 MB / 0.5132 GB, free: 87.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.4757, allocations: 192.7 kB / 0.5134 GB, free: 87.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/0.476, allocations: 217.4 kB / 0.5136 GB, free: 87.75 MB / 490.8 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: intake.Vdot = intake.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 4 (penstock.KP.boundaryCon[1,1],penstock.KP.boundaryCon[1,2],penstock.KP.boundaryCon[2,1],penstock.KP.boundaryCon[2,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 871 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,26), (1,21), (1,1), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001711/0.4778, allocations: 0.4899 MB / 0.5141 GB, free: 87.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007544/0.4785, allocations: 483.3 kB / 0.5145 GB, free: 87.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007307/0.4858, allocations: 5.651 MB / 0.52 GB, free: 87.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/0.4858, allocations: 89.69 kB / 0.5201 GB, free: 87.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4859, allocations: 2.062 kB / 0.5201 GB, free: 87.32 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/0.4859, allocations: 43.03 kB / 0.5202 GB, free: 87.32 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.4987, allocations: 10.54 MB / 0.5305 GB, free: 85.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.4987, allocations: 7.688 kB / 0.5305 GB, free: 85.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004346/0.503, allocations: 1.875 MB / 0.5323 GB, free: 85.05 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.5033, allocations: 373.9 kB / 0.5327 GB, free: 84.91 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003575/0.5069, allocations: 1.753 MB / 0.5344 GB, free: 84.68 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004927/0.5074, allocations: 217.6 kB / 0.5346 GB, free: 84.56 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007195/0.5146, allocations: 16.49 MB / 0.5507 GB, free: 68.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/0.5146, allocations: 15.28 kB / 0.5507 GB, free: 68.35 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008824/0.5234, allocations: 7.036 MB / 0.5576 GB, free: 61.27 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005635/0.524, allocations: 168.8 kB / 0.5577 GB, free: 61.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/0.5257, allocations: 184 kB / 0.5579 GB, free: 60.93 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008282/0.5266, allocations: 0.6091 MB / 0.5585 GB, free: 60.32 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003555/0.5269, allocations: 203.8 kB / 0.5587 GB, free: 60.12 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0003462/0.5273, allocations: 0.5151 MB / 0.5592 GB, free: 59.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5273, allocations: 4 kB / 0.5592 GB, free: 59.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.003186/0.5305, allocations: 2.093 MB / 0.5612 GB, free: 57.59 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 30 (reservoir.m,intake.mdot,tail.m,generator.DELTA,generator.EEd,generator.EEq,generator.Ef,generator.Vstabilizer,generator.w,penstock.U[1],penstock.U[2],penstock.U[3],penstock.U[4],penstock.U[5],penstock.U[6],penstock.U[7],penstock.U[8],penstock.U[9],penstock.U[10],penstock.U[11],penstock.U[12],penstock.U[13],penstock.U[14],penstock.U[15],penstock.U[16],penstock.U[17],penstock.U[18],penstock.U[19],penstock.U[20],surgeTank.m) * 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 (854): * Single equations (assignments): 843 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,28), (1,23), (1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007731/0.5312, allocations: 477 kB / 0.5617 GB, free: 57.24 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.005443/0.5367, allocations: 5.233 MB / 0.5668 GB, free: 52.17 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.84e-05/0.5368, allocations: 83.75 kB / 0.5669 GB, free: 52.07 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004096/0.5409, allocations: 4.336 MB / 0.5711 GB, free: 47.92 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.5432, allocations: 3.239 MB / 0.5743 GB, free: 44.23 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/0.5709, allocations: 14.96 MB / 0.5889 GB, free: 29.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.5721, allocations: 1.877 MB / 0.5907 GB, free: 27.37 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00305/0.5751, allocations: 0.7834 MB / 0.5915 GB, free: 26.58 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003135/0.5782, allocations: 1.112 MB / 0.5926 GB, free: 25.46 MB / 490.8 MB Notification: Performance of SimCode: time 1.844e-06/0.5782, allocations: 0 / 0.5926 GB, free: 25.46 MB / 490.8 MB Notification: Performance of Templates: time 0.1223/0.7006, allocations: 109.5 MB / 0.6995 GB, free: 13.03 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f OpenHPL_OpenHPL.Examples.DetailedGenFrancis.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe ; mkfifo OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe >> ../files/OpenHPL_OpenHPL.Examples.DetailedGenFrancis.sim & ./OpenHPL_OpenHPL.Examples.DetailedGenFrancis -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 31.00539860315621]