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.0009593/0.0009593, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.9134/0.9134, allocations: 177.2 MB / 200.3 MB, free: 5.68 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.001137/0.001137, allocations: 155.9 kB / 257 MB, free: 12.97 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.3946/0.3946, allocations: 80.24 MB / 340.5 MB, free: 9.648 MB / 314.7 MB " [Timeout remaining time 180] 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.02222/0.02222, allocations: 4.791 MB / 375.3 MB, free: 7.148 MB / 346.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 / 394.9 MB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.715e-05, allocations: 2.312 kB / 394.9 MB, free: 3.527 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.005123/0.00514, allocations: 6.383 MB / 401.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.01065, allocations: 3.936 MB / 405.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005968/0.01125, allocations: 11.94 kB / 405.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.01248, allocations: 1.099 MB / 406.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.01368, allocations: 0.7063 MB / 407.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.01633, allocations: 1.801 MB / 408.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003759/0.02009, allocations: 4.815 MB / 413.7 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.02185, allocations: 1.462 MB / 415.2 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.02401, allocations: 2.473 MB / 417.6 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002912/0.02693, allocations: 4.074 MB / 421.7 MB, free: 8.648 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009347/0.02786, allocations: 0.8047 MB / 422.5 MB, free: 7.844 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.02919, allocations: 1.206 MB / 423.7 MB, free: 6.637 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002117/0.03131, allocations: 3.746 MB / 427.5 MB, free: 2.883 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002599/0.03391, allocations: 2.939 MB / 430.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006565/0.04047, allocations: 9.304 MB / 439.7 MB, free: 6.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.04048, allocations: 0 / 439.7 MB, free: 6.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.04048, allocations: 0 / 439.7 MB, free: 6.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001739/0.04065, allocations: 0 / 439.7 MB, free: 6.609 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: 2369 * Number of variables: 2369 Notification: Performance of Generate backend data structure: time 0.2964/0.3371, allocations: 8.321 MB / 448 MB, free: 54.99 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3371, allocations: 9.094 kB / 448 MB, free: 54.99 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/0.3397, allocations: 1.046 MB / 449.1 MB, free: 54.99 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/0.3431, allocations: 2.348 MB / 451.4 MB, free: 54.4 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003659/0.3434, allocations: 0.6029 MB / 452 MB, free: 54.05 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.3445, allocations: 0.647 MB / 452.7 MB, free: 53.84 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00901/0.3535, allocations: 7.123 MB / 459.8 MB, free: 51.79 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.3536, allocations: 15.94 kB / 459.8 MB, free: 51.79 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006607/0.3542, allocations: 270 kB / 460.1 MB, free: 51.58 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00266/0.3569, allocations: 1.52 MB / 461.6 MB, free: 50.32 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006281/0.3632, allocations: 3.132 MB / 464.7 MB, free: 47.18 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02553/0.3887, allocations: 20.66 MB / 485.4 MB, free: 27.54 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00488/0.3936, allocations: 6.735 MB / 492.1 MB, free: 20.9 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.3951, allocations: 1.316 MB / 493.4 MB, free: 19.58 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/0.3956, allocations: 269.6 kB / 493.7 MB, free: 19.32 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.3956, allocations: 120.5 kB / 493.8 MB, free: 19.2 MB / 410.8 MB Notification: Performance of pre-optimization done (n=787): time 8.496e-06/0.3957, allocations: 0.9844 kB / 493.8 MB, free: 19.2 MB / 410.8 MB Notification: Performance of matching and sorting (n=807): time 0.01589/0.4115, allocations: 10.59 MB / 0.4926 GB, free: 8.633 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.4116, allocations: 369.1 kB / 0.493 GB, free: 8.203 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.4123, allocations: 1.074 MB / 0.494 GB, free: 7.121 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003426/0.4126, allocations: 157.7 kB / 0.4942 GB, free: 6.961 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.4131, allocations: 2.417 MB / 0.4965 GB, free: 4.516 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009169/0.414, allocations: 2.796 MB / 0.4992 GB, free: 1.695 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/0.4152, allocations: 1.215 MB / 0.5004 GB, free: 484 kB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.011e-05/0.4153, allocations: 305.1 kB / 0.5007 GB, free: 176 kB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.4169, allocations: 1.173 MB / 0.5019 GB, free: 15 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.4188, allocations: 2.041 MB / 0.5039 GB, free: 12.75 MB / 426.8 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.007724/0.4266, allocations: 7.012 MB / 0.5107 GB, free: 5.578 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.4266, allocations: 0 / 0.5107 GB, free: 5.578 MB / 426.8 MB Notification: Performance of matching and sorting (n=945) (initialization): time 0.007643/0.4342, allocations: 4.566 MB / 0.5152 GB, free: 0.9648 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.4343, allocations: 8 kB / 0.5152 GB, free: 0.957 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.4343, allocations: 16.03 kB / 0.5152 GB, free: 0.9414 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004503/0.4388, allocations: 2.063 MB / 0.5172 GB, free: 14.85 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004544/0.4433, allocations: 1.583 MB / 0.5187 GB, free: 13.27 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.4556, allocations: 17.41 MB / 0.5358 GB, free: 10.86 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.4584, allocations: 188 kB / 0.5359 GB, free: 10.67 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005041/0.4589, allocations: 215.8 kB / 0.5361 GB, free: 10.46 MB / 458.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.001846/0.4608, allocations: 0.4914 MB / 0.5366 GB, free: 9.957 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008953/0.4616, allocations: 487.6 kB / 0.5371 GB, free: 9.48 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008147/0.4698, allocations: 5.651 MB / 0.5426 GB, free: 3.781 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.812e-05/0.4698, allocations: 84 kB / 0.5427 GB, free: 3.699 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.4698, allocations: 0 / 0.5427 GB, free: 3.699 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.336e-05/0.4699, allocations: 47.83 kB / 0.5427 GB, free: 3.652 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01847/0.4884, allocations: 10.54 MB / 0.553 GB, free: 8.91 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.4884, allocations: 8 kB / 0.553 GB, free: 8.902 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004228/0.4926, allocations: 1.514 MB / 0.5545 GB, free: 7.387 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004035/0.4966, allocations: 1.76 MB / 0.5562 GB, free: 5.609 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005653/0.4972, allocations: 211.8 kB / 0.5564 GB, free: 5.402 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.5074, allocations: 16.46 MB / 0.5725 GB, free: 3.965 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.5075, allocations: 11.94 kB / 0.5725 GB, free: 3.953 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.5186, allocations: 7.017 MB / 0.5794 GB, free: 12.7 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/0.519, allocations: 369.1 kB / 0.5797 GB, free: 12.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005918/0.5196, allocations: 172 kB / 0.5799 GB, free: 12.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/0.5214, allocations: 180 kB / 0.58 GB, free: 11.99 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008556/0.5222, allocations: 0.6068 MB / 0.5806 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004108/0.5227, allocations: 211.8 kB / 0.5808 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0004541/0.5231, allocations: 0.5194 MB / 0.5814 GB, free: 10.65 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5231, allocations: 0 / 0.5814 GB, free: 10.65 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003809/0.5269, allocations: 2.089 MB / 0.5834 GB, free: 8.562 MB / 0.4949 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.000914/0.5278, allocations: 481 kB / 0.5838 GB, free: 8.082 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007106/0.5349, allocations: 5.141 MB / 0.5889 GB, free: 2.855 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.71e-05/0.535, allocations: 23.62 kB / 0.5889 GB, free: 2.836 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003715/0.5387, allocations: 3.394 MB / 0.5922 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.5413, allocations: 0.9924 MB / 0.5932 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/0.5586, allocations: 14.21 MB / 0.6071 GB, free: 15.95 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.5601, allocations: 1.826 MB / 0.6088 GB, free: 14.1 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.003518/0.5636, allocations: 0.7786 MB / 0.6096 GB, free: 13.32 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003099/0.5667, allocations: 1.081 MB / 0.6106 GB, free: 12.23 MB / 0.5262 GB Notification: Performance of SimCode: time 1.613e-06/0.5667, allocations: 0 / 0.6106 GB, free: 12.23 MB / 0.5262 GB Notification: Performance of Templates: time 0.2633/0.8299, allocations: 105.3 MB / 0.7134 GB, free: 118.2 MB / 0.5418 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: 25.702499048784375]