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.001802/0.001802, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 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 1.589/1.589, allocations: 230.6 MB / 252.7 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 178] 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.002092/0.002092, allocations: 213.7 kB / 309.2 MB, free: 1.941 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.7126/0.7126, allocations: 107.2 MB / 472.8 MB, free: 9.883 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.04115/0.04115, allocations: 6.287 MB / 0.5492 GB, free: 1.277 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.01753/0.01753, allocations: 123.8 kB / 0.7254 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3958, allocations: 81.65 MB / 0.8052 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.005443/0.4012, allocations: 5.884 MB / 0.8109 GB, free: 29.43 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005667/0.4069, allocations: 3.697 MB / 0.8145 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009608/0.4079, allocations: 13.62 kB / 0.8145 GB, free: 26.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.4095, allocations: 0.9956 MB / 0.8155 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.4114, allocations: 0.6871 MB / 0.8162 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.4145, allocations: 1.539 MB / 0.8177 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005336/0.4198, allocations: 5.071 MB / 0.8226 GB, free: 23 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.4221, allocations: 1.264 MB / 0.8239 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.4249, allocations: 1.899 MB / 0.8257 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005225/0.4302, allocations: 4.422 MB / 0.83 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.002357/0.4325, allocations: 0.8326 MB / 0.8309 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.4354, allocations: 1.229 MB / 0.8321 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.003107/0.4385, allocations: 3.766 MB / 0.8357 GB, free: 17.21 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.00444/0.443, allocations: 3.525 MB / 0.8392 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.4538, allocations: 13.16 MB / 0.852 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4538, allocations: 1.562 kB / 0.852 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4538, allocations: 0 / 0.852 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004063/0.4542, allocations: 4 kB / 0.852 GB, free: 5.617 MB / 0.5261 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.04354/0.4977, allocations: 9.22 MB / 0.861 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.4978, allocations: 8.031 kB / 0.861 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/0.5036, allocations: 0.8433 MB / 0.8619 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.5143, allocations: 3.273 MB / 0.8651 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001114/0.5154, allocations: 0.602 MB / 0.8656 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00385/0.5192, allocations: 0.6409 MB / 0.8663 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04134/0.5606, allocations: 15.27 MB / 0.8812 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003033/0.5609, allocations: 7.953 kB / 0.8812 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003403/0.5643, allocations: 268 kB / 0.8815 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005296/0.5696, allocations: 1.525 MB / 0.8829 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04106/0.6106, allocations: 15.78 MB / 0.8984 GB, free: 8.93 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1117/0.7224, allocations: 33.24 MB / 0.9308 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02434/0.7467, allocations: 12.37 MB / 0.9429 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0105/0.7572, allocations: 5.177 MB / 0.9479 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.7583, allocations: 222 kB / 0.9482 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.7584, allocations: 112.7 kB / 0.9483 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=787): time 1.063e-05/0.7584, allocations: 7.938 kB / 0.9483 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of matching and sorting (n=807): time 0.08444/0.8428, allocations: 31.83 MB / 0.9794 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003007/0.8431, allocations: 373 kB / 0.9797 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002694/0.8458, allocations: 1.404 MB / 0.9811 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.001891/0.8477, allocations: 157.7 kB / 0.9812 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002267/0.85, allocations: 2.56 MB / 0.9837 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.004855/0.8549, allocations: 2.858 MB / 0.9865 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006471/0.8613, allocations: 1.415 MB / 0.9879 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.8615, allocations: 305.1 kB / 0.9882 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01123/0.8727, allocations: 5.152 MB / 0.9932 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01363/0.8863, allocations: 6.204 MB / 0.9993 GB, free: 0.8125 MB / 0.6667 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.5027/1.389, allocations: 50.54 MB / 1.049 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/1.389, allocations: 2.906 kB / 1.049 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.0305/1.42, allocations: 14.12 MB / 1.062 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/1.42, allocations: 17.31 kB / 1.062 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/1.42, allocations: 7.281 kB / 1.062 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006161/1.426, allocations: 1.706 MB / 1.064 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01114/1.437, allocations: 1.768 MB / 1.066 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03065/1.468, allocations: 28.1 MB / 1.093 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00611/1.474, allocations: 378.3 kB / 1.094 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001727/1.475, allocations: 292.1 kB / 1.094 GB, free: 123.5 MB / 0.6823 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.005484/1.481, allocations: 2.517 MB / 1.096 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.482, allocations: 372.5 kB / 1.097 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03146/1.514, allocations: 15.11 MB / 1.111 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.396e-05/1.514, allocations: 84 kB / 1.112 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.514, allocations: 7.938 kB / 1.112 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001763/1.514, allocations: 43.83 kB / 1.112 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05005/1.564, allocations: 24.73 MB / 1.136 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.816e-05/1.564, allocations: 12 kB / 1.136 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01018/1.574, allocations: 1.724 MB / 1.137 GB, free: 79.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005174/1.579, allocations: 1.27 MB / 1.139 GB, free: 77.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003041/1.582, allocations: 235.8 kB / 1.139 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.018/1.6, allocations: 21.47 MB / 1.16 GB, free: 55.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.6, allocations: 11.94 kB / 1.16 GB, free: 55.11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03596/1.636, allocations: 22.05 MB / 1.181 GB, free: 32.83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007863/1.637, allocations: 413.8 kB / 1.182 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002525/1.64, allocations: 172 kB / 1.182 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005494/1.645, allocations: 359.6 kB / 1.182 GB, free: 31.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002104/1.647, allocations: 0.6261 MB / 1.183 GB, free: 31.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008498/1.648, allocations: 271.8 kB / 1.183 GB, free: 31.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001139/1.649, allocations: 0.9223 MB / 1.184 GB, free: 30.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/1.649, allocations: 0 / 1.184 GB, free: 30.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00682/1.656, allocations: 2.077 MB / 1.186 GB, free: 28.02 MB / 0.6823 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.00174/1.658, allocations: 486.9 kB / 1.187 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02156/1.679, allocations: 12.96 MB / 1.199 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/1.679, allocations: 4 kB / 1.199 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01284/1.692, allocations: 7.031 MB / 1.206 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006235/1.698, allocations: 0.6258 MB / 1.207 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03629/1.735, allocations: 19.85 MB / 1.226 GB, free: 2.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007337/1.742, allocations: 4.023 MB / 1.23 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01195/1.754, allocations: 3.872 MB / 1.234 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003657/1.758, allocations: 0.5537 MB / 1.234 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/1.758, allocations: 0 / 1.234 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.4716/2.229, allocations: 102.4 MB / 1.334 GB, free: 259.9 MB / 0.7917 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 115.1866644890979]