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.001023/0.001023, allocations: 88.22 kB / 20.43 MB, free: 4.16 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.9181/0.9181, allocations: 177.2 MB / 200.8 MB, free: 5.797 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.001168/0.001168, allocations: 172.5 kB / 257.4 MB, free: 13.1 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.2879/0.2879, allocations: 80.24 MB / 394.2 MB, free: 2.172 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.02067/0.02067, allocations: 4.8 MB / 482.3 MB, free: 4.156 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.192e-06/1.192e-06, allocations: 0 / 0.5674 GB, free: 1.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.89e-05, allocations: 5.828 kB / 0.5674 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.00546/0.005479, allocations: 6.475 MB / 0.5737 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005109/0.01059, allocations: 3.868 MB / 0.5775 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004657/0.01105, allocations: 15.94 kB / 0.5775 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.01219, allocations: 1.088 MB / 0.5785 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.01323, allocations: 0.7062 MB / 0.5792 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.01547, allocations: 1.789 MB / 0.581 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003399/0.01887, allocations: 4.808 MB / 0.5857 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.02042, allocations: 1.378 MB / 0.587 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.02274, allocations: 2.469 MB / 0.5894 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.02595, allocations: 4.261 MB / 0.5936 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.02696, allocations: 0.8359 MB / 0.5944 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.02855, allocations: 1.241 MB / 0.5956 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002274/0.03083, allocations: 3.793 MB / 0.5993 GB, free: 420 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.1817/0.2125, allocations: 2.997 MB / 0.6023 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.2228, allocations: 9.504 MB / 0.6115 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2228, allocations: 4.109 kB / 0.6115 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2228, allocations: 0.5312 kB / 0.6115 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003325/0.2231, allocations: 1.25 kB / 0.6115 GB, free: 150.8 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.03026/0.2534, allocations: 9.477 MB / 0.6208 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2534, allocations: 9.938 kB / 0.6208 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/0.2564, allocations: 1.376 MB / 0.6222 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/0.2599, allocations: 3.076 MB / 0.6252 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.2602, allocations: 0.6055 MB / 0.6257 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007723/0.261, allocations: 0.6426 MB / 0.6264 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.2715, allocations: 7.766 MB / 0.634 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.2716, allocations: 10.55 kB / 0.634 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006371/0.2723, allocations: 268.3 kB / 0.6342 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002302/0.2746, allocations: 1.52 MB / 0.6357 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009415/0.284, allocations: 5.049 MB / 0.6406 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02937/0.3134, allocations: 25.92 MB / 0.6659 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006725/0.3201, allocations: 7.437 MB / 0.6732 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/0.3226, allocations: 1.892 MB / 0.6751 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/0.3232, allocations: 270 kB / 0.6753 GB, free: 99.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.3232, allocations: 122.9 kB / 0.6754 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=787): time 8.085e-06/0.3233, allocations: 4 kB / 0.6754 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=807): time 0.02344/0.3467, allocations: 14.73 MB / 0.6898 GB, free: 84.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.3468, allocations: 377 kB / 0.6902 GB, free: 84.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.3479, allocations: 1.261 MB / 0.6914 GB, free: 83.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004135/0.3483, allocations: 157.7 kB / 0.6916 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005978/0.3489, allocations: 2.617 MB / 0.6941 GB, free: 80.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/0.3502, allocations: 2.923 MB / 0.697 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/0.3519, allocations: 1.401 MB / 0.6983 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.165e-05/0.3519, allocations: 484.7 kB / 0.6988 GB, free: 75.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/0.3545, allocations: 1.654 MB / 0.7004 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003041/0.3575, allocations: 2.988 MB / 0.7033 GB, free: 70.77 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.01172/0.3692, allocations: 9.343 MB / 0.7125 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.3692, allocations: 7.984 kB / 0.7125 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.01089/0.3801, allocations: 7.017 MB / 0.7193 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.3801, allocations: 8.062 kB / 0.7193 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.3802, allocations: 12 kB / 0.7193 GB, free: 54.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005004/0.3852, allocations: 2.518 MB / 0.7218 GB, free: 51.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005099/0.3903, allocations: 1.767 MB / 0.7235 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.4018, allocations: 24.77 MB / 0.7477 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003818/0.4056, allocations: 359.7 kB / 0.7481 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005731/0.4062, allocations: 291.8 kB / 0.7483 GB, free: 23.09 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.002683/0.4089, allocations: 0.5343 MB / 0.7489 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009759/0.4099, allocations: 0.6149 MB / 0.7495 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.4207, allocations: 7.772 MB / 0.7571 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.4208, allocations: 84 kB / 0.7571 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4208, allocations: 7.938 kB / 0.7571 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-05/0.4208, allocations: 47.83 kB / 0.7572 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/0.4409, allocations: 14.67 MB / 0.7715 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.4409, allocations: 8 kB / 0.7715 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004634/0.4455, allocations: 1.701 MB / 0.7732 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004979/0.4505, allocations: 2.184 MB / 0.7753 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007035/0.4512, allocations: 227.8 kB / 0.7755 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.4641, allocations: 23.69 MB / 0.7987 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.4641, allocations: 19.88 kB / 0.7987 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1783/0.6424, allocations: 9.608 MB / 0.8081 GB, free: 168 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.643, allocations: 400.4 kB / 0.8084 GB, free: 168 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006701/0.6437, allocations: 172.5 kB / 0.8086 GB, free: 168 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/0.646, allocations: 356.5 kB / 0.8089 GB, free: 168 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001132/0.6471, allocations: 0.6281 MB / 0.8096 GB, free: 168 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005278/0.6476, allocations: 275.5 kB / 0.8098 GB, free: 168 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008396/0.6485, allocations: 0.7582 MB / 0.8106 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.6485, allocations: 1.094 kB / 0.8106 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004514/0.653, allocations: 2.089 MB / 0.8126 GB, free: 167.8 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.0009774/0.654, allocations: 488.6 kB / 0.8131 GB, free: 167.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009793/0.6638, allocations: 6.886 MB / 0.8198 GB, free: 166.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.6638, allocations: 2.094 kB / 0.8198 GB, free: 166.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004618/0.6684, allocations: 4.398 MB / 0.8241 GB, free: 165.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.6705, allocations: 0.6993 MB / 0.8248 GB, free: 165.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.6875, allocations: 15.42 MB / 0.8398 GB, free: 153.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/0.6899, allocations: 3.513 MB / 0.8433 GB, free: 150.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002698/0.6926, allocations: 0.5955 MB / 0.8439 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.313e-06/0.6926, allocations: 4 kB / 0.8439 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.3265/1.019, allocations: 344.2 MB / 1.18 GB, free: 32.19 MB / 0.5573 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 > OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 45.09703757613897]