Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.SimpleGenFrancis.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.0009618/0.0009618, allocations: 104.4 kB / 19.71 MB, free: 440 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 0.9848/0.9848, allocations: 230.6 MB / 253.4 MB, free: 9.836 MB / 202.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.002092/0.002092, allocations: 215.3 kB / 310 MB, free: 1.934 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.4048/0.4048, allocations: 107.2 MB / 473.6 MB, free: 9.875 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.02448/0.02448, allocations: 6.306 MB / 0.5499 GB, free: 1.258 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.SimpleGenFrancis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleGenFrancis") translateModel(OpenHPL.Examples.SimpleGenFrancis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleGenFrancis") [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.002791/0.002791, allocations: 131.8 kB / 0.7254 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3428, allocations: 81.64 MB / 0.8051 GB, free: 33 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.00344/0.3462, allocations: 5.073 MB / 0.8101 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.3489, allocations: 3.117 MB / 0.8131 GB, free: 27.51 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.3492, allocations: 11.25 kB / 0.8131 GB, free: 27.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008478/0.35, allocations: 0.8837 MB / 0.814 GB, free: 26.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005033/0.3505, allocations: 0.4903 MB / 0.8145 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009368/0.3515, allocations: 0.8577 MB / 0.8153 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009594/0.3524, allocations: 1.648 MB / 0.8169 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006646/0.3531, allocations: 0.602 MB / 0.8175 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.3536, allocations: 0.6569 MB / 0.8182 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007932/0.3544, allocations: 0.71 MB / 0.8188 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.3546, allocations: 135.2 kB / 0.819 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006748/0.3553, allocations: 0.5231 MB / 0.8195 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.3555, allocations: 348.8 kB / 0.8198 GB, free: 24.19 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.3559, allocations: 0.5664 MB / 0.8204 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.3576, allocations: 1.719 MB / 0.822 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3576, allocations: 0 / 0.822 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3576, allocations: 0 / 0.822 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.3576, allocations: 0 / 0.822 GB, free: 23.2 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: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.002528/0.3602, allocations: 1.814 MB / 0.8238 GB, free: 22.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.3602, allocations: 13.12 kB / 0.8238 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008462/0.3611, allocations: 241.5 kB / 0.8241 GB, free: 22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.3618, allocations: 0.6348 MB / 0.8247 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.3619, allocations: 188.1 kB / 0.8249 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.362, allocations: 98.06 kB / 0.825 GB, free: 21.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.3633, allocations: 1.408 MB / 0.8263 GB, free: 20.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.3633, allocations: 7.125 kB / 0.8263 GB, free: 20.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.3634, allocations: 36.84 kB / 0.8264 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.3634, allocations: 21.89 kB / 0.8264 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.3646, allocations: 0.9732 MB / 0.8273 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.3683, allocations: 3.205 MB / 0.8305 GB, free: 18.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.3694, allocations: 0.8112 MB / 0.8313 GB, free: 17.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000496/0.3699, allocations: 428.8 kB / 0.8317 GB, free: 17.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003557/0.3702, allocations: 127.6 kB / 0.8318 GB, free: 17.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.3702, allocations: 45.69 kB / 0.8318 GB, free: 17.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=105): time 2.034e-06/0.3702, allocations: 0 / 0.8318 GB, free: 17.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.00389/0.3741, allocations: 2.807 MB / 0.8346 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.3742, allocations: 326.4 kB / 0.8349 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.375, allocations: 0.9594 MB / 0.8358 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.3751, allocations: 46.48 kB / 0.8359 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.3753, allocations: 0.5347 MB / 0.8364 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.3754, allocations: 405.5 kB / 0.8368 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.3757, allocations: 247.1 kB / 0.837 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.3757, allocations: 353.3 kB / 0.8374 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/0.3763, allocations: 450.3 kB / 0.8378 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/0.377, allocations: 0.9008 MB / 0.8387 GB, free: 12.98 MB / 0.5261 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: penstock.Vdot = penstock.Vdot_0 (discharge.Vdot_0 = penstock.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = surgeTank.Vdot_0 ($START.intake.Vdot - discharge.Vdot_0 = surgeTank.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/0.3901, allocations: 5.504 MB / 0.844 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.3901, allocations: 5.406 kB / 0.844 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002081/0.3922, allocations: 1.462 MB / 0.8455 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3922, allocations: 6.469 kB / 0.8455 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3922, allocations: 6.922 kB / 0.8455 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/0.3927, allocations: 181.3 kB / 0.8457 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.394, allocations: 395.4 kB / 0.846 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004651/0.3987, allocations: 11.38 MB / 0.8571 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.3995, allocations: 58.75 kB / 0.8572 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.3996, allocations: 48.62 kB / 0.8572 GB, free: 14.24 MB / 0.5417 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: intake.Vdot = intake.Vdot_0 penstock.Vdot = penstock.Vdot_0 surgeTank.Vdot = surgeTank.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * 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): 2 systems {(1,11,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004276/0.4, allocations: 260.8 kB / 0.8575 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.4002, allocations: 117 kB / 0.8576 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.4023, allocations: 1.38 MB / 0.859 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.4023, allocations: 16.84 kB / 0.859 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.4023, allocations: 1.625 kB / 0.859 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4023, allocations: 7.969 kB / 0.859 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.4052, allocations: 2.066 MB / 0.861 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4052, allocations: 5.125 kB / 0.861 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008161/0.406, allocations: 299.6 kB / 0.8613 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006384/0.4067, allocations: 246.5 kB / 0.8615 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.4067, allocations: 29.55 kB / 0.8616 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006222/0.4129, allocations: 13.8 MB / 0.875 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4129, allocations: 1.312 kB / 0.875 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.4157, allocations: 1.933 MB / 0.8769 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.4159, allocations: 131.1 kB / 0.877 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.416, allocations: 31.94 kB / 0.8771 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.4165, allocations: 51.95 kB / 0.8771 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.4166, allocations: 108.8 kB / 0.8772 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.4167, allocations: 35.98 kB / 0.8773 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006861/0.4174, allocations: 0.6645 MB / 0.8779 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.4174, allocations: 0 / 0.8779 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001197/0.4186, allocations: 447.6 kB / 0.8783 GB, free: 11.19 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (reservoir.m,intake.mdot,discharge.mdot,tail.m,generator.DELTA,generator.EEd,generator.EEq,generator.Ef,generator.Vstabilizer,generator.w,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 (109): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 2 systems {(1,1,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004066/0.419, allocations: 262.5 kB / 0.8786 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002514/0.4215, allocations: 1.588 MB / 0.8801 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4215, allocations: 0 / 0.8801 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.4228, allocations: 1.137 MB / 0.8812 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.4234, allocations: 237.5 kB / 0.8815 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.4265, allocations: 2.791 MB / 0.8842 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.4269, allocations: 0.5092 MB / 0.8847 GB, free: 4.484 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.4272, allocations: 107.4 kB / 0.8848 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of SimCode: time 5.61e-07/0.4272, allocations: 0 / 0.8848 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of Templates: time 0.0334/0.4606, allocations: 55.02 MB / 0.9385 GB, free: 13.37 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.SimpleGenFrancis.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.SimpleGenFrancis.pipe ; mkfifo OpenHPL_OpenHPL.Examples.SimpleGenFrancis.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.SimpleGenFrancis.pipe >> ../files/OpenHPL_OpenHPL.Examples.SimpleGenFrancis.sim & ./OpenHPL_OpenHPL.Examples.SimpleGenFrancis > OpenHPL_OpenHPL.Examples.SimpleGenFrancis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.452634660992771]