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.0009628/0.0009628, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.009/1.009, allocations: 177.2 MB / 200.3 MB, free: 5.348 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.001819/0.001819, allocations: 170.3 kB / 257 MB, free: 12.8 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.4183/0.4183, allocations: 80.23 MB / 340.5 MB, free: 9.535 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.02222/0.02222, allocations: 4.791 MB / 375.3 MB, free: 7.129 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.573e-06/1.573e-06, allocations: 0 / 395 MB, free: 3.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.494e-05, allocations: 6.25 kB / 395 MB, free: 3.453 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.005004/0.005029, allocations: 5.543 MB / 400.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.0099, allocations: 3.349 MB / 403.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.01036, allocations: 8 kB / 403.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.01172, allocations: 0.9789 MB / 404.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008532/0.01257, allocations: 0.5117 MB / 405.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.0139, allocations: 0.8336 MB / 406.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.01536, allocations: 1.694 MB / 407.9 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000789/0.01615, allocations: 0.6615 MB / 408.6 MB, free: 5.785 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008765/0.01703, allocations: 0.9041 MB / 409.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.01778, allocations: 0.6153 MB / 410.1 MB, free: 4.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.01797, allocations: 136 kB / 410.2 MB, free: 4.129 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007428/0.01871, allocations: 0.5734 MB / 410.8 MB, free: 3.555 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.01894, allocations: 346.6 kB / 411.1 MB, free: 3.215 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.01929, allocations: 486.6 kB / 411.6 MB, free: 2.738 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.02086, allocations: 1.413 MB / 413 MB, free: 1.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.02086, allocations: 0 / 413 MB, free: 1.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02086, allocations: 4 kB / 413 MB, free: 1.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.02088, allocations: 0 / 413 MB, free: 1.316 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.002112/0.02299, allocations: 1.764 MB / 414.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.02302, allocations: 8.031 kB / 414.8 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009097/0.02393, allocations: 300.4 kB / 415.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.02451, allocations: 498 kB / 415.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.02462, allocations: 181.4 kB / 415.8 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.02473, allocations: 108.3 kB / 415.9 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008973/0.02563, allocations: 1.104 MB / 417 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.02565, allocations: 192 / 417 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/0.02571, allocations: 44.12 kB / 417 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.02572, allocations: 20 kB / 417 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.02626, allocations: 377.6 kB / 417.4 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.02956, allocations: 2.381 MB / 419.8 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.03016, allocations: 0.5027 MB / 420.3 MB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.03039, allocations: 183.8 kB / 420.5 MB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003305/0.03072, allocations: 128.9 kB / 420.6 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.03075, allocations: 47.56 kB / 420.6 MB, free: 9.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=105): time 2.475e-06/0.03075, allocations: 4 kB / 420.6 MB, free: 9.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=109): time 0.002452/0.03321, allocations: 1.497 MB / 422.1 MB, free: 7.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.03331, allocations: 321.4 kB / 422.5 MB, free: 7.473 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.0339, allocations: 0.7741 MB / 423.2 MB, free: 6.676 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.03395, allocations: 53.64 kB / 423.3 MB, free: 6.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.03416, allocations: 434.4 kB / 423.7 MB, free: 6.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.03439, allocations: 404.5 kB / 424.1 MB, free: 5.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.03466, allocations: 234.7 kB / 424.3 MB, free: 5.555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.03478, allocations: 365.8 kB / 424.7 MB, free: 5.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.03503, allocations: 142.5 kB / 424.8 MB, free: 5.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.03545, allocations: 0.5989 MB / 425.4 MB, free: 4.324 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.002101/0.03755, allocations: 1.432 MB / 426.9 MB, free: 2.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.03756, allocations: 4 kB / 426.9 MB, free: 2.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001022/0.03858, allocations: 0.7243 MB / 427.6 MB, free: 2.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.0386, allocations: 7.984 kB / 427.6 MB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.03861, allocations: 8.281 kB / 427.6 MB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.03903, allocations: 165.2 kB / 427.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.04034, allocations: 450.5 kB / 428.2 MB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005257/0.0456, allocations: 10.33 MB / 438.5 MB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/0.04636, allocations: 55.86 kB / 438.6 MB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.04643, allocations: 35.97 kB / 438.6 MB, free: 6.367 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.0003146/0.04674, allocations: 188.4 kB / 438.8 MB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.0469, allocations: 103.9 kB / 438.9 MB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.04812, allocations: 0.8022 MB / 439.7 MB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.04813, allocations: 15.98 kB / 439.7 MB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.04813, allocations: 4 kB / 439.7 MB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.04814, allocations: 7.984 kB / 439.7 MB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.05032, allocations: 1.305 MB / 441 MB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.05033, allocations: 4 kB / 441 MB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/0.0512, allocations: 346.5 kB / 441.4 MB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000728/0.05192, allocations: 266 kB / 441.6 MB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.05198, allocations: 35.98 kB / 441.7 MB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1764/0.2283, allocations: 12.65 MB / 454.3 MB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2283, allocations: 2.438 kB / 454.3 MB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.2302, allocations: 1.073 MB / 455.4 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.2305, allocations: 103 kB / 455.5 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.2306, allocations: 36.22 kB / 455.5 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.231, allocations: 36.52 kB / 455.6 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.2312, allocations: 107 kB / 455.7 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.2313, allocations: 28.25 kB / 455.7 MB, free: 47.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004276/0.2317, allocations: 403.4 kB / 456.1 MB, free: 47.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2317, allocations: 0 / 456.1 MB, free: 47.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001137/0.2328, allocations: 450.6 kB / 456.5 MB, free: 47.84 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.0004508/0.2333, allocations: 250.7 kB / 456.8 MB, free: 47.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.2352, allocations: 1.147 MB / 457.9 MB, free: 47.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.658e-05/0.2352, allocations: 14.25 kB / 458 MB, free: 47.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009685/0.2362, allocations: 0.9472 MB / 458.9 MB, free: 46.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006845/0.2369, allocations: 262.2 kB / 459.2 MB, free: 46.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.2397, allocations: 2.238 MB / 461.4 MB, free: 45.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.2398, allocations: 239.2 kB / 461.6 MB, free: 45.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006019/0.2404, allocations: 192.1 kB / 461.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/0.2411, allocations: 384.6 kB / 462.2 MB, free: 45.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.823e-06/0.2411, allocations: 0 / 462.2 MB, free: 45.78 MB / 410.7 MB Notification: Performance of Templates: time 0.02473/0.2659, allocations: 26.05 MB / 488.2 MB, free: 24.09 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleGenFrancis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.784443607088178]