Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.DetailedGenFrancis.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.001796/0.001796, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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 1.549/1.549, allocations: 177.1 MB / 199.4 MB, free: 5.945 MB / 186.7 MB " [Timeout remaining time 178] 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.00204/0.00204, allocations: 171.6 kB / 256 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.5069/0.5069, allocations: 80.25 MB / 392.6 MB, free: 2.418 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.03858/0.03858, allocations: 4.793 MB / 480.6 MB, free: 4.422 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.DetailedGenFrancis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.DetailedGenFrancis") translateModel(OpenHPL.Examples.DetailedGenFrancis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.DetailedGenFrancis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.354e-05, allocations: 6 kB / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.004858/0.004882, allocations: 5.904 MB / 0.6515 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005296/0.01018, allocations: 3.704 MB / 0.6551 GB, free: 97.58 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006866/0.01086, allocations: 15.94 kB / 0.6551 GB, free: 97.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.01235, allocations: 1.045 MB / 0.6561 GB, free: 96.51 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.01379, allocations: 0.7023 MB / 0.6568 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.01652, allocations: 1.777 MB / 0.6585 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003106/0.01963, allocations: 4.812 MB / 0.6632 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.02124, allocations: 1.374 MB / 0.6646 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.02337, allocations: 2.473 MB / 0.667 GB, free: 85.33 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003448/0.02681, allocations: 4.245 MB / 0.6711 GB, free: 81.08 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001478/0.02829, allocations: 0.8359 MB / 0.6719 GB, free: 80.24 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.03026, allocations: 1.249 MB / 0.6732 GB, free: 78.99 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.03257, allocations: 3.789 MB / 0.6769 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003784/0.03635, allocations: 3.005 MB / 0.6798 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.04657, allocations: 14.03 MB / 0.6935 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.04657, allocations: 0 / 0.6935 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.04657, allocations: 0 / 0.6935 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003051/0.04688, allocations: 0 / 0.6935 GB, free: 58.12 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: 2369 * Number of variables: 2369 Notification: Performance of Generate backend data structure: time 0.04656/0.09344, allocations: 9.159 MB / 0.7024 GB, free: 48.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.09349, allocations: 16.03 kB / 0.7025 GB, free: 48.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006036/0.09953, allocations: 0.8394 MB / 0.7033 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.1107, allocations: 3.276 MB / 0.7065 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006822/0.1113, allocations: 0.5981 MB / 0.7071 GB, free: 44.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003752/0.1151, allocations: 0.6487 MB / 0.7077 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04453/0.1596, allocations: 15.26 MB / 0.7226 GB, free: 28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003658/0.16, allocations: 15.94 kB / 0.7226 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00305/0.163, allocations: 268 kB / 0.7229 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008561/0.1716, allocations: 1.521 MB / 0.7244 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04625/0.2178, allocations: 15.79 MB / 0.7398 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08831/0.3061, allocations: 33.24 MB / 0.7722 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0248/0.3309, allocations: 12.37 MB / 0.7843 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01195/0.3429, allocations: 5.185 MB / 0.7894 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/0.3449, allocations: 218 kB / 0.7896 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.3451, allocations: 120.7 kB / 0.7897 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=787): time 2.055e-05/0.3451, allocations: 4 kB / 0.7897 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of matching and sorting (n=807): time 0.09063/0.4357, allocations: 31.96 MB / 0.8209 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003007/0.436, allocations: 365.1 kB / 0.8213 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.439, allocations: 1.405 MB / 0.8226 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001617/0.4406, allocations: 157.7 kB / 0.8228 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002331/0.4429, allocations: 2.548 MB / 0.8253 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.2368/0.6797, allocations: 2.807 MB / 0.828 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005933/0.6857, allocations: 1.412 MB / 0.8294 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.6857, allocations: 305 kB / 0.8297 GB, free: 164.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008399/0.6941, allocations: 5.161 MB / 0.8347 GB, free: 163.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009534/0.7036, allocations: 6.217 MB / 0.8408 GB, free: 160.9 MB / 0.5886 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.1741/0.8777, allocations: 50.58 MB / 0.8902 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.022e-05/0.8778, allocations: 4 kB / 0.8902 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.03249/0.9103, allocations: 14.16 MB / 0.904 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.9103, allocations: 8 kB / 0.904 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/0.9103, allocations: 12.06 kB / 0.904 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006049/0.9164, allocations: 1.73 MB / 0.9057 GB, free: 98.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/0.927, allocations: 1.771 MB / 0.9075 GB, free: 97.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02979/0.9568, allocations: 27.56 MB / 0.9344 GB, free: 68.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006249/0.9631, allocations: 375.7 kB / 0.9347 GB, free: 68.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002577/0.9657, allocations: 292.5 kB / 0.935 GB, free: 67.99 MB / 0.5886 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: intake.Vdot = intake.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 4 (penstock.KP.boundaryCon[2,2],penstock.KP.boundaryCon[2,1],penstock.KP.boundaryCon[1,2],penstock.KP.boundaryCon[1,1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 871 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 6 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,26), (1,21), (1,1), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.005847/0.9715, allocations: 2.523 MB / 0.9375 GB, free: 65.46 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/0.9731, allocations: 377.6 kB / 0.9378 GB, free: 65.26 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03436/1.007, allocations: 15.14 MB / 0.9526 GB, free: 50.09 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.467e-05/1.008, allocations: 88 kB / 0.9527 GB, free: 50.01 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.037e-05/1.008, allocations: 0 / 0.9527 GB, free: 50.01 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001758/1.008, allocations: 44.59 kB / 0.9527 GB, free: 49.96 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05131/1.059, allocations: 24.53 MB / 0.9767 GB, free: 25.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.061e-05/1.059, allocations: 8 kB / 0.9767 GB, free: 25.47 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009675/1.069, allocations: 1.709 MB / 0.9784 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005732/1.075, allocations: 1.526 MB / 0.9799 GB, free: 22.22 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001875/1.076, allocations: 223.8 kB / 0.9801 GB, free: 22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02465/1.101, allocations: 23.74 MB / 1.003 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/1.101, allocations: 8 kB / 1.003 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05563/1.157, allocations: 22.6 MB / 1.025 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.158, allocations: 409.1 kB / 1.026 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002342/1.16, allocations: 164 kB / 1.026 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006067/1.166, allocations: 371.6 kB / 1.026 GB, free: 5.414 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002925/1.169, allocations: 0.6185 MB / 1.027 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001725/1.171, allocations: 279.8 kB / 1.027 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001874/1.173, allocations: 0.9146 MB / 1.028 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/1.173, allocations: 0 / 1.028 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.008049/1.181, allocations: 2.101 MB / 1.03 GB, free: 1.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 30 (reservoir.m,intake.mdot,tail.m,generator.DELTA,generator.EEd,generator.EEq,generator.Ef,generator.Vstabilizer,generator.w,penstock.U[1],penstock.U[2],penstock.U[3],penstock.U[4],penstock.U[5],penstock.U[6],penstock.U[7],penstock.U[8],penstock.U[9],penstock.U[10],penstock.U[11],penstock.U[12],penstock.U[13],penstock.U[14],penstock.U[15],penstock.U[16],penstock.U[17],penstock.U[18],penstock.U[19],penstock.U[20],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 (854): * Single equations (assignments): 843 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,28), (1,23), (1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002424/1.183, allocations: 494.2 kB / 1.031 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.03074/1.214, allocations: 13.04 MB / 1.043 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.817e-05/1.214, allocations: 8 kB / 1.043 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01671/1.231, allocations: 7.17 MB / 1.05 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005938/1.237, allocations: 0.627 MB / 1.051 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04202/1.279, allocations: 19.53 MB / 1.07 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008862/1.287, allocations: 4.021 MB / 1.074 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.01345/1.301, allocations: 3.857 MB / 1.078 GB, free: 436 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2286/1.53, allocations: 0.5467 MB / 1.078 GB, free: 220.1 MB / 0.6667 GB Notification: Performance of SimCode: time 1.603e-06/1.53, allocations: 0 / 1.078 GB, free: 220.1 MB / 0.6667 GB Notification: Performance of Templates: time 0.1224/1.652, allocations: 98.15 MB / 1.174 GB, free: 148.1 MB / 0.6667 GB " [Timeout remaining time 658] make -j1 -f OpenHPL_OpenHPL.Examples.DetailedGenFrancis.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe ; mkfifo OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe >> ../files/OpenHPL_OpenHPL.Examples.DetailedGenFrancis.sim & ./OpenHPL_OpenHPL.Examples.DetailedGenFrancis -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 85.39528283569962]