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.0006986/0.0006986, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000936/0.001635, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.914/0.914, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.15/1.064, allocations: 53.65 MB / 241.9 MB, free: 2.734 MB / 234.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.00076/0.00076, allocations: 152.4 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009835/0.001744, allocations: 475 kB / 243.2 MB, free: 1.43 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.427/0.427, allocations: 89.06 MB / 333 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04577/0.4728, allocations: 30.21 MB / 363.2 MB, free: 3.164 MB / 346.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.03182/0.03182, allocations: 4.793 MB / 368.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003376/0.0352, allocations: 1.933 MB / 370.7 MB, free: 11.89 MB / 362.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.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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.823e-06/1.823e-06, allocations: 0 / 372 MB, free: 10.58 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.04e-05, allocations: 2.312 kB / 372 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.007934/0.007954, allocations: 6.454 MB / 378.5 MB, free: 4.098 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00753/0.01548, allocations: 3.94 MB / 382.4 MB, free: 148 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007065/0.01619, allocations: 15.88 kB / 382.4 MB, free: 132 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.01729, allocations: 1.1 MB / 383.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.01844, allocations: 0.6945 MB / 384.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.0206, allocations: 1.738 MB / 386 MB, free: 12.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003137/0.02374, allocations: 4.856 MB / 390.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.02517, allocations: 1.108 MB / 391.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.02864, allocations: 2.668 MB / 394.6 MB, free: 3.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.03222, allocations: 4.065 MB / 398.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001515/0.03373, allocations: 0.8086 MB / 399.5 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.03565, allocations: 1.23 MB / 400.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002168/0.03782, allocations: 3.165 MB / 403.9 MB, free: 10.61 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003088/0.04091, allocations: 2.117 MB / 406 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006928/0.04783, allocations: 8.112 MB / 414.1 MB, free: 364 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.727e-05/0.04785, allocations: 0 / 414.1 MB, free: 364 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.04785, allocations: 0 / 414.1 MB, free: 364 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002106/0.04806, allocations: 0 / 414.1 MB, free: 364 kB / 394.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.01774/0.0658, allocations: 9.653 MB / 423.7 MB, free: 6.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.06584, allocations: 12.03 kB / 423.7 MB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.06865, allocations: 1.114 MB / 424.9 MB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/0.07246, allocations: 2.36 MB / 427.2 MB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/0.0729, allocations: 0.602 MB / 427.8 MB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.07405, allocations: 0.6487 MB / 428.5 MB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.08587, allocations: 7.12 MB / 435.6 MB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001497/0.08602, allocations: 11.92 kB / 435.6 MB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008058/0.08682, allocations: 268 kB / 435.9 MB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002943/0.08976, allocations: 1.517 MB / 437.4 MB, free: 8.707 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009105/0.09887, allocations: 3.148 MB / 440.5 MB, free: 5.539 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04256/0.1414, allocations: 20.76 MB / 461.3 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006563/0.148, allocations: 6.744 MB / 468 MB, free: 9.762 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/0.1502, allocations: 1.324 MB / 469.4 MB, free: 8.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006472/0.1509, allocations: 266 kB / 469.6 MB, free: 8.168 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.825e-05/0.1509, allocations: 116.7 kB / 469.7 MB, free: 8.043 MB / 458.7 MB Notification: Performance of pre-optimization done (n=787): time 9.227e-06/0.1509, allocations: 0 / 469.7 MB, free: 8.043 MB / 458.7 MB Notification: Performance of matching and sorting (n=807): time 0.0194/0.1703, allocations: 10.59 MB / 480.3 MB, free: 13.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.1704, allocations: 141.7 kB / 480.5 MB, free: 13.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.1714, allocations: 1.07 MB / 481.5 MB, free: 12.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006299/0.1721, allocations: 161.7 kB / 481.7 MB, free: 11.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.1732, allocations: 2.417 MB / 484.1 MB, free: 9.535 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001997/0.1752, allocations: 2.792 MB / 486.9 MB, free: 6.719 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/0.1769, allocations: 1.219 MB / 488.1 MB, free: 5.492 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.887e-05/0.177, allocations: 301.1 kB / 488.4 MB, free: 5.195 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.1786, allocations: 1.176 MB / 489.6 MB, free: 4.016 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.1809, allocations: 2.034 MB / 491.6 MB, free: 1.77 MB / 474.7 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.00901/0.1899, allocations: 7.022 MB / 498.6 MB, free: 10.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.1899, allocations: 0 / 498.6 MB, free: 10.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=945) (initialization): time 0.00802/0.1979, allocations: 4.574 MB / 0.4914 GB, free: 5.961 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.1979, allocations: 16.02 kB / 0.4914 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.198, allocations: 12 kB / 0.4914 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004848/0.2028, allocations: 2.062 MB / 0.4935 GB, free: 3.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007344/0.2102, allocations: 1.94 MB / 0.4953 GB, free: 1.906 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.194/0.4041, allocations: 17.45 MB / 0.5124 GB, free: 96.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/0.4078, allocations: 198.1 kB / 0.5126 GB, free: 96.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009543/0.4087, allocations: 219.1 kB / 0.5128 GB, free: 96.07 MB / 490.7 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.002578/0.4113, allocations: 0.4924 MB / 0.5133 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/0.4126, allocations: 485.2 kB / 0.5137 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.4234, allocations: 5.651 MB / 0.5192 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.38e-05/0.4235, allocations: 87.28 kB / 0.5193 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/0.4235, allocations: 3.938 kB / 0.5193 GB, free: 95.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.316e-05/0.4235, allocations: 46.12 kB / 0.5194 GB, free: 95.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/0.4421, allocations: 10.53 MB / 0.5297 GB, free: 92.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.271e-05/0.4421, allocations: 11.06 kB / 0.5297 GB, free: 92.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006274/0.4484, allocations: 1.869 MB / 0.5315 GB, free: 92.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005601/0.4489, allocations: 363 kB / 0.5318 GB, free: 92.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004766/0.4537, allocations: 1.76 MB / 0.5336 GB, free: 92.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007454/0.4544, allocations: 218.5 kB / 0.5338 GB, free: 92.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009649/0.4641, allocations: 16.49 MB / 0.5499 GB, free: 74.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-05/0.4641, allocations: 8 kB / 0.5499 GB, free: 74.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.4767, allocations: 7.032 MB / 0.5568 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008757/0.4775, allocations: 168 kB / 0.5569 GB, free: 67.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/0.4799, allocations: 180 kB / 0.5571 GB, free: 67.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001114/0.481, allocations: 0.6106 MB / 0.5577 GB, free: 66.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005575/0.4816, allocations: 203.8 kB / 0.5579 GB, free: 66.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004929/0.4821, allocations: 0.5202 MB / 0.5584 GB, free: 66.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4821, allocations: 0 / 0.5584 GB, free: 66.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004323/0.4864, allocations: 2.096 MB / 0.5604 GB, free: 64.04 MB / 490.7 MB 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.0009925/0.4874, allocations: 479.5 kB / 0.5609 GB, free: 63.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00768/0.495, allocations: 5.16 MB / 0.5659 GB, free: 58.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001326/0.4952, allocations: 80.5 kB / 0.566 GB, free: 58.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004075/0.4993, allocations: 3.394 MB / 0.5693 GB, free: 54.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/0.5024, allocations: 1.343 MB / 0.5706 GB, free: 53.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/0.5356, allocations: 14.96 MB / 0.5852 GB, free: 38.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.5371, allocations: 1.873 MB / 0.5871 GB, free: 36.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003784/0.5409, allocations: 0.7787 MB / 0.5878 GB, free: 35.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003161/0.5441, allocations: 1.085 MB / 0.5889 GB, free: 34.85 MB / 490.7 MB Notification: Performance of SimCode: time 2.104e-06/0.5441, allocations: 0 / 0.5889 GB, free: 34.85 MB / 490.7 MB Notification: Performance of Templates: time 0.1098/0.6539, allocations: 107.2 MB / 0.6936 GB, free: 8.438 MB / 0.5574 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.686203121207654]