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.0009993/0.0009993, allocations: 92.22 kB / 19.65 MB, free: 276 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 1.035/1.035, allocations: 177.2 MB / 200 MB, free: 5.551 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.002179/0.002179, allocations: 160.6 kB / 256.6 MB, free: 13.02 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.3209/0.3209, allocations: 80.23 MB / 393.4 MB, free: 2.176 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.0311/0.0311, allocations: 4.802 MB / 481.5 MB, free: 3.785 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 2.094e-06/2.094e-06, allocations: 0 / 0.5674 GB, free: 104 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.664e-05, allocations: 2.312 kB / 0.5674 GB, free: 100 kB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.2582/0.2582, allocations: 6.475 MB / 0.5737 GB, free: 92.75 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006862/0.2651, allocations: 3.852 MB / 0.5775 GB, free: 90.24 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009947/0.2661, allocations: 14.22 kB / 0.5775 GB, free: 90.24 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.2679, allocations: 1.094 MB / 0.5786 GB, free: 89.61 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.2697, allocations: 0.7143 MB / 0.5793 GB, free: 89.17 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.2736, allocations: 1.788 MB / 0.581 GB, free: 88.44 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004888/0.2785, allocations: 4.816 MB / 0.5857 GB, free: 85.89 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.2809, allocations: 1.37 MB / 0.587 GB, free: 84.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/0.2843, allocations: 2.466 MB / 0.5895 GB, free: 83.23 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004164/0.2885, allocations: 4.259 MB / 0.5936 GB, free: 80.86 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001711/0.2902, allocations: 0.8353 MB / 0.5944 GB, free: 80.86 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.2919, allocations: 1.235 MB / 0.5956 GB, free: 79.76 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001753/0.2937, allocations: 3.804 MB / 0.5994 GB, free: 75.95 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002367/0.296, allocations: 2.995 MB / 0.6023 GB, free: 72.95 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00585/0.3019, allocations: 9.514 MB / 0.6116 GB, free: 63.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3019, allocations: 8.875 kB / 0.6116 GB, free: 63.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3019, allocations: 0 / 0.6116 GB, free: 63.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001954/0.3021, allocations: 0 / 0.6116 GB, free: 63.4 MB / 442.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.02174/0.3238, allocations: 9.475 MB / 0.6208 GB, free: 53.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3239, allocations: 8.031 kB / 0.6208 GB, free: 53.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/0.3268, allocations: 1.378 MB / 0.6222 GB, free: 52.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004425/0.3313, allocations: 3.078 MB / 0.6252 GB, free: 49.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003506/0.3316, allocations: 0.6026 MB / 0.6258 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009937/0.3326, allocations: 0.6447 MB / 0.6264 GB, free: 48.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.3442, allocations: 7.768 MB / 0.634 GB, free: 40.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.3443, allocations: 7.953 kB / 0.634 GB, free: 40.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007119/0.345, allocations: 269.9 kB / 0.6343 GB, free: 39.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003047/0.348, allocations: 1.521 MB / 0.6357 GB, free: 38.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.3594, allocations: 5.052 MB / 0.6407 GB, free: 33.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03145/0.3908, allocations: 25.9 MB / 0.666 GB, free: 7.238 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007062/0.3979, allocations: 7.437 MB / 0.6732 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/0.4009, allocations: 1.896 MB / 0.6751 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/0.4015, allocations: 278 kB / 0.6753 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.84e-05/0.4016, allocations: 115.6 kB / 0.6755 GB, free: 13.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=787): time 1.115e-05/0.4016, allocations: 3.984 kB / 0.6755 GB, free: 13.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=807): time 0.02597/0.4276, allocations: 14.75 MB / 0.6899 GB, free: 14.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.4278, allocations: 369 kB / 0.6902 GB, free: 14.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.429, allocations: 1.269 MB / 0.6915 GB, free: 12.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003808/0.4294, allocations: 161.7 kB / 0.6916 GB, free: 12.81 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.4306, allocations: 2.617 MB / 0.6942 GB, free: 10.17 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00183/0.4324, allocations: 2.917 MB / 0.697 GB, free: 7.227 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/0.4342, allocations: 1.401 MB / 0.6984 GB, free: 5.816 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4344, allocations: 480.7 kB / 0.6988 GB, free: 5.344 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002865/0.4372, allocations: 1.662 MB / 0.7005 GB, free: 3.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003763/0.441, allocations: 2.992 MB / 0.7034 GB, free: 428 kB / 474.7 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.01385/0.4548, allocations: 9.345 MB / 0.7125 GB, free: 6.863 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.4549, allocations: 0 / 0.7125 GB, free: 6.863 MB / 490.7 MB Notification: Performance of matching and sorting (n=945) (initialization): time 0.01268/0.4675, allocations: 7.021 MB / 0.7194 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.4676, allocations: 13.72 kB / 0.7194 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.4676, allocations: 8 kB / 0.7194 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005774/0.4734, allocations: 2.519 MB / 0.7218 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005376/0.4787, allocations: 1.763 MB / 0.7236 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/0.4963, allocations: 24.77 MB / 0.7478 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/0.4992, allocations: 363.7 kB / 0.7481 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004528/0.4997, allocations: 291.8 kB / 0.7484 GB, free: 0.7031 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.002068/0.5018, allocations: 0.5386 MB / 0.7489 GB, free: 156 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/0.5029, allocations: 0.611 MB / 0.7495 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.5157, allocations: 7.77 MB / 0.7571 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.425e-05/0.5157, allocations: 91.94 kB / 0.7572 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5157, allocations: 0 / 0.7572 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.256e-05/0.5158, allocations: 43.83 kB / 0.7572 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3715/0.8873, allocations: 14.67 MB / 0.7716 GB, free: 152.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.8873, allocations: 7.25 kB / 0.7716 GB, free: 152.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004353/0.8916, allocations: 1.694 MB / 0.7732 GB, free: 152.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00523/0.8969, allocations: 2.183 MB / 0.7753 GB, free: 152.1 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005934/0.8975, allocations: 239.6 kB / 0.7756 GB, free: 152.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/0.9093, allocations: 23.68 MB / 0.7987 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/0.9093, allocations: 12.72 kB / 0.7987 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/0.926, allocations: 9.612 MB / 0.8081 GB, free: 130.6 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006995/0.9267, allocations: 405.7 kB / 0.8085 GB, free: 130.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005735/0.9273, allocations: 169.5 kB / 0.8086 GB, free: 130.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/0.9294, allocations: 360.2 kB / 0.809 GB, free: 130.6 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009275/0.9303, allocations: 0.6249 MB / 0.8096 GB, free: 130.6 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003993/0.9307, allocations: 274.7 kB / 0.8099 GB, free: 130.5 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0006364/0.9314, allocations: 0.7539 MB / 0.8106 GB, free: 130.3 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9e-08/0.9314, allocations: 0 / 0.8106 GB, free: 130.3 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.003445/0.9348, allocations: 2.098 MB / 0.8126 GB, free: 130 MB / 0.5262 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.0008739/0.9357, allocations: 484.3 kB / 0.8131 GB, free: 129.8 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.008307/0.944, allocations: 6.91 MB / 0.8199 GB, free: 123.9 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.944, allocations: 4 kB / 0.8199 GB, free: 123.9 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.00429/0.9483, allocations: 4.419 MB / 0.8242 GB, free: 120 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.9502, allocations: 0.6931 MB / 0.8249 GB, free: 119.4 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.9646, allocations: 14.95 MB / 0.8395 GB, free: 105.4 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.9656, allocations: 1.824 MB / 0.8412 GB, free: 103.5 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.004231/0.9699, allocations: 2.901 MB / 0.8441 GB, free: 100.6 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/0.9717, allocations: 0.5547 MB / 0.8446 GB, free: 100.1 MB / 0.5262 GB Notification: Performance of SimCode: time 1.423e-06/0.9717, allocations: 0 / 0.8446 GB, free: 100.1 MB / 0.5262 GB Notification: Performance of Templates: time 0.0836/1.055, allocations: 99.08 MB / 0.9414 GB, free: 1.934 MB / 0.5262 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: 40.8149427017197]