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.000925/0.000925, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.9666/0.9666, allocations: 177.2 MB / 201.2 MB, free: 5.18 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.001072/0.001072, allocations: 160.6 kB / 257.9 MB, free: 12.8 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.4165/0.4165, allocations: 80.23 MB / 341.4 MB, free: 9.027 MB / 314.7 MB " [Timeout remaining time 180] 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.02055/0.02055, allocations: 4.791 MB / 376.2 MB, free: 6.945 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 3.095e-06/3.095e-06, allocations: 4 kB / 396 MB, free: 3.207 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/2.098e-05, allocations: 2.312 kB / 396 MB, free: 3.203 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.007266/0.007287, allocations: 6.425 MB / 402.4 MB, free: 12.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007186/0.01447, allocations: 3.92 MB / 406.3 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006869/0.01516, allocations: 19.88 kB / 406.3 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.01706, allocations: 1.099 MB / 407.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.01879, allocations: 0.7102 MB / 408.1 MB, free: 6.961 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.02161, allocations: 1.762 MB / 409.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004115/0.02572, allocations: 4.819 MB / 414.7 MB, free: 384 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.0276, allocations: 1.466 MB / 416.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.02983, allocations: 2.481 MB / 418.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00329/0.03312, allocations: 4.067 MB / 422.7 MB, free: 8.316 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001359/0.03448, allocations: 0.8086 MB / 423.5 MB, free: 7.508 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.03629, allocations: 1.23 MB / 424.8 MB, free: 6.277 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002701/0.03899, allocations: 3.753 MB / 428.5 MB, free: 2.516 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004909/0.0439, allocations: 2.939 MB / 431.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.05449, allocations: 9.292 MB / 440.8 MB, free: 6.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.0545, allocations: 0 / 440.8 MB, free: 6.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.0545, allocations: 8 kB / 440.8 MB, free: 6.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005629/0.05507, allocations: 0 / 440.8 MB, free: 6.246 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.3452/0.4002, allocations: 8.322 MB / 449.1 MB, free: 54.87 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.4003, allocations: 10.06 kB / 449.1 MB, free: 54.87 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/0.4026, allocations: 1.042 MB / 450.1 MB, free: 54.87 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.4055, allocations: 2.353 MB / 452.5 MB, free: 54.39 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.4059, allocations: 0.5987 MB / 453.1 MB, free: 54.04 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008303/0.4067, allocations: 0.6528 MB / 453.7 MB, free: 53.83 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006864/0.4136, allocations: 7.125 MB / 460.9 MB, free: 51.67 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.62e-05/0.4137, allocations: 7.578 kB / 460.9 MB, free: 51.66 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004502/0.4141, allocations: 270.8 kB / 461.1 MB, free: 51.46 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001943/0.416, allocations: 1.518 MB / 462.7 MB, free: 50.18 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004192/0.4202, allocations: 3.137 MB / 465.8 MB, free: 47.03 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02241/0.4426, allocations: 20.66 MB / 486.5 MB, free: 27.22 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004825/0.4475, allocations: 6.729 MB / 493.2 MB, free: 20.58 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.449, allocations: 1.327 MB / 494.5 MB, free: 19.25 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005274/0.4495, allocations: 261.5 kB / 494.8 MB, free: 19 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.4495, allocations: 112.7 kB / 494.9 MB, free: 18.88 MB / 410.8 MB Notification: Performance of pre-optimization done (n=787): time 8.406e-06/0.4495, allocations: 4 kB / 494.9 MB, free: 18.88 MB / 410.8 MB Notification: Performance of matching and sorting (n=807): time 0.02147/0.471, allocations: 10.6 MB / 0.4936 GB, free: 8.293 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.4711, allocations: 369.1 kB / 0.494 GB, free: 7.863 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009452/0.472, allocations: 1.077 MB / 0.495 GB, free: 6.781 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008638/0.4729, allocations: 157.7 kB / 0.4952 GB, free: 6.621 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006611/0.4736, allocations: 2.413 MB / 0.4976 GB, free: 4.18 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001765/0.4753, allocations: 2.799 MB / 0.5003 GB, free: 1.355 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.4767, allocations: 1.211 MB / 0.5015 GB, free: 140 kB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.4768, allocations: 301.1 kB / 0.5018 GB, free: 15.84 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.4786, allocations: 1.173 MB / 0.5029 GB, free: 14.66 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.4807, allocations: 2.034 MB / 0.5049 GB, free: 12.42 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.00928/0.49, allocations: 7.021 MB / 0.5117 GB, free: 5.242 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-05/0.49, allocations: 4 kB / 0.5117 GB, free: 5.238 MB / 426.8 MB Notification: Performance of matching and sorting (n=945) (initialization): time 0.00813/0.4982, allocations: 4.574 MB / 0.5162 GB, free: 0.6172 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.4982, allocations: 8 kB / 0.5162 GB, free: 0.6094 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.4982, allocations: 8 kB / 0.5162 GB, free: 0.6016 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004608/0.5028, allocations: 2.063 MB / 0.5182 GB, free: 14.51 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006286/0.5091, allocations: 1.748 MB / 0.52 GB, free: 12.76 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.5212, allocations: 17.45 MB / 0.537 GB, free: 10.32 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/0.5248, allocations: 192 kB / 0.5372 GB, free: 10.13 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008299/0.5256, allocations: 219.8 kB / 0.5374 GB, free: 9.918 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.002295/0.5279, allocations: 0.5005 MB / 0.5379 GB, free: 9.406 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009052/0.5288, allocations: 479.6 kB / 0.5383 GB, free: 8.938 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008457/0.5373, allocations: 5.647 MB / 0.5438 GB, free: 3.242 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/0.5373, allocations: 88 kB / 0.5439 GB, free: 3.156 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.5374, allocations: 0 / 0.5439 GB, free: 3.156 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.939e-05/0.5374, allocations: 39.84 kB / 0.544 GB, free: 3.117 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.5547, allocations: 10.54 MB / 0.5543 GB, free: 8.375 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/0.5547, allocations: 11.98 kB / 0.5543 GB, free: 8.363 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00464/0.5593, allocations: 1.679 MB / 0.5559 GB, free: 6.684 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003985/0.5633, allocations: 1.774 MB / 0.5576 GB, free: 4.898 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001157/0.5645, allocations: 211.8 kB / 0.5578 GB, free: 4.691 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/0.5747, allocations: 16.47 MB / 0.5739 GB, free: 3.242 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.5747, allocations: 11.94 kB / 0.5739 GB, free: 3.23 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.5874, allocations: 7.025 MB / 0.5808 GB, free: 11.96 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/0.588, allocations: 369.1 kB / 0.5811 GB, free: 11.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008433/0.5889, allocations: 172 kB / 0.5813 GB, free: 11.43 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.5908, allocations: 176 kB / 0.5815 GB, free: 11.26 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/0.5919, allocations: 0.6145 MB / 0.5821 GB, free: 10.64 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004427/0.5923, allocations: 203.8 kB / 0.5823 GB, free: 10.45 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0005218/0.5928, allocations: 0.5155 MB / 0.5828 GB, free: 9.926 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.5928, allocations: 0 / 0.5828 GB, free: 9.926 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.004188/0.597, allocations: 2.097 MB / 0.5848 GB, free: 7.828 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.0009772/0.598, allocations: 470.4 kB / 0.5853 GB, free: 7.359 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007332/0.6053, allocations: 5.147 MB / 0.5903 GB, free: 2.125 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.232e-05/0.6054, allocations: 26.12 kB / 0.5903 GB, free: 2.102 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004485/0.6098, allocations: 3.393 MB / 0.5936 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/0.6132, allocations: 0.9864 MB / 0.5946 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/0.6302, allocations: 14.21 MB / 0.6085 GB, free: 15.22 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.632, allocations: 1.827 MB / 0.6103 GB, free: 13.37 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.003926/0.6359, allocations: 0.7822 MB / 0.611 GB, free: 12.59 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003071/0.6389, allocations: 1.081 MB / 0.6121 GB, free: 11.5 MB / 0.5262 GB Notification: Performance of SimCode: time 1.163e-06/0.639, allocations: 0 / 0.6121 GB, free: 11.5 MB / 0.5262 GB Notification: Performance of Templates: time 0.2889/0.9279, allocations: 105.6 MB / 0.7152 GB, free: 116.9 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 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 31.765781050547957]