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.001502/0.001502, allocations: 88.52 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.9045/0.9045, allocations: 177.2 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.001246/0.001246, allocations: 152.6 kB / 256.7 MB, free: 13.35 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.2942/0.2942, allocations: 80.25 MB / 393.4 MB, free: 2.426 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.02062/0.02062, allocations: 4.796 MB / 481.4 MB, free: 4.375 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.052e-06/1.052e-06, allocations: 1.312 kB / 0.6457 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.417e-05, allocations: 3.062 kB / 0.6457 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGenFrancis): time 0.003507/0.003521, allocations: 5.9 MB / 0.6514 GB, free: 102 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003519/0.00704, allocations: 3.715 MB / 0.655 GB, free: 98.33 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003362/0.007376, allocations: 15.94 kB / 0.6551 GB, free: 98.31 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008943/0.008271, allocations: 1.026 MB / 0.6561 GB, free: 97.28 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0008147/0.009085, allocations: 0.7179 MB / 0.6568 GB, free: 96.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.01067, allocations: 1.773 MB / 0.6585 GB, free: 94.78 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001818/0.01249, allocations: 4.827 MB / 0.6632 GB, free: 89.95 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.01373, allocations: 1.37 MB / 0.6645 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.01519, allocations: 2.465 MB / 0.667 GB, free: 86.08 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.01732, allocations: 4.253 MB / 0.6711 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0008803/0.0182, allocations: 0.8359 MB / 0.6719 GB, free: 80.99 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.01926, allocations: 1.238 MB / 0.6731 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00142/0.02068, allocations: 3.793 MB / 0.6768 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.02229, allocations: 3.001 MB / 0.6798 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005466/0.02776, allocations: 14.04 MB / 0.6935 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.02776, allocations: 4 kB / 0.6935 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.123e-06/0.02776, allocations: 0 / 0.6935 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001278/0.02789, allocations: 0 / 0.6935 GB, free: 58.87 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.01703/0.04491, allocations: 9.155 MB / 0.7024 GB, free: 49.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.04495, allocations: 8.031 kB / 0.7024 GB, free: 49.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.04631, allocations: 0.8472 MB / 0.7033 GB, free: 48.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/0.04962, allocations: 3.288 MB / 0.7065 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.04984, allocations: 0.5981 MB / 0.7071 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007168/0.05056, allocations: 0.6409 MB / 0.7077 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.0619, allocations: 15.26 MB / 0.7226 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.059e-05/0.06199, allocations: 7.953 kB / 0.7226 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005234/0.06251, allocations: 268 kB / 0.7228 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002149/0.06466, allocations: 1.532 MB / 0.7243 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.07913, allocations: 15.77 MB / 0.7397 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03688/0.116, allocations: 33.25 MB / 0.7722 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/0.1272, allocations: 12.37 MB / 0.7843 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005023/0.1322, allocations: 5.189 MB / 0.7894 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006093/0.1328, allocations: 222 kB / 0.7896 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.63e-05/0.1329, allocations: 116.7 kB / 0.7897 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=787): time 8.265e-06/0.1329, allocations: 0 / 0.7897 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of matching and sorting (n=807): time 0.04803/0.1809, allocations: 31.96 MB / 0.8209 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.1811, allocations: 377 kB / 0.8212 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.1828, allocations: 1.397 MB / 0.8226 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004516/0.1833, allocations: 157.7 kB / 0.8228 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.1845, allocations: 2.548 MB / 0.8253 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001725/0.1862, allocations: 2.812 MB / 0.828 GB, free: 252 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3602/0.5464, allocations: 1.402 MB / 0.8294 GB, free: 163.4 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.5464, allocations: 305.7 kB / 0.8297 GB, free: 163.1 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006606/0.553, allocations: 5.16 MB / 0.8347 GB, free: 161.8 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007317/0.5603, allocations: 6.226 MB / 0.8408 GB, free: 159.3 MB / 0.5887 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.09584/0.6562, allocations: 50.58 MB / 0.8902 GB, free: 113.2 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/0.6562, allocations: 7.75 kB / 0.8902 GB, free: 113.2 MB / 0.5887 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.01796/0.6741, allocations: 14.16 MB / 0.904 GB, free: 99.21 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.6742, allocations: 8 kB / 0.904 GB, free: 99.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.6742, allocations: 12.06 kB / 0.904 GB, free: 99.19 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003057/0.6773, allocations: 1.733 MB / 0.9057 GB, free: 97.45 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005818/0.6831, allocations: 1.771 MB / 0.9074 GB, free: 95.68 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/0.701, allocations: 27.55 MB / 0.9343 GB, free: 67.21 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/0.7051, allocations: 375.7 kB / 0.9347 GB, free: 66.84 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008233/0.7059, allocations: 291.8 kB / 0.935 GB, free: 66.56 MB / 0.5887 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.003291/0.7092, allocations: 2.527 MB / 0.9374 GB, free: 64.03 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007361/0.7099, allocations: 376 kB / 0.9378 GB, free: 63.86 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/0.7256, allocations: 15.13 MB / 0.9526 GB, free: 48.73 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.7256, allocations: 88 kB / 0.9527 GB, free: 48.64 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.7256, allocations: 0 / 0.9527 GB, free: 48.64 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.082e-05/0.7257, allocations: 43.83 kB / 0.9527 GB, free: 48.6 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02763/0.7533, allocations: 24.53 MB / 0.9767 GB, free: 24.18 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.7533, allocations: 11.98 kB / 0.9767 GB, free: 24.16 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004786/0.7581, allocations: 1.713 MB / 0.9784 GB, free: 22.45 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.761, allocations: 1.518 MB / 0.9798 GB, free: 20.92 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007546/0.7617, allocations: 231.8 kB / 0.9801 GB, free: 20.69 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.7756, allocations: 23.73 MB / 1.003 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.7756, allocations: 11.94 kB / 1.003 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02978/0.8054, allocations: 22.6 MB / 1.025 GB, free: 5.164 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007752/0.8062, allocations: 411.4 kB / 1.026 GB, free: 4.777 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/0.8077, allocations: 166.2 kB / 1.026 GB, free: 4.617 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/0.8107, allocations: 375.6 kB / 1.026 GB, free: 4.25 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001299/0.812, allocations: 0.6146 MB / 1.027 GB, free: 3.633 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006297/0.8126, allocations: 275.8 kB / 1.027 GB, free: 3.363 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.00102/0.8136, allocations: 0.9223 MB / 1.028 GB, free: 2.438 MB / 0.6199 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8136, allocations: 1.094 kB / 1.028 GB, free: 2.438 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.004574/0.8182, allocations: 2.096 MB / 1.03 GB, free: 376 kB / 0.6199 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.00118/0.8194, allocations: 495 kB / 1.031 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0172/0.8366, allocations: 13.02 MB / 1.043 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.8366, allocations: 4 kB / 1.043 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.009723/0.8463, allocations: 7.14 MB / 1.05 GB, free: 11.61 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.8491, allocations: 0.6255 MB / 1.051 GB, free: 10.98 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02422/0.8734, allocations: 20 MB / 1.07 GB, free: 6.848 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003171/0.8765, allocations: 3.98 MB / 1.074 GB, free: 2.84 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003597/0.8801, allocations: 0.5938 MB / 1.075 GB, free: 2.246 MB / 0.6668 GB Notification: Performance of SimCode: time 1.753e-06/0.8801, allocations: 3.062 kB / 1.075 GB, free: 2.246 MB / 0.6668 GB Notification: Performance of Templates: time 0.5909/1.471, allocations: 345.7 MB / 1.412 GB, free: 177.4 MB / 0.6824 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 > OpenHPL_OpenHPL.Examples.DetailedGenFrancis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 55.53051342070103]