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.001131/0.001131, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.9963/0.9963, allocations: 177.2 MB / 201 MB, free: 5.711 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.002177/0.002177, allocations: 156.7 kB / 257.7 MB, free: 12.99 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.281/0.281, allocations: 80.25 MB / 394.5 MB, free: 1.992 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.02049/0.02049, allocations: 4.805 MB / 482.6 MB, free: 3.961 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.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: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.5686 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.501e-05, allocations: 6.25 kB / 0.5687 GB, free: 104 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.006778/0.006803, allocations: 5.492 MB / 0.574 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006073/0.01288, allocations: 3.258 MB / 0.5772 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000853/0.01373, allocations: 11.94 kB / 0.5772 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.01487, allocations: 0.9673 MB / 0.5782 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008447/0.01572, allocations: 0.5078 MB / 0.5786 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.01758, allocations: 0.8609 MB / 0.5795 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.01912, allocations: 1.687 MB / 0.5811 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000644/0.01976, allocations: 0.6318 MB / 0.5818 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008076/0.02057, allocations: 0.9118 MB / 0.5826 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.02124, allocations: 0.6192 MB / 0.5832 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.02141, allocations: 136 kB / 0.5834 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006453/0.02206, allocations: 0.5228 MB / 0.5839 GB, free: 420 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.02229, allocations: 354.6 kB / 0.5842 GB, free: 64 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.02265, allocations: 490.7 kB / 0.5847 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.02382, allocations: 1.413 MB / 0.5861 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.02382, allocations: 0 / 0.5861 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.62e-07/0.02382, allocations: 0 / 0.5861 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.02384, allocations: 0 / 0.5861 GB, free: 14.16 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: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.002263/0.0261, allocations: 1.908 MB / 0.5879 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.02613, allocations: 8.031 kB / 0.5879 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008686/0.027, allocations: 339.7 kB / 0.5883 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.02759, allocations: 0.6178 MB / 0.5889 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.02769, allocations: 185.4 kB / 0.589 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.02781, allocations: 104.4 kB / 0.5891 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009262/0.02873, allocations: 1.141 MB / 0.5903 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.02875, allocations: 192 / 0.5903 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.02882, allocations: 48.12 kB / 0.5903 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.02883, allocations: 24 kB / 0.5903 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005674/0.0294, allocations: 449.4 kB / 0.5908 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003226/0.03263, allocations: 3.307 MB / 0.594 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.03326, allocations: 0.5084 MB / 0.5945 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.03351, allocations: 206.5 kB / 0.5947 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/0.0338, allocations: 124.9 kB / 0.5948 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.03383, allocations: 50.39 kB / 0.5949 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=105): time 2.305e-06/0.03384, allocations: 0 / 0.5949 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109): time 0.002409/0.03624, allocations: 1.685 MB / 0.5965 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.03635, allocations: 333.3 kB / 0.5968 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.03698, allocations: 0.8673 MB / 0.5977 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.03703, allocations: 45.7 kB / 0.5977 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.0373, allocations: 0.593 MB / 0.5983 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.0375, allocations: 400.5 kB / 0.5987 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.03777, allocations: 252.3 kB / 0.5989 GB, free: 484 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.2085/0.2463, allocations: 0.5286 MB / 0.5994 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/0.2468, allocations: 176.3 kB / 0.5996 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.2473, allocations: 0.6862 MB / 0.6003 GB, free: 165.9 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) 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.00225/0.2495, allocations: 1.581 MB / 0.6018 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2495, allocations: 0 / 0.6018 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001532/0.2511, allocations: 0.9615 MB / 0.6027 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.2511, allocations: 6.453 kB / 0.6027 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2511, allocations: 3.391 kB / 0.6028 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004981/0.2516, allocations: 176.2 kB / 0.6029 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.2529, allocations: 393.5 kB / 0.6033 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004364/0.2573, allocations: 15.14 MB / 0.6181 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/0.258, allocations: 47.14 kB / 0.6181 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.258, allocations: 40.59 kB / 0.6182 GB, free: 151 MB / 0.5105 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.0002461/0.2583, allocations: 235.7 kB / 0.6184 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.2584, allocations: 153.3 kB / 0.6185 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.2599, allocations: 0.9477 MB / 0.6195 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2599, allocations: 20.81 kB / 0.6195 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2599, allocations: 1.438 kB / 0.6195 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.2599, allocations: 9.516 kB / 0.6195 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.2619, allocations: 1.543 MB / 0.621 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2619, allocations: 2.188 kB / 0.621 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.2627, allocations: 295.5 kB / 0.6213 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007951/0.2634, allocations: 271.4 kB / 0.6215 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.2635, allocations: 39.86 kB / 0.6216 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004487/0.268, allocations: 18.6 MB / 0.6397 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.268, allocations: 8.719 kB / 0.6398 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.2698, allocations: 1.273 MB / 0.641 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.2699, allocations: 127.2 kB / 0.6411 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.27, allocations: 39.62 kB / 0.6412 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.2704, allocations: 41.16 kB / 0.6412 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.2706, allocations: 96.83 kB / 0.6413 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.2707, allocations: 32.31 kB / 0.6413 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004714/0.2712, allocations: 0.5384 MB / 0.6418 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2712, allocations: 3.938 kB / 0.6418 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001067/0.2722, allocations: 450.8 kB / 0.6423 GB, free: 131.2 MB / 0.5105 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.0003852/0.2726, allocations: 268.3 kB / 0.6425 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.2745, allocations: 1.379 MB / 0.6439 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2745, allocations: 1.906 kB / 0.6439 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009583/0.2755, allocations: 1.199 MB / 0.6451 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.2761, allocations: 268.5 kB / 0.6453 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.2788, allocations: 2.437 MB / 0.6477 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.2789, allocations: 238 kB / 0.6479 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005437/0.2795, allocations: 192 kB / 0.6481 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007166/0.2802, allocations: 436.2 kB / 0.6485 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.2802, allocations: 0 / 0.6485 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.02371/0.3039, allocations: 26.42 MB / 0.6743 GB, free: 105.2 MB / 0.5105 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleGenFrancis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.52360221510753]