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.0007104/0.0007104, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001738, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.9079/0.9079, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1724/1.08, allocations: 53.65 MB / 242 MB, free: 2.617 MB / 234.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.0008641/0.0008641, allocations: 159.4 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.002031, allocations: 482.4 kB / 243.4 MB, free: 1.289 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4694/0.4694, allocations: 89.19 MB / 333.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04986/0.5192, allocations: 30.22 MB / 363.5 MB, free: 3.074 MB / 346.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.02081/0.02081, allocations: 4.792 MB / 369.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005736/0.02654, allocations: 1.929 MB / 371 MB, free: 11.79 MB / 362.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.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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.443e-06/1.443e-06, allocations: 0 / 372.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.52e-05, allocations: 10.25 kB / 372.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.005336/0.005361, allocations: 5.59 MB / 377.9 MB, free: 4.875 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004262/0.009623, allocations: 3.353 MB / 381.3 MB, free: 1.512 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.01008, allocations: 11.94 kB / 381.3 MB, free: 1.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000932/0.01101, allocations: 0.9905 MB / 382.3 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007041/0.01171, allocations: 0.5001 MB / 382.8 MB, free: 0 / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.01304, allocations: 0.8336 MB / 383.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.01415, allocations: 1.677 MB / 385.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005387/0.01469, allocations: 0.5641 MB / 385.9 MB, free: 12.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008618/0.01555, allocations: 1.091 MB / 387 MB, free: 11.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005905/0.01615, allocations: 0.6192 MB / 387.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.01629, allocations: 136 kB / 387.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006844/0.01698, allocations: 0.5501 MB / 388.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.01715, allocations: 239.2 kB / 388.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.01745, allocations: 367.2 kB / 388.9 MB, free: 9.883 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.01854, allocations: 1.246 MB / 390.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.01856, allocations: 3.938 kB / 390.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01856, allocations: 0 / 390.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.01857, allocations: 0 / 390.1 MB, free: 8.629 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.002129/0.0207, allocations: 2.036 MB / 392.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.02073, allocations: 12.03 kB / 392.1 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009733/0.0217, allocations: 381.5 kB / 392.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.02223, allocations: 494.1 kB / 393 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.916e-05/0.02233, allocations: 181.4 kB / 393.2 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.02243, allocations: 108.3 kB / 393.3 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.02326, allocations: 1.104 MB / 394.4 MB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.02328, allocations: 4.125 kB / 394.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/0.02334, allocations: 44.12 kB / 394.4 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.02336, allocations: 24 kB / 394.5 MB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.02385, allocations: 381.6 kB / 394.8 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.02693, allocations: 2.381 MB / 397.2 MB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.02751, allocations: 0.4949 MB / 397.7 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.02772, allocations: 185.9 kB / 397.9 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.02802, allocations: 128.9 kB / 398 MB, free: 408 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.02804, allocations: 47.5 kB / 398.1 MB, free: 348 kB / 378.7 MB Notification: Performance of pre-optimization done (n=105): time 2.214e-06/0.02805, allocations: 0 / 398.1 MB, free: 348 kB / 378.7 MB Notification: Performance of matching and sorting (n=109): time 0.002478/0.03052, allocations: 1.618 MB / 399.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.03055, allocations: 64.41 kB / 399.7 MB, free: 14.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/0.03107, allocations: 0.7742 MB / 400.5 MB, free: 13.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.03112, allocations: 45.7 kB / 400.6 MB, free: 13.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.03128, allocations: 426.5 kB / 401 MB, free: 13.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.03146, allocations: 400.5 kB / 401.4 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.03168, allocations: 242.7 kB / 401.6 MB, free: 12.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.03177, allocations: 365.8 kB / 402 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.03197, allocations: 142.5 kB / 402.1 MB, free: 12.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.03235, allocations: 0.5988 MB / 402.7 MB, free: 11.47 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.001974/0.03433, allocations: 1.479 MB / 404.2 MB, free: 9.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.03433, allocations: 4 kB / 404.2 MB, free: 9.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.000912/0.03524, allocations: 0.7165 MB / 404.9 MB, free: 9.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.03526, allocations: 8 kB / 404.9 MB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.03527, allocations: 0 / 404.9 MB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/0.03567, allocations: 173.4 kB / 405.1 MB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.0369, allocations: 475.3 kB / 405.5 MB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004874/0.04177, allocations: 10.36 MB / 415.9 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007089/0.04248, allocations: 47.92 kB / 415.9 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.04253, allocations: 31.97 kB / 416 MB, free: 13.44 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.000265/0.0428, allocations: 184.4 kB / 416.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.04293, allocations: 103.9 kB / 416.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.04404, allocations: 0.8022 MB / 417.1 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.04404, allocations: 12 kB / 417.1 MB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.04405, allocations: 4 kB / 417.1 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.04406, allocations: 7.969 kB / 417.1 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.04602, allocations: 1.309 MB / 418.4 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.04603, allocations: 3.938 kB / 418.4 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008087/0.04684, allocations: 365 kB / 418.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.04698, allocations: 107.1 kB / 418.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006849/0.04767, allocations: 265.9 kB / 419.1 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.04772, allocations: 27.98 kB / 419.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005638/0.05335, allocations: 12.67 MB / 431.8 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.05336, allocations: 3.938 kB / 431.8 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.05474, allocations: 1.078 MB / 432.9 MB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.05487, allocations: 28 kB / 432.9 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.05526, allocations: 43.98 kB / 433 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.05541, allocations: 108.7 kB / 433.1 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.05545, allocations: 23.98 kB / 433.1 MB, free: 11.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003112/0.05576, allocations: 410.1 kB / 433.5 MB, free: 10.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05576, allocations: 0 / 433.5 MB, free: 10.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001015/0.05677, allocations: 447.5 kB / 433.9 MB, free: 10.43 MB / 426.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.0004125/0.05719, allocations: 263 kB / 434.2 MB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.05879, allocations: 1.179 MB / 435.4 MB, free: 8.953 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.238e-05/0.05882, allocations: 21.16 kB / 435.4 MB, free: 8.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009557/0.05978, allocations: 1.025 MB / 436.4 MB, free: 7.848 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.06127, allocations: 2.349 MB / 438.8 MB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008032/0.0693, allocations: 2.245 MB / 441 MB, free: 2.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.06947, allocations: 250.7 kB / 441.3 MB, free: 2.453 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000569/0.07004, allocations: 193.5 kB / 441.4 MB, free: 2.262 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007064/0.07074, allocations: 401 kB / 441.8 MB, free: 1.867 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/0.07075, allocations: 4 kB / 441.8 MB, free: 1.863 MB / 426.7 MB Notification: Performance of Templates: time 0.02929/0.1, allocations: 27.74 MB / 469.6 MB, free: 6.477 MB / 458.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.6426107520237565]