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.0009726/0.0009726, allocations: 92.22 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.9624/0.9624, allocations: 177.2 MB / 200 MB, free: 5.535 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.001215/0.001215, allocations: 168.6 kB / 256.6 MB, free: 13 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.2734/0.2734, allocations: 80.23 MB / 393.4 MB, free: 2.168 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.02394/0.02394, allocations: 4.795 MB / 481.5 MB, free: 4.129 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.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.252e-06/1.252e-06, allocations: 0 / 0.5674 GB, free: 432 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.203e-05, allocations: 2.312 kB / 0.5674 GB, free: 428 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.005759/0.005781, allocations: 6.482 MB / 0.5737 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005063/0.01084, allocations: 3.856 MB / 0.5775 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005321/0.01138, allocations: 19.94 kB / 0.5775 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.01258, allocations: 1.088 MB / 0.5786 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.01402, allocations: 0.7141 MB / 0.5793 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.01657, allocations: 1.785 MB / 0.581 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003544/0.02011, allocations: 4.812 MB / 0.5857 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00236/0.02247, allocations: 1.374 MB / 0.5871 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.02487, allocations: 2.469 MB / 0.5895 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003223/0.0281, allocations: 4.264 MB / 0.5936 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0008672/0.02896, allocations: 0.8359 MB / 0.5945 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.0304, allocations: 1.241 MB / 0.5957 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.1795/0.2099, allocations: 3.791 MB / 0.5994 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00716/0.2171, allocations: 2.993 MB / 0.6023 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.23, allocations: 9.518 MB / 0.6116 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.23, allocations: 0.5312 kB / 0.6116 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.264e-06/0.23, allocations: 0 / 0.6116 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005308/0.2305, allocations: 0.7812 kB / 0.6116 GB, free: 151.3 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: 2369 * Number of variables: 2369 Notification: Performance of Generate backend data structure: time 0.03148/0.262, allocations: 9.476 MB / 0.6208 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.262, allocations: 9.625 kB / 0.6209 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003245/0.2653, allocations: 1.376 MB / 0.6222 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004159/0.2694, allocations: 3.076 MB / 0.6252 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.2697, allocations: 0.5983 MB / 0.6258 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.2708, allocations: 0.6404 MB / 0.6264 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/0.2833, allocations: 7.77 MB / 0.634 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.2834, allocations: 9.328 kB / 0.634 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007557/0.2842, allocations: 267.8 kB / 0.6343 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002972/0.2871, allocations: 1.521 MB / 0.6357 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01184/0.299, allocations: 5.051 MB / 0.6407 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03847/0.3374, allocations: 25.9 MB / 0.666 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006737/0.3442, allocations: 7.456 MB / 0.6733 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002451/0.3466, allocations: 1.888 MB / 0.6751 GB, free: 100 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005665/0.3472, allocations: 270 kB / 0.6754 GB, free: 99.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.3472, allocations: 118.9 kB / 0.6755 GB, free: 99.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=787): time 8.326e-06/0.3472, allocations: 0 / 0.6755 GB, free: 99.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=807): time 0.02315/0.3704, allocations: 14.74 MB / 0.6899 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.3705, allocations: 369 kB / 0.6902 GB, free: 84.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3716, allocations: 1.265 MB / 0.6915 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004097/0.372, allocations: 157.7 kB / 0.6916 GB, free: 82.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007097/0.3727, allocations: 2.615 MB / 0.6942 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001499/0.3742, allocations: 2.921 MB / 0.697 GB, free: 77.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/0.3759, allocations: 1.408 MB / 0.6984 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.376, allocations: 476.8 kB / 0.6988 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/0.3786, allocations: 1.658 MB / 0.7005 GB, free: 73.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/0.3816, allocations: 2.992 MB / 0.7034 GB, free: 70.61 MB / 0.5105 GB 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.01157/0.3931, allocations: 9.341 MB / 0.7125 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.3931, allocations: 7.938 kB / 0.7125 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.01077/0.4039, allocations: 7.021 MB / 0.7194 GB, free: 53.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.404, allocations: 12 kB / 0.7194 GB, free: 53.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.404, allocations: 8 kB / 0.7194 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005162/0.4091, allocations: 2.511 MB / 0.7218 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005278/0.4144, allocations: 1.767 MB / 0.7236 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/0.4299, allocations: 24.76 MB / 0.7477 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/0.4336, allocations: 367.6 kB / 0.7481 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005869/0.4342, allocations: 291.8 kB / 0.7484 GB, free: 22.94 MB / 0.5105 GB 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[2,2],penstock.KP.boundaryCon[2,1],penstock.KP.boundaryCon[1,2],penstock.KP.boundaryCon[1,1]) * 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.002609/0.4368, allocations: 0.5342 MB / 0.7489 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/0.438, allocations: 0.6109 MB / 0.7495 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.4522, allocations: 7.772 MB / 0.7571 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.095e-05/0.4522, allocations: 88 kB / 0.7572 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.4523, allocations: 3.938 kB / 0.7572 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.366e-05/0.4523, allocations: 43.83 kB / 0.7572 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02538/0.4777, allocations: 14.67 MB / 0.7715 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/0.4777, allocations: 8.969 kB / 0.7716 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004974/0.4827, allocations: 1.708 MB / 0.7732 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004755/0.4874, allocations: 2.187 MB / 0.7754 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005923/0.488, allocations: 223.8 kB / 0.7756 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/0.5022, allocations: 23.69 MB / 0.7987 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.5022, allocations: 15.88 kB / 0.7987 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2204/0.7226, allocations: 9.607 MB / 0.8081 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008257/0.7234, allocations: 400.8 kB / 0.8085 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000694/0.7241, allocations: 172.5 kB / 0.8086 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/0.7265, allocations: 357.9 kB / 0.809 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001122/0.7276, allocations: 0.6232 MB / 0.8096 GB, free: 167.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004774/0.7281, allocations: 281.8 kB / 0.8099 GB, free: 167.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008394/0.7289, allocations: 0.7485 MB / 0.8106 GB, free: 167.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7289, allocations: 0 / 0.8106 GB, free: 167.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004975/0.7339, allocations: 2.095 MB / 0.8126 GB, free: 167.6 MB / 0.5417 GB 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.001108/0.735, allocations: 491.4 kB / 0.8131 GB, free: 167.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01057/0.7455, allocations: 6.908 MB / 0.8199 GB, free: 166.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.7456, allocations: 1.469 kB / 0.8199 GB, free: 166.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004947/0.7505, allocations: 4.419 MB / 0.8242 GB, free: 165.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.7528, allocations: 0.698 MB / 0.8249 GB, free: 164.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/0.7727, allocations: 14.96 MB / 0.8395 GB, free: 153 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.7741, allocations: 1.826 MB / 0.8412 GB, free: 151.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004894/0.779, allocations: 2.901 MB / 0.8441 GB, free: 150.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/0.7809, allocations: 0.5525 MB / 0.8446 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of SimCode: time 2.004e-06/0.7809, allocations: 0 / 0.8446 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.08488/0.8658, allocations: 101.6 MB / 0.9439 GB, free: 50.39 MB / 0.5417 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: 36.58266215585172]