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.0008874/0.0008874, allocations: 88.22 kB / 20.43 MB, free: 4.141 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.9563/0.9563, allocations: 177.1 MB / 200.8 MB, free: 5.594 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.001693/0.001693, allocations: 160.6 kB / 257.4 MB, free: 13 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.2759/0.2759, allocations: 80.25 MB / 394.2 MB, free: 2.18 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.02083/0.02083, allocations: 4.801 MB / 482.3 MB, free: 4.168 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 1.492e-06/1.492e-06, allocations: 0 / 0.5674 GB, free: 1.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.813e-05, allocations: 2.312 kB / 0.5674 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.00477/0.004788, allocations: 5.566 MB / 0.5728 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004027/0.008815, allocations: 3.277 MB / 0.576 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.009123, allocations: 11.94 kB / 0.576 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.01018, allocations: 0.983 MB / 0.577 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007344/0.01091, allocations: 0.5 MB / 0.5775 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.01211, allocations: 0.8727 MB / 0.5783 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.01342, allocations: 1.691 MB / 0.58 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.01456, allocations: 0.6202 MB / 0.5806 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009891/0.01555, allocations: 0.9118 MB / 0.5815 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006954/0.01624, allocations: 0.6192 MB / 0.5821 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.01639, allocations: 132 kB / 0.5822 GB, free: 2 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000712/0.01711, allocations: 0.5344 MB / 0.5827 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.01736, allocations: 346.6 kB / 0.5831 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.01772, allocations: 490.6 kB / 0.5835 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.01889, allocations: 1.409 MB / 0.5849 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.0189, allocations: 0 / 0.5849 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.32e-07/0.0189, allocations: 4 kB / 0.5849 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.01891, allocations: 0 / 0.5849 GB, free: 15.23 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.002296/0.0212, allocations: 1.897 MB / 0.5868 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.02124, allocations: 12.03 kB / 0.5868 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009184/0.02216, allocations: 331.8 kB / 0.5871 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.02331, allocations: 0.6451 MB / 0.5877 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.02343, allocations: 185.4 kB / 0.5879 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.02354, allocations: 100.4 kB / 0.588 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.02465, allocations: 1.215 MB / 0.5892 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.02467, allocations: 192 / 0.5892 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/0.02474, allocations: 48.12 kB / 0.5892 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.02476, allocations: 24 kB / 0.5892 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008486/0.02561, allocations: 0.5424 MB / 0.5898 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.02905, allocations: 3.424 MB / 0.5931 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008407/0.02989, allocations: 0.5592 MB / 0.5937 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.03025, allocations: 254.5 kB / 0.5939 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003444/0.03059, allocations: 128.8 kB / 0.594 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.03062, allocations: 58.33 kB / 0.5941 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=105): time 2.124e-06/0.03063, allocations: 0 / 0.5941 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109): time 0.003445/0.03407, allocations: 2.035 MB / 0.5961 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.03418, allocations: 337.4 kB / 0.5964 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/0.03494, allocations: 0.8992 MB / 0.5973 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.03499, allocations: 45.7 kB / 0.5973 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.03528, allocations: 0.5893 MB / 0.5979 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.03547, allocations: 400.6 kB / 0.5983 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.03574, allocations: 244.5 kB / 0.5985 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.03587, allocations: 0.5238 MB / 0.599 GB, free: 216 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1815/0.2174, allocations: 228.2 kB / 0.5992 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008623/0.2183, allocations: 0.7372 MB / 0.5999 GB, free: 160.3 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.003049/0.2213, allocations: 1.882 MB / 0.6018 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2213, allocations: 0 / 0.6018 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001799/0.2231, allocations: 1.076 MB / 0.6028 GB, free: 160 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2231, allocations: 5.797 kB / 0.6028 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2231, allocations: 4.312 kB / 0.6028 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.2237, allocations: 183.2 kB / 0.603 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.225, allocations: 389.8 kB / 0.6034 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004604/0.2296, allocations: 15.36 MB / 0.6184 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00071/0.2303, allocations: 53.81 kB / 0.6184 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/0.2304, allocations: 49.72 kB / 0.6185 GB, free: 145.2 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.0002619/0.2306, allocations: 232.7 kB / 0.6187 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.2308, allocations: 150.9 kB / 0.6189 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.2325, allocations: 1.034 MB / 0.6199 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2325, allocations: 12.19 kB / 0.6199 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2325, allocations: 3 kB / 0.6199 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.2325, allocations: 5.625 kB / 0.6199 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.235, allocations: 1.748 MB / 0.6216 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.235, allocations: 2.312 kB / 0.6216 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008387/0.2358, allocations: 292.7 kB / 0.6219 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008967/0.2367, allocations: 283.8 kB / 0.6221 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.2368, allocations: 27.72 kB / 0.6222 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/0.2418, allocations: 18.86 MB / 0.6406 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2418, allocations: 2.641 kB / 0.6406 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.2439, allocations: 1.401 MB / 0.642 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.2441, allocations: 127.4 kB / 0.6421 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.2442, allocations: 34.27 kB / 0.6421 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.2446, allocations: 46.41 kB / 0.6422 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.2448, allocations: 108.2 kB / 0.6423 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.2449, allocations: 37.66 kB / 0.6423 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006324/0.2455, allocations: 0.5941 MB / 0.6429 GB, free: 125 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2455, allocations: 0 / 0.6429 GB, free: 125 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001211/0.2467, allocations: 451.1 kB / 0.6433 GB, free: 125 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.0004643/0.2472, allocations: 268.9 kB / 0.6436 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.2495, allocations: 1.446 MB / 0.645 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.2495, allocations: 2.281 kB / 0.645 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.2506, allocations: 1.219 MB / 0.6462 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.2514, allocations: 262.8 kB / 0.6464 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.2544, allocations: 2.427 MB / 0.6488 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.2547, allocations: 0.5068 MB / 0.6493 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.255, allocations: 113 kB / 0.6494 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/0.255, allocations: 0 / 0.6494 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.02838/0.2834, allocations: 55.03 MB / 0.7031 GB, free: 70.91 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 > OpenHPL_OpenHPL.Examples.SimpleGenFrancis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.894817417021841]