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.00114/0.00114, allocations: 80.94 kB / 19.94 MB, free: 4.543 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 1.008/1.008, allocations: 177.2 MB / 200.3 MB, free: 5.699 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.001133/0.001133, allocations: 160.7 kB / 257 MB, free: 12.98 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.4431/0.4431, allocations: 80.24 MB / 340.5 MB, free: 9.684 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.02122/0.02122, allocations: 4.785 MB / 375.3 MB, free: 7.172 MB / 346.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.323e-06/1.323e-06, allocations: 3.938 kB / 395 MB, free: 3.492 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.653e-05, allocations: 2.312 kB / 395 MB, free: 3.488 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.005868/0.005884, allocations: 6.431 MB / 401.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004468/0.01035, allocations: 3.928 MB / 405.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.01068, allocations: 15.94 kB / 405.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.01172, allocations: 1.099 MB / 406.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000905/0.01263, allocations: 0.7024 MB / 407.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.01443, allocations: 1.766 MB / 408.9 MB, free: 5.477 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.01713, allocations: 4.819 MB / 413.8 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.01823, allocations: 1.458 MB / 415.2 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.01995, allocations: 2.477 MB / 417.7 MB, free: 12.68 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.02278, allocations: 4.067 MB / 421.8 MB, free: 8.609 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008184/0.0236, allocations: 0.8086 MB / 422.6 MB, free: 7.801 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.0249, allocations: 1.241 MB / 423.8 MB, free: 6.559 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002142/0.02704, allocations: 3.742 MB / 427.6 MB, free: 2.809 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002422/0.02946, allocations: 2.943 MB / 430.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006127/0.03559, allocations: 9.292 MB / 439.8 MB, free: 6.543 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.03559, allocations: 0 / 439.8 MB, free: 6.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.0356, allocations: 4 kB / 439.8 MB, free: 6.539 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001105/0.03571, allocations: 4 kB / 439.8 MB, free: 6.535 MB / 410.7 MB 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.3097/0.3454, allocations: 8.321 MB / 448.1 MB, free: 54.94 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.3454, allocations: 10.05 kB / 448.1 MB, free: 54.94 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.3481, allocations: 1.043 MB / 449.2 MB, free: 54.94 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/0.3513, allocations: 2.352 MB / 451.5 MB, free: 54.35 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003579/0.3517, allocations: 0.6009 MB / 452.1 MB, free: 54 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.3527, allocations: 0.6495 MB / 452.8 MB, free: 53.79 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008415/0.3611, allocations: 7.124 MB / 459.9 MB, free: 51.72 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.3612, allocations: 11.48 kB / 459.9 MB, free: 51.71 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006329/0.3619, allocations: 270.5 kB / 460.2 MB, free: 51.51 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002742/0.3646, allocations: 1.522 MB / 461.7 MB, free: 50.26 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005814/0.3704, allocations: 3.133 MB / 464.8 MB, free: 47.12 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02752/0.3979, allocations: 20.66 MB / 485.5 MB, free: 27.46 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/0.4029, allocations: 6.737 MB / 492.2 MB, free: 20.82 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.4044, allocations: 1.322 MB / 493.5 MB, free: 19.5 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/0.405, allocations: 261.3 kB / 493.8 MB, free: 19.25 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.4051, allocations: 124.1 kB / 493.9 MB, free: 19.12 MB / 410.8 MB Notification: Performance of pre-optimization done (n=787): time 8.606e-06/0.4051, allocations: 0 / 493.9 MB, free: 19.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=807): time 0.01683/0.4219, allocations: 10.59 MB / 0.4927 GB, free: 8.555 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.422, allocations: 365.1 kB / 0.493 GB, free: 8.129 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006666/0.4226, allocations: 1.074 MB / 0.4941 GB, free: 7.047 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003505/0.423, allocations: 157.7 kB / 0.4942 GB, free: 6.887 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005122/0.4235, allocations: 2.413 MB / 0.4966 GB, free: 4.445 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009899/0.4245, allocations: 2.803 MB / 0.4993 GB, free: 1.617 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.4259, allocations: 1.215 MB / 0.5005 GB, free: 408 kB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.46e-05/0.4259, allocations: 305.1 kB / 0.5008 GB, free: 100 kB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.4277, allocations: 1.176 MB / 0.502 GB, free: 14.91 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/0.4299, allocations: 2.034 MB / 0.5039 GB, free: 12.67 MB / 426.8 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.00873/0.4386, allocations: 7.027 MB / 0.5108 GB, free: 5.488 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.4386, allocations: 4 kB / 0.5108 GB, free: 5.484 MB / 426.8 MB Notification: Performance of matching and sorting (n=945) (initialization): time 0.007707/0.4463, allocations: 4.558 MB / 0.5153 GB, free: 0.8789 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4463, allocations: 8 kB / 0.5153 GB, free: 0.8711 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.4464, allocations: 11.98 kB / 0.5153 GB, free: 0.8594 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005092/0.4514, allocations: 2.063 MB / 0.5173 GB, free: 14.77 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005168/0.4566, allocations: 1.744 MB / 0.519 GB, free: 13.03 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.4693, allocations: 17.45 MB / 0.536 GB, free: 10.58 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.4719, allocations: 192 kB / 0.5362 GB, free: 10.39 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004124/0.4723, allocations: 219.8 kB / 0.5364 GB, free: 10.18 MB / 458.8 MB 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[1,1],penstock.KP.boundaryCon[1,2],penstock.KP.boundaryCon[2,1],penstock.KP.boundaryCon[2,2]) * 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.001855/0.4741, allocations: 499.2 kB / 0.5369 GB, free: 9.676 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/0.4753, allocations: 487.6 kB / 0.5374 GB, free: 9.199 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008323/0.4836, allocations: 5.643 MB / 0.5429 GB, free: 3.508 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.232e-05/0.4836, allocations: 88 kB / 0.543 GB, free: 3.422 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4836, allocations: 0 / 0.543 GB, free: 3.422 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-05/0.4837, allocations: 43.83 kB / 0.543 GB, free: 3.379 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.4998, allocations: 10.53 MB / 0.5533 GB, free: 8.641 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.4998, allocations: 8.938 kB / 0.5533 GB, free: 8.633 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004539/0.5043, allocations: 1.694 MB / 0.555 GB, free: 6.941 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00407/0.5084, allocations: 1.768 MB / 0.5567 GB, free: 5.156 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005132/0.5089, allocations: 215.8 kB / 0.5569 GB, free: 4.945 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00992/0.5188, allocations: 16.48 MB / 0.573 GB, free: 3.496 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.5188, allocations: 11.94 kB / 0.573 GB, free: 3.484 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/0.5298, allocations: 7.017 MB / 0.5798 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006538/0.5305, allocations: 369.1 kB / 0.5802 GB, free: 11.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006041/0.5311, allocations: 168 kB / 0.5804 GB, free: 11.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001873/0.5329, allocations: 184 kB / 0.5805 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/0.534, allocations: 0.6106 MB / 0.5811 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000421/0.5344, allocations: 199.8 kB / 0.5813 GB, free: 10.71 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0004736/0.5349, allocations: 0.5194 MB / 0.5818 GB, free: 10.19 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5349, allocations: 0 / 0.5818 GB, free: 10.19 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00365/0.5385, allocations: 2.097 MB / 0.5839 GB, free: 8.09 MB / 0.4949 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.000946/0.5395, allocations: 471.4 kB / 0.5843 GB, free: 7.617 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007162/0.5467, allocations: 5.145 MB / 0.5893 GB, free: 2.387 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.199e-05/0.5467, allocations: 23.62 kB / 0.5894 GB, free: 2.367 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00368/0.5504, allocations: 3.398 MB / 0.5927 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/0.5532, allocations: 0.9993 MB / 0.5937 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.5693, allocations: 14.21 MB / 0.6075 GB, free: 15.47 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.5707, allocations: 1.827 MB / 0.6093 GB, free: 13.62 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.003098/0.5738, allocations: 0.7748 MB / 0.6101 GB, free: 12.84 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004463/0.5783, allocations: 1.085 MB / 0.6111 GB, free: 11.75 MB / 0.5262 GB Notification: Performance of SimCode: time 1.493e-06/0.5783, allocations: 0 / 0.6111 GB, free: 11.75 MB / 0.5262 GB Notification: Performance of Templates: time 0.2662/0.8445, allocations: 105.6 MB / 0.7143 GB, free: 117.3 MB / 0.5418 GB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 46.92168793315068]