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.001008/0.001008, allocations: 84.53 kB / 19.93 MB, free: 4.605 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.8848/0.8848, allocations: 177.1 MB / 200.2 MB, free: 5.941 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.001135/0.001135, allocations: 164.2 kB / 256.7 MB, free: 13.34 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.2896/0.2896, allocations: 80.25 MB / 393.4 MB, free: 2.453 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.02087/0.02087, allocations: 4.794 MB / 481.4 MB, free: 4.398 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.212e-06/1.212e-06, allocations: 0 / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.808e-05, allocations: 6.812 kB / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.003206/0.003224, allocations: 5.08 MB / 0.6506 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003504/0.006727, allocations: 3.143 MB / 0.6537 GB, free: 99.76 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.007127, allocations: 4 kB / 0.6537 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008483/0.007975, allocations: 0.9286 MB / 0.6546 GB, free: 98.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0006343/0.008609, allocations: 0.5195 MB / 0.6551 GB, free: 98.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.009765, allocations: 0.8493 MB / 0.6559 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008449/0.01061, allocations: 1.702 MB / 0.6576 GB, free: 95.74 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000608/0.01122, allocations: 0.6163 MB / 0.6582 GB, free: 95.11 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.01183, allocations: 0.908 MB / 0.6591 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004984/0.01233, allocations: 0.6114 MB / 0.6597 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.01248, allocations: 136 kB / 0.6598 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000533/0.01301, allocations: 0.5421 MB / 0.6603 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.01318, allocations: 346.6 kB / 0.6607 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.01344, allocations: 482.6 kB / 0.6611 GB, free: 92.1 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.01448, allocations: 1.791 MB / 0.6629 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.01448, allocations: 0 / 0.6629 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.263e-06/0.01448, allocations: 0 / 0.6629 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.0145, allocations: 0 / 0.6629 GB, free: 90.3 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.002059/0.01656, allocations: 1.797 MB / 0.6646 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.01659, allocations: 8.031 kB / 0.6646 GB, free: 88.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000753/0.01734, allocations: 247.9 kB / 0.6649 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.01798, allocations: 0.6301 MB / 0.6655 GB, free: 87.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.832e-05/0.01808, allocations: 189.3 kB / 0.6657 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.01818, allocations: 96.36 kB / 0.6658 GB, free: 87.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.01934, allocations: 1.413 MB / 0.6671 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.01936, allocations: 4.188 kB / 0.6671 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.01943, allocations: 40.12 kB / 0.6672 GB, free: 85.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.01944, allocations: 24 kB / 0.6672 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.0206, allocations: 0.9681 MB / 0.6682 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.02391, allocations: 3.197 MB / 0.6713 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.02491, allocations: 0.8051 MB / 0.6721 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004794/0.02539, allocations: 431 kB / 0.6725 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/0.02573, allocations: 128.8 kB / 0.6726 GB, free: 80.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.02575, allocations: 51.5 kB / 0.6726 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=105): time 2.315e-06/0.02576, allocations: 0 / 0.6726 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109): time 0.003592/0.02935, allocations: 2.803 MB / 0.6754 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.0294, allocations: 329.4 kB / 0.6757 GB, free: 76.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007048/0.0301, allocations: 0.956 MB / 0.6766 GB, free: 75.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.03015, allocations: 49.7 kB / 0.6767 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.03032, allocations: 0.5319 MB / 0.6772 GB, free: 75.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.03045, allocations: 400.6 kB / 0.6776 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.03067, allocations: 238.8 kB / 0.6778 GB, free: 74.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.258e-05/0.03071, allocations: 361.9 kB / 0.6781 GB, free: 74.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.03126, allocations: 446.4 kB / 0.6786 GB, free: 73.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/0.0319, allocations: 0.9035 MB / 0.6795 GB, free: 72.7 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.01135/0.04325, allocations: 5.492 MB / 0.6848 GB, free: 67.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.04325, allocations: 0 / 0.6848 GB, free: 67.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001687/0.04494, allocations: 1.467 MB / 0.6863 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.04496, allocations: 8.281 kB / 0.6863 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.04496, allocations: 7.984 kB / 0.6863 GB, free: 65.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.04532, allocations: 170.4 kB / 0.6864 GB, free: 65.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.04648, allocations: 399.4 kB / 0.6868 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/0.05033, allocations: 11.36 MB / 0.6979 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/0.05094, allocations: 60.09 kB / 0.698 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/0.051, allocations: 55.91 kB / 0.698 GB, free: 52.82 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.0002899/0.05129, allocations: 259 kB / 0.6983 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.0514, allocations: 115.2 kB / 0.6984 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.05308, allocations: 1.371 MB / 0.6997 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.05309, allocations: 12 kB / 0.6997 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.05309, allocations: 4 kB / 0.6997 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.0531, allocations: 3.984 kB / 0.6997 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.05536, allocations: 2.074 MB / 0.7018 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.05536, allocations: 4 kB / 0.7018 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007183/0.05608, allocations: 295.7 kB / 0.702 GB, free: 48.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005335/0.05661, allocations: 247.3 kB / 0.7023 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.05666, allocations: 31.88 kB / 0.7023 GB, free: 48.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003903/0.06056, allocations: 13.79 MB / 0.7158 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.06056, allocations: 8.094 kB / 0.7158 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.06273, allocations: 1.911 MB / 0.7176 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.06287, allocations: 127.2 kB / 0.7178 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.06298, allocations: 43.88 kB / 0.7178 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.06341, allocations: 47.97 kB / 0.7179 GB, free: 31.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.06356, allocations: 104.7 kB / 0.718 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.0636, allocations: 35.98 kB / 0.718 GB, free: 31.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000496/0.0641, allocations: 0.6725 MB / 0.7186 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.0641, allocations: 0 / 0.7186 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000894/0.06499, allocations: 451.5 kB / 0.7191 GB, free: 30.06 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.0003783/0.06537, allocations: 273.6 kB / 0.7193 GB, free: 29.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.06745, allocations: 1.592 MB / 0.7209 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.06745, allocations: 4.438 kB / 0.7209 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.06849, allocations: 1.129 MB / 0.722 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.06909, allocations: 227.1 kB / 0.7222 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.07135, allocations: 2.506 MB / 0.7247 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.07158, allocations: 0.5015 MB / 0.7252 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.07186, allocations: 112.4 kB / 0.7253 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/0.07187, allocations: 0 / 0.7253 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of Templates: time 0.03031/0.1022, allocations: 55.04 MB / 0.779 GB, free: 0.5352 MB / 0.5417 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: 8.58589301398024]