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.0009258/0.0009258, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.049/1.049, allocations: 177.2 MB / 201.2 MB, free: 5.617 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.001324/0.001324, allocations: 160.5 kB / 257.9 MB, free: 12.9 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.4093/0.4093, allocations: 80.23 MB / 341.4 MB, free: 9.617 MB / 314.7 MB " [Timeout remaining time 180] 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.02122/0.02122, allocations: 4.791 MB / 376.2 MB, free: 7.117 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.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 1.984e-06/1.984e-06, allocations: 0 / 396 MB, free: 3.387 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.672e-05, allocations: 2.312 kB / 396 MB, free: 3.383 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.007922/0.007948, allocations: 5.555 MB / 401.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008036/0.01598, allocations: 3.334 MB / 404.9 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.01711, allocations: 11.94 kB / 404.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.01848, allocations: 0.9789 MB / 405.8 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.01974, allocations: 0.504 MB / 406.4 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.02148, allocations: 0.8375 MB / 407.2 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.02306, allocations: 1.694 MB / 408.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008896/0.02395, allocations: 0.6694 MB / 409.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009236/0.02487, allocations: 0.9157 MB / 410.5 MB, free: 4.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006759/0.02555, allocations: 0.6153 MB / 411.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.02571, allocations: 136 kB / 411.2 MB, free: 4.043 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008395/0.02655, allocations: 0.5657 MB / 411.8 MB, free: 3.477 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.02676, allocations: 350.6 kB / 412.1 MB, free: 3.133 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.0271, allocations: 482.6 kB / 412.6 MB, free: 2.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.0284, allocations: 1.425 MB / 414 MB, free: 1.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.0284, allocations: 0 / 414 MB, free: 1.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0284, allocations: 0 / 414 MB, free: 1.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.02841, allocations: 0 / 414 MB, free: 1.23 MB / 378.7 MB 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.002025/0.03044, allocations: 1.753 MB / 415.8 MB, free: 15.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.03048, allocations: 12.03 kB / 415.8 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/0.03133, allocations: 312.3 kB / 416.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005969/0.03193, allocations: 490.1 kB / 416.6 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.03206, allocations: 185.4 kB / 416.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.03217, allocations: 108.3 kB / 416.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.03309, allocations: 1.101 MB / 418 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.03311, allocations: 192 / 418 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.03317, allocations: 44.12 kB / 418 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.03318, allocations: 20 kB / 418 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.03374, allocations: 381.5 kB / 418.4 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.03679, allocations: 2.381 MB / 420.8 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.03737, allocations: 0.5027 MB / 421.3 MB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.03758, allocations: 183.8 kB / 421.5 MB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000323/0.03791, allocations: 128.9 kB / 421.6 MB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.03794, allocations: 43.56 kB / 421.6 MB, free: 9.312 MB / 394.7 MB Notification: Performance of pre-optimization done (n=105): time 3.577e-06/0.03794, allocations: 0 / 421.6 MB, free: 9.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=109): time 0.002375/0.04032, allocations: 1.508 MB / 423.1 MB, free: 7.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.04042, allocations: 321.4 kB / 423.4 MB, free: 7.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/0.04124, allocations: 0.778 MB / 424.2 MB, free: 6.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.04129, allocations: 49.7 kB / 424.3 MB, free: 6.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.04147, allocations: 430.4 kB / 424.7 MB, free: 6.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.04164, allocations: 400.5 kB / 425.1 MB, free: 5.707 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.04187, allocations: 238.7 kB / 425.3 MB, free: 5.469 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.04197, allocations: 357.8 kB / 425.7 MB, free: 5.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.04218, allocations: 146.5 kB / 425.8 MB, free: 4.969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.04256, allocations: 0.6027 MB / 426.4 MB, free: 4.238 MB / 394.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) 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.001732/0.04429, allocations: 1.436 MB / 427.8 MB, free: 2.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.0443, allocations: 4 kB / 427.9 MB, free: 2.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0009848/0.04528, allocations: 0.7206 MB / 428.6 MB, free: 2.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.0453, allocations: 11.44 kB / 428.6 MB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.04531, allocations: 4 kB / 428.6 MB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000436/0.04575, allocations: 169.2 kB / 428.8 MB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.047, allocations: 443.3 kB / 429.2 MB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00552/0.05252, allocations: 10.34 MB / 439.5 MB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/0.05335, allocations: 47.92 kB / 439.6 MB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.0534, allocations: 39.97 kB / 439.6 MB, free: 6.277 MB / 410.7 MB 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.0002744/0.05367, allocations: 184.8 kB / 439.8 MB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.05381, allocations: 107.8 kB / 439.9 MB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.05494, allocations: 0.7983 MB / 440.7 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.05495, allocations: 12 kB / 440.7 MB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.05495, allocations: 3.984 kB / 440.7 MB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.05496, allocations: 7.922 kB / 440.7 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.05672, allocations: 1.305 MB / 442 MB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.05672, allocations: 0 / 442 MB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/0.05758, allocations: 347.7 kB / 442.4 MB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007445/0.05832, allocations: 265.9 kB / 442.6 MB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.05837, allocations: 31.92 kB / 442.7 MB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1957/0.2541, allocations: 12.66 MB / 455.3 MB, free: 48.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2541, allocations: 4.797 kB / 455.3 MB, free: 48.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.2558, allocations: 1.072 MB / 456.4 MB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.256, allocations: 105.7 kB / 456.5 MB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.2561, allocations: 34.97 kB / 456.5 MB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.2565, allocations: 38.03 kB / 456.6 MB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.2567, allocations: 101.7 kB / 456.7 MB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.2567, allocations: 30.2 kB / 456.7 MB, free: 48.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003752/0.2571, allocations: 403.6 kB / 457.1 MB, free: 48.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2571, allocations: 0 / 457.1 MB, free: 48.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001069/0.2582, allocations: 453.6 kB / 457.5 MB, free: 48.07 MB / 410.7 MB 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.0003905/0.2586, allocations: 253 kB / 457.8 MB, free: 48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.2603, allocations: 1.152 MB / 458.9 MB, free: 47.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.2e-05/0.2604, allocations: 13.19 kB / 458.9 MB, free: 47.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000923/0.2613, allocations: 0.9456 MB / 459.9 MB, free: 47.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006464/0.2619, allocations: 260.6 kB / 460.1 MB, free: 47.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.2646, allocations: 2.231 MB / 462.4 MB, free: 46.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.2648, allocations: 242.4 kB / 462.6 MB, free: 46.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006527/0.2655, allocations: 193 kB / 462.8 MB, free: 46.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006321/0.2661, allocations: 379.5 kB / 463.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.2661, allocations: 0.7656 kB / 463.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of Templates: time 0.02578/0.2919, allocations: 26.07 MB / 489.2 MB, free: 24.41 MB / 410.7 MB " [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: 4.96653607301414]