Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.SimpleGenFrancis.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.001291/0.001291, 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 0.958/0.958, allocations: 177.2 MB / 200.3 MB, free: 5.371 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.001136/0.001136, allocations: 174.8 kB / 257 MB, free: 12.82 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.3735/0.3735, allocations: 80.23 MB / 340.5 MB, free: 9.547 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.0207/0.0207, allocations: 4.782 MB / 375.3 MB, free: 7.148 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.SimpleGenFrancis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleGenFrancis") translateModel(OpenHPL.Examples.SimpleGenFrancis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleGenFrancis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 394.9 MB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.523e-05, allocations: 6.312 kB / 394.9 MB, free: 3.523 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.004279/0.004295, allocations: 5.508 MB / 400.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.008046, allocations: 3.346 MB / 403.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.008368, allocations: 4 kB / 403.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.009408, allocations: 0.9789 MB / 404.8 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006906/0.0101, allocations: 0.5156 MB / 405.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.01128, allocations: 0.8609 MB / 406.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.01238, allocations: 1.698 MB / 407.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005839/0.01297, allocations: 0.6655 MB / 408.5 MB, free: 5.859 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000726/0.01369, allocations: 0.9118 MB / 409.4 MB, free: 4.945 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006176/0.01431, allocations: 0.6192 MB / 410.1 MB, free: 4.324 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.01447, allocations: 132 kB / 410.2 MB, free: 4.195 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005798/0.01505, allocations: 0.5344 MB / 410.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002158/0.01527, allocations: 342.6 kB / 411 MB, free: 3.324 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.01562, allocations: 490.6 kB / 411.5 MB, free: 2.844 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.01679, allocations: 1.421 MB / 412.9 MB, free: 1.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.01679, allocations: 0 / 412.9 MB, free: 1.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.0168, allocations: 0 / 412.9 MB, free: 1.418 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.0168, allocations: 0 / 412.9 MB, free: 1.418 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.002112/0.01892, allocations: 1.752 MB / 414.7 MB, free: 15.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.01895, allocations: 8.031 kB / 414.7 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000806/0.01975, allocations: 308.4 kB / 415 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.02029, allocations: 494.1 kB / 415.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.864e-05/0.02039, allocations: 185.4 kB / 415.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.0205, allocations: 104.3 kB / 415.8 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.02135, allocations: 1.108 MB / 416.9 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.02137, allocations: 4.188 kB / 416.9 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.02143, allocations: 40.12 kB / 416.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.02145, allocations: 24 kB / 417 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005217/0.02197, allocations: 369.6 kB / 417.3 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.02524, allocations: 2.389 MB / 419.7 MB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.02581, allocations: 0.4988 MB / 420.2 MB, free: 9.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.02604, allocations: 186.3 kB / 420.4 MB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.02633, allocations: 124.9 kB / 420.5 MB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.02636, allocations: 59.55 kB / 420.6 MB, free: 9.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=105): time 2.084e-06/0.02636, allocations: 0 / 420.6 MB, free: 9.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=109): time 0.002242/0.0286, allocations: 1.49 MB / 422.1 MB, free: 7.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.0287, allocations: 321.4 kB / 422.4 MB, free: 7.578 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.02923, allocations: 0.778 MB / 423.1 MB, free: 6.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.02928, allocations: 45.7 kB / 423.2 MB, free: 6.727 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.02946, allocations: 434.4 kB / 423.6 MB, free: 6.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.02964, allocations: 404.4 kB / 424 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.02988, allocations: 242.7 kB / 424.2 MB, free: 5.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.02997, allocations: 361.8 kB / 424.6 MB, free: 5.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.03019, allocations: 150.5 kB / 424.7 MB, free: 5.148 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.0308, allocations: 0.595 MB / 425.3 MB, free: 4.426 MB / 394.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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: penstock.Vdot = penstock.Vdot_0 (discharge.Vdot_0 = penstock.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = surgeTank.Vdot_0 ($START.intake.Vdot - discharge.Vdot_0 = surgeTank.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.03251, allocations: 1.436 MB / 426.8 MB, free: 2.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.03251, allocations: 0 / 426.8 MB, free: 2.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0009368/0.03345, allocations: 0.7282 MB / 427.5 MB, free: 2.223 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.03347, allocations: 4.281 kB / 427.5 MB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.03347, allocations: 8 kB / 427.5 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.03387, allocations: 161.2 kB / 427.7 MB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.03496, allocations: 387.4 kB / 428.1 MB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/0.03972, allocations: 10.32 MB / 438.4 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.04023, allocations: 43.98 kB / 438.4 MB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.04028, allocations: 39.97 kB / 438.5 MB, free: 6.551 MB / 410.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: intake.Vdot = intake.Vdot_0 penstock.Vdot = penstock.Vdot_0 surgeTank.Vdot = surgeTank.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * 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): 2 systems {(1,11,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.0405, allocations: 188.7 kB / 438.6 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.04063, allocations: 103.8 kB / 438.7 MB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.04198, allocations: 0.8022 MB / 439.5 MB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.04199, allocations: 15.98 kB / 439.6 MB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.042, allocations: 4 kB / 439.6 MB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.042, allocations: 3.984 kB / 439.6 MB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.04365, allocations: 1.313 MB / 440.9 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.04365, allocations: 0 / 440.9 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.04435, allocations: 283.9 kB / 441.2 MB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006923/0.04504, allocations: 269.9 kB / 441.4 MB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.04508, allocations: 28 kB / 441.4 MB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.166/0.2111, allocations: 12.64 MB / 454.1 MB, free: 48.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2111, allocations: 1.719 kB / 454.1 MB, free: 48.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.2129, allocations: 1.07 MB / 455.2 MB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.213, allocations: 107.5 kB / 455.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.2131, allocations: 33.39 kB / 455.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.2135, allocations: 38.22 kB / 455.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.2137, allocations: 101.9 kB / 455.4 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.2138, allocations: 25.62 kB / 455.5 MB, free: 48.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003584/0.2141, allocations: 408.7 kB / 455.9 MB, free: 48.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2141, allocations: 1.312 kB / 455.9 MB, free: 48.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001053/0.2152, allocations: 447.5 kB / 456.3 MB, free: 48.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (reservoir.m,intake.mdot,discharge.mdot,tail.m,generator.DELTA,generator.EEd,generator.EEq,generator.Ef,generator.Vstabilizer,generator.w,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 (109): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 2 systems {(1,1,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003858/0.2156, allocations: 251 kB / 456.5 MB, free: 48.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.2173, allocations: 1.151 MB / 457.7 MB, free: 47.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.84e-05/0.2173, allocations: 12.22 kB / 457.7 MB, free: 47.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008707/0.2182, allocations: 0.9468 MB / 458.7 MB, free: 47.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.2187, allocations: 270.3 kB / 458.9 MB, free: 47.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.2211, allocations: 2.224 MB / 461.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2212, allocations: 241.6 kB / 461.4 MB, free: 46.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005226/0.2217, allocations: 195.3 kB / 461.6 MB, free: 46.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006247/0.2224, allocations: 375.3 kB / 461.9 MB, free: 46.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.2224, allocations: 0.5469 kB / 461.9 MB, free: 46.1 MB / 410.7 MB Notification: Performance of Templates: time 0.02272/0.2451, allocations: 25.71 MB / 487.6 MB, free: 24.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.SimpleGenFrancis.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.SimpleGenFrancis.pipe ; mkfifo OpenHPL_OpenHPL.Examples.SimpleGenFrancis.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.SimpleGenFrancis.pipe >> ../files/OpenHPL_OpenHPL.Examples.SimpleGenFrancis.sim & ./OpenHPL_OpenHPL.Examples.SimpleGenFrancis -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleGenFrancis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.591077444143593]