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.001145/0.001145, allocations: 81.08 kB / 19.87 MB, free: 4.621 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 1.015/1.015, allocations: 177.2 MB / 200.3 MB, free: 5.383 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.001233/0.001233, allocations: 151.4 kB / 256.9 MB, free: 12.83 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.2881/0.2881, allocations: 80.25 MB / 393.7 MB, free: 1.98 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.03304/0.03304, allocations: 4.802 MB / 481.8 MB, free: 3.984 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 2.004e-06/2.004e-06, allocations: 0 / 0.5679 GB, free: 132 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.855e-05, allocations: 6.25 kB / 0.5679 GB, free: 124 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.006009/0.006038, allocations: 6.361 MB / 0.5741 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006568/0.01261, allocations: 3.845 MB / 0.5779 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009856/0.01359, allocations: 19.81 kB / 0.5779 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.01501, allocations: 1.065 MB / 0.5789 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.01676, allocations: 0.714 MB / 0.5796 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.01987, allocations: 1.793 MB / 0.5814 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004537/0.02441, allocations: 4.816 MB / 0.5861 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.02686, allocations: 1.382 MB / 0.5874 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.03052, allocations: 2.473 MB / 0.5898 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003739/0.03426, allocations: 4.093 MB / 0.5938 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002245/0.03651, allocations: 0.8047 MB / 0.5946 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003545/0.04005, allocations: 1.206 MB / 0.5958 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.202/0.2421, allocations: 3.731 MB / 0.5994 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.005507/0.2476, allocations: 2.943 MB / 0.6023 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00981/0.2574, allocations: 9.305 MB / 0.6114 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2574, allocations: 0 / 0.6114 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2574, allocations: 0.5625 kB / 0.6114 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003022/0.2577, allocations: 1.5 kB / 0.6114 GB, free: 151.6 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.03302/0.2907, allocations: 8.978 MB / 0.6202 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.2908, allocations: 9.469 kB / 0.6202 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.3016, allocations: 1.379 MB / 0.6215 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007946/0.3096, allocations: 2.627 MB / 0.6241 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005195/0.3101, allocations: 0.5995 MB / 0.6247 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00474/0.3148, allocations: 0.6434 MB / 0.6253 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02848/0.3433, allocations: 7.056 MB / 0.6322 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002639/0.3436, allocations: 8.922 kB / 0.6322 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003945/0.3475, allocations: 267.8 kB / 0.6325 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/0.3499, allocations: 1.519 MB / 0.6339 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01853/0.3684, allocations: 3.819 MB / 0.6377 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05142/0.4199, allocations: 23.19 MB / 0.6603 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.4306, allocations: 6.902 MB / 0.6671 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006016/0.4366, allocations: 1.545 MB / 0.6686 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.4376, allocations: 286.5 kB / 0.6688 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.249e-05/0.4377, allocations: 119.6 kB / 0.6689 GB, free: 108 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=787): time 7.965e-06/0.4377, allocations: 0 / 0.6689 GB, free: 108 MB / 0.5105 GB Notification: Performance of matching and sorting (n=807): time 0.02322/0.4609, allocations: 12.01 MB / 0.6807 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/0.461, allocations: 373 kB / 0.681 GB, free: 95.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.462, allocations: 1.214 MB / 0.6822 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003652/0.4624, allocations: 157.7 kB / 0.6824 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006185/0.463, allocations: 2.621 MB / 0.6849 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/0.4643, allocations: 2.948 MB / 0.6878 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/0.466, allocations: 1.431 MB / 0.6892 GB, free: 87.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.466, allocations: 480.7 kB / 0.6897 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.4676, allocations: 1.252 MB / 0.6909 GB, free: 85.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.4697, allocations: 2.612 MB / 0.6934 GB, free: 82.55 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.008427/0.4782, allocations: 7.779 MB / 0.701 GB, free: 74.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.4782, allocations: 4 kB / 0.701 GB, free: 74.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.008407/0.4866, allocations: 5.986 MB / 0.7069 GB, free: 68.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.4866, allocations: 12.03 kB / 0.7069 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.4866, allocations: 12 kB / 0.7069 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004281/0.4909, allocations: 2.09 MB / 0.7089 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004355/0.4953, allocations: 1.611 MB / 0.7105 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.5059, allocations: 24.04 MB / 0.734 GB, free: 39.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/0.5087, allocations: 196 kB / 0.7342 GB, free: 39.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/0.5091, allocations: 239.1 kB / 0.7344 GB, free: 39.07 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[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.002558/0.5117, allocations: 0.5426 MB / 0.7349 GB, free: 38.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009119/0.5126, allocations: 0.6071 MB / 0.7355 GB, free: 37.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008548/0.5211, allocations: 6.866 MB / 0.7422 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.5212, allocations: 84 kB / 0.7423 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5212, allocations: 0 / 0.7423 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/0.5212, allocations: 59.7 kB / 0.7424 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.5369, allocations: 12.05 MB / 0.7541 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.537, allocations: 11.98 kB / 0.7542 GB, free: 18.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003816/0.5408, allocations: 1.545 MB / 0.7557 GB, free: 17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003842/0.5446, allocations: 1.754 MB / 0.7574 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000488/0.5451, allocations: 231.8 kB / 0.7576 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.5551, allocations: 23.06 MB / 0.7801 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.5552, allocations: 15.94 kB / 0.7801 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.568, allocations: 8.313 MB / 0.7882 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/0.5686, allocations: 385.2 kB / 0.7886 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005909/0.5692, allocations: 179.9 kB / 0.7888 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/0.5712, allocations: 180 kB / 0.789 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000936/0.5722, allocations: 0.6302 MB / 0.7896 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004781/0.5726, allocations: 219.8 kB / 0.7898 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006222/0.5733, allocations: 0.676 MB / 0.7904 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5733, allocations: 0 / 0.7904 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004895/0.5782, allocations: 2.093 MB / 0.7925 GB, free: 9.758 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.0009314/0.5791, allocations: 499.2 kB / 0.793 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007556/0.5866, allocations: 6.155 MB / 0.799 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5867, allocations: 4 kB / 0.799 GB, free: 2.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.1639/0.7506, allocations: 4.077 MB / 0.803 GB, free: 171.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/0.7548, allocations: 0.6926 MB / 0.8036 GB, free: 171.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.7714, allocations: 14.61 MB / 0.8179 GB, free: 166.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/0.7731, allocations: 1.83 MB / 0.8197 GB, free: 166.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003267/0.7764, allocations: 0.779 MB / 0.8204 GB, free: 166.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003451/0.7799, allocations: 1.179 MB / 0.8216 GB, free: 166.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.663e-06/0.7799, allocations: 0 / 0.8216 GB, free: 166.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.09497/0.8748, allocations: 105.5 MB / 0.9246 GB, free: 73.94 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: 30.032063051126897]