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.001135/0.001135, allocations: 100.3 kB / 19.71 MB, free: 440 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.9785/0.9785, allocations: 230.6 MB / 253.4 MB, free: 9.82 MB / 202.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.001539/0.001539, allocations: 219.9 kB / 310 MB, free: 1.926 MB / 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.4109/0.4109, allocations: 107.2 MB / 473.6 MB, free: 9.898 MB / 330.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.02598/0.02598, allocations: 6.314 MB / 0.5499 GB, free: 1.273 MB / 410.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package OpenIPSL of version 3.0.0. OpenIPSL 3.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 134 kB / 0.7254 GB, free: 5.004 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1294, allocations: 81.65 MB / 0.8051 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.004887/0.1343, allocations: 5.884 MB / 0.8109 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005121/0.1394, allocations: 3.693 MB / 0.8145 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000839/0.1403, allocations: 19.88 kB / 0.8145 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.1415, allocations: 1.002 MB / 0.8155 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.1428, allocations: 0.6796 MB / 0.8162 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.1452, allocations: 1.539 MB / 0.8177 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003922/0.1491, allocations: 5.062 MB / 0.8226 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.1509, allocations: 1.265 MB / 0.8238 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.1531, allocations: 1.902 MB / 0.8257 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003547/0.1566, allocations: 4.419 MB / 0.83 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.1583, allocations: 0.832 MB / 0.8308 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.1604, allocations: 1.226 MB / 0.832 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002522/0.1629, allocations: 3.77 MB / 0.8357 GB, free: 412 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003897/0.1668, allocations: 3.532 MB / 0.8391 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.009554/0.1764, allocations: 13.15 MB / 0.852 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.1764, allocations: 8 kB / 0.852 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1764, allocations: 0 / 0.852 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004484/0.1768, allocations: 0 / 0.852 GB, free: 15.66 MB / 0.5417 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.02765/0.2045, allocations: 9.214 MB / 0.861 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.2045, allocations: 12.03 kB / 0.861 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/0.2069, allocations: 0.8433 MB / 0.8618 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005727/0.2126, allocations: 3.277 MB / 0.865 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003877/0.213, allocations: 0.602 MB / 0.8656 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.2146, allocations: 0.6448 MB / 0.8662 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02435/0.239, allocations: 15.26 MB / 0.8811 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/0.2391, allocations: 19.88 kB / 0.8812 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001856/0.241, allocations: 268 kB / 0.8814 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002766/0.2438, allocations: 1.521 MB / 0.8829 GB, free: 15.67 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02895/0.2727, allocations: 15.78 MB / 0.8983 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06619/0.3389, allocations: 33.24 MB / 0.9308 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01893/0.3578, allocations: 12.38 MB / 0.9429 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008835/0.3667, allocations: 5.181 MB / 0.9479 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008925/0.3676, allocations: 222 kB / 0.9481 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.019e-05/0.3677, allocations: 120.7 kB / 0.9482 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=787): time 1.5e-05/0.3677, allocations: 0 / 0.9482 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=807): time 0.5984/0.966, allocations: 31.82 MB / 0.9793 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.9662, allocations: 374.5 kB / 0.9797 GB, free: 129.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.9682, allocations: 1.405 MB / 0.9811 GB, free: 128.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001656/0.9699, allocations: 156.7 kB / 0.9812 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.9711, allocations: 2.564 MB / 0.9837 GB, free: 127 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.003893/0.975, allocations: 2.86 MB / 0.9865 GB, free: 124.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003801/0.9788, allocations: 1.415 MB / 0.9879 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.9788, allocations: 308.9 kB / 0.9882 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005723/0.9846, allocations: 5.157 MB / 0.9932 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006749/0.9913, allocations: 6.204 MB / 0.9993 GB, free: 116.8 MB / 0.6355 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.09815/1.089, allocations: 50.52 MB / 1.049 GB, free: 66.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/1.089, allocations: 4 kB / 1.049 GB, free: 66.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.0183/1.108, allocations: 14.12 MB / 1.062 GB, free: 52.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/1.108, allocations: 11.94 kB / 1.062 GB, free: 52.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.108, allocations: 13.14 kB / 1.062 GB, free: 52.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00322/1.111, allocations: 1.71 MB / 1.064 GB, free: 51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006559/1.118, allocations: 1.763 MB / 1.066 GB, free: 49.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02002/1.138, allocations: 28.09 MB / 1.093 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/1.142, allocations: 383.6 kB / 1.094 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/1.144, allocations: 287.5 kB / 1.094 GB, free: 19.42 MB / 0.6355 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.004964/1.149, allocations: 2.526 MB / 1.096 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.15, allocations: 377.6 kB / 1.097 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01889/1.168, allocations: 15.11 MB / 1.111 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.357e-05/1.168, allocations: 88 kB / 1.112 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.168, allocations: 0 / 1.112 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001509/1.169, allocations: 47.77 kB / 1.112 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04341/1.212, allocations: 24.73 MB / 1.136 GB, free: 8.367 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.106e-05/1.212, allocations: 12.12 kB / 1.136 GB, free: 8.355 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007988/1.22, allocations: 1.72 MB / 1.137 GB, free: 6.633 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/1.224, allocations: 1.26 MB / 1.139 GB, free: 5.355 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001974/1.226, allocations: 243.8 kB / 1.139 GB, free: 5.117 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01961/1.245, allocations: 21.48 MB / 1.16 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/1.246, allocations: 23.86 kB / 1.16 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04036/1.286, allocations: 22.03 MB / 1.181 GB, free: 8.227 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.287, allocations: 413.1 kB / 1.182 GB, free: 7.82 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002144/1.289, allocations: 168 kB / 1.182 GB, free: 7.656 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003374/1.292, allocations: 363.6 kB / 1.182 GB, free: 7.301 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/1.294, allocations: 0.6146 MB / 1.183 GB, free: 6.684 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007623/1.294, allocations: 279.8 kB / 1.183 GB, free: 6.41 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.001018/1.295, allocations: 0.9185 MB / 1.184 GB, free: 5.488 MB / 0.7137 GB Notification: Performance of sort global known variables: time 8e-08/1.295, allocations: 0 / 1.184 GB, free: 5.488 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.005259/1.301, allocations: 2.085 MB / 1.186 GB, free: 3.406 MB / 0.7137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (863): * Single equations (assignments): 852 * 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,26), (1,16), (1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/1.302, allocations: 483 kB / 1.187 GB, free: 2.926 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.01761/1.32, allocations: 12.93 MB / 1.199 GB, free: 5.91 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.32, allocations: 4 kB / 1.199 GB, free: 5.906 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.01001/1.33, allocations: 7.012 MB / 1.206 GB, free: 14.83 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/1.333, allocations: 0.6199 MB / 1.207 GB, free: 14.22 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/1.361, allocations: 20.33 MB / 1.227 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004927/1.366, allocations: 3.975 MB / 1.23 GB, free: 5.695 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004471/1.37, allocations: 0.5966 MB / 1.231 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of SimCode: time 2.024e-06/1.37, allocations: 0 / 1.231 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of Templates: time 0.8308/2.201, allocations: 344.9 MB / 1.568 GB, free: 288.7 MB / 0.8074 GB " [Timeout remaining time 658] 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 > OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 74.84356094291434]