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.0008457/0.0008457, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.9429/0.9429, allocations: 177.1 MB / 200 MB, free: 5.832 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.001238/0.001238, allocations: 164.6 kB / 256.6 MB, free: 13.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.2931/0.2931, allocations: 80.24 MB / 393.4 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.02062/0.02062, allocations: 4.803 MB / 481.5 MB, free: 4.152 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.784e-06/1.784e-06, allocations: 0 / 0.5674 GB, free: 468 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.582e-05, allocations: 2.312 kB / 0.5674 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.006902/0.006928, allocations: 5.57 MB / 0.5728 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006578/0.01351, allocations: 3.277 MB / 0.576 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006807/0.01419, allocations: 7.938 kB / 0.576 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.01535, allocations: 0.9869 MB / 0.577 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000885/0.01624, allocations: 0.504 MB / 0.5775 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.01791, allocations: 0.8687 MB / 0.5783 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.01934, allocations: 1.699 MB / 0.58 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007832/0.02012, allocations: 0.6124 MB / 0.5806 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009555/0.02108, allocations: 0.908 MB / 0.5815 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007211/0.0218, allocations: 0.6192 MB / 0.5821 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.02201, allocations: 136 kB / 0.5822 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006849/0.02269, allocations: 0.5267 MB / 0.5827 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.02292, allocations: 358.5 kB / 0.5831 GB, free: 308 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.02332, allocations: 486.6 kB / 0.5835 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.02484, allocations: 1.409 MB / 0.5849 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.02484, allocations: 0 / 0.5849 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.322e-06/0.02484, allocations: 0 / 0.5849 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.02486, allocations: 0 / 0.5849 GB, free: 14.41 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.002432/0.02729, allocations: 1.901 MB / 0.5868 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.02732, allocations: 12.03 kB / 0.5868 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009469/0.02827, allocations: 339.7 kB / 0.5871 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.02902, allocations: 0.6374 MB / 0.5877 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.02913, allocations: 189.4 kB / 0.5879 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.02925, allocations: 96.38 kB / 0.588 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.03042, allocations: 1.219 MB / 0.5892 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.03045, allocations: 8.125 kB / 0.5892 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.03051, allocations: 40.12 kB / 0.5892 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.03053, allocations: 24 kB / 0.5893 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.03165, allocations: 0.5502 MB / 0.5898 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.03544, allocations: 3.416 MB / 0.5931 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009183/0.03636, allocations: 0.567 MB / 0.5937 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.03671, allocations: 250.5 kB / 0.5939 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003758/0.03709, allocations: 124.9 kB / 0.5941 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.03714, allocations: 66.31 kB / 0.5941 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=105): time 2.575e-06/0.03714, allocations: 0 / 0.5941 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109): time 0.00345/0.04059, allocations: 2.035 MB / 0.5961 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.04071, allocations: 325.4 kB / 0.5964 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.04188, allocations: 0.9069 MB / 0.5973 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.04193, allocations: 45.7 kB / 0.5973 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.04225, allocations: 0.5854 MB / 0.5979 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.04246, allocations: 400.6 kB / 0.5983 GB, free: 172 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1911/0.2336, allocations: 248.2 kB / 0.5985 GB, free: 166.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.2337, allocations: 0.5189 MB / 0.599 GB, free: 166 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.2342, allocations: 230.3 kB / 0.5993 GB, free: 166 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007498/0.235, allocations: 0.7427 MB / 0.6 GB, free: 165.5 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.003342/0.2383, allocations: 1.876 MB / 0.6018 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.2383, allocations: 0.6562 kB / 0.6018 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001984/0.2403, allocations: 1.075 MB / 0.6029 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.2403, allocations: 10.31 kB / 0.6029 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2403, allocations: 2.5 kB / 0.6029 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/0.241, allocations: 179.5 kB / 0.6031 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.2424, allocations: 385.9 kB / 0.6034 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00544/0.2478, allocations: 15.36 MB / 0.6184 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009117/0.2487, allocations: 54.64 kB / 0.6185 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.041e-05/0.2488, allocations: 49.97 kB / 0.6185 GB, free: 150.4 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.0003941/0.2492, allocations: 227.2 kB / 0.6187 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.2494, allocations: 152.3 kB / 0.6189 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.2516, allocations: 1.037 MB / 0.6199 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.2516, allocations: 12.59 kB / 0.6199 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.2516, allocations: 6.922 kB / 0.6199 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.2516, allocations: 5.531 kB / 0.6199 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.2542, allocations: 1.743 MB / 0.6216 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2542, allocations: 2.219 kB / 0.6216 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.255, allocations: 292.4 kB / 0.6219 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008934/0.2559, allocations: 277.6 kB / 0.6222 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.256, allocations: 28.8 kB / 0.6222 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005372/0.2614, allocations: 18.86 MB / 0.6406 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.2614, allocations: 2.688 kB / 0.6406 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.2639, allocations: 1.398 MB / 0.642 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.2642, allocations: 131.6 kB / 0.6421 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.2643, allocations: 29.34 kB / 0.6421 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.2648, allocations: 43.36 kB / 0.6422 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.265, allocations: 108.7 kB / 0.6423 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.2651, allocations: 37.77 kB / 0.6423 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006874/0.2658, allocations: 0.5929 MB / 0.6429 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2658, allocations: 2.125 kB / 0.6429 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001323/0.2671, allocations: 453 kB / 0.6433 GB, free: 129.6 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.0005102/0.2676, allocations: 271.9 kB / 0.6436 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002504/0.2701, allocations: 1.474 MB / 0.645 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.2701, allocations: 2.875 kB / 0.645 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.2713, allocations: 1.245 MB / 0.6462 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/0.2721, allocations: 263.3 kB / 0.6465 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.2753, allocations: 2.489 MB / 0.6489 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.2755, allocations: 238.6 kB / 0.6492 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006121/0.2761, allocations: 199 kB / 0.6493 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.2765, allocations: 129.1 kB / 0.6495 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.563e-06/0.2765, allocations: 0 / 0.6495 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.02704/0.3035, allocations: 25.44 MB / 0.6743 GB, free: 103.8 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.598750303965062]