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.0006276/0.0006276, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008236/0.001451, 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.8648/0.8648, allocations: 177.2 MB / 188.2 MB, free: 4.484 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1463/1.011, 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.0007826/0.0007826, allocations: 159.9 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.001947, allocations: 478.8 kB / 243.2 MB, free: 1.422 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.4607/0.4607, allocations: 89.07 MB / 333 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04515/0.5058, allocations: 30.21 MB / 363.2 MB, free: 3.188 MB / 346.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.02011/0.02011, allocations: 4.794 MB / 368.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002833/0.02294, allocations: 1.928 MB / 370.7 MB, free: 11.9 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.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.764e-06/1.764e-06, allocations: 0 / 372 MB, free: 10.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.157e-06/1.092e-05, allocations: 2.312 kB / 372 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.004153/0.004164, allocations: 5.57 MB / 377.6 MB, free: 5.004 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.007823, allocations: 3.361 MB / 380.9 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.008072, allocations: 11.94 kB / 380.9 MB, free: 1.621 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008831/0.008955, allocations: 0.9866 MB / 381.9 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006052/0.00956, allocations: 0.5001 MB / 382.4 MB, free: 128 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.01059, allocations: 0.8336 MB / 383.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.01162, allocations: 1.673 MB / 384.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007124/0.01233, allocations: 0.568 MB / 385.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.0134, allocations: 1.099 MB / 386.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007232/0.01412, allocations: 0.6192 MB / 387.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.0143, allocations: 136 kB / 387.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/0.01505, allocations: 0.5501 MB / 387.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.01527, allocations: 227.2 kB / 388.1 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.01566, allocations: 363.2 kB / 388.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.0171, allocations: 1.253 MB / 389.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-05/0.01712, allocations: 0 / 389.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01712, allocations: 4 kB / 389.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.01714, allocations: 0 / 389.7 MB, free: 8.75 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.002696/0.01984, allocations: 2.036 MB / 391.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.01987, allocations: 8.031 kB / 391.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.02101, allocations: 377.5 kB / 392.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006589/0.02167, allocations: 0.4981 MB / 392.7 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.02179, allocations: 185.4 kB / 392.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.02192, allocations: 104.3 kB / 392.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.02297, allocations: 1.108 MB / 394 MB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.02299, allocations: 192 / 394 MB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/0.02306, allocations: 44.06 kB / 394.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.02308, allocations: 24 kB / 394.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.02372, allocations: 373.6 kB / 394.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.02749, allocations: 2.381 MB / 396.9 MB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.02818, allocations: 0.4988 MB / 397.4 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.02844, allocations: 189.9 kB / 397.5 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/0.02877, allocations: 128.9 kB / 397.7 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.0288, allocations: 43.56 kB / 397.7 MB, free: 468 kB / 378.7 MB Notification: Performance of pre-optimization done (n=105): time 2.756e-06/0.0288, allocations: 4 kB / 397.7 MB, free: 464 kB / 378.7 MB Notification: Performance of matching and sorting (n=109): time 0.002717/0.03152, allocations: 1.505 MB / 399.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.03155, allocations: 64.41 kB / 399.3 MB, free: 14.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006642/0.03221, allocations: 0.7664 MB / 400 MB, free: 14.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.03227, allocations: 49.7 kB / 400.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.03247, allocations: 430.4 kB / 400.5 MB, free: 13.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.03269, allocations: 400.5 kB / 400.9 MB, free: 13.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.03299, allocations: 242.7 kB / 401.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.03308, allocations: 349.8 kB / 401.5 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.03335, allocations: 146.5 kB / 401.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.03381, allocations: 0.6066 MB / 402.2 MB, free: 11.7 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.002346/0.03615, allocations: 1.44 MB / 403.7 MB, free: 10.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.03616, allocations: 0 / 403.7 MB, free: 10.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001133/0.03729, allocations: 0.7206 MB / 404.4 MB, free: 9.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.0373, allocations: 7.938 kB / 404.4 MB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.03731, allocations: 4 kB / 404.4 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004774/0.03779, allocations: 173.2 kB / 404.6 MB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.03945, allocations: 467.3 kB / 405 MB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005549/0.045, allocations: 10.35 MB / 415.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006005/0.0456, allocations: 51.91 kB / 415.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/0.04567, allocations: 35.98 kB / 415.5 MB, free: 13.71 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.0002315/0.0459, allocations: 186.8 kB / 415.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.04605, allocations: 99.91 kB / 415.7 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.0474, allocations: 0.7983 MB / 416.5 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.04741, allocations: 12 kB / 416.6 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.04741, allocations: 4 kB / 416.6 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.04742, allocations: 4.094 kB / 416.6 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.04964, allocations: 1.309 MB / 417.9 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.04964, allocations: 4 kB / 417.9 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.05076, allocations: 371.7 kB / 418.2 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.05091, allocations: 115.1 kB / 418.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008579/0.05177, allocations: 262.2 kB / 418.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.05183, allocations: 23.98 kB / 418.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006182/0.05801, allocations: 12.68 MB / 431.3 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.05802, allocations: 3.938 kB / 431.3 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.05984, allocations: 1.086 MB / 432.4 MB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.05996, allocations: 24 kB / 432.4 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.06043, allocations: 39.98 kB / 432.5 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.06059, allocations: 108.7 kB / 432.6 MB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.06064, allocations: 20 kB / 432.6 MB, free: 11.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000336/0.06097, allocations: 406.1 kB / 433 MB, free: 11.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06097, allocations: 0 / 433 MB, free: 11.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000808/0.06178, allocations: 451.5 kB / 433.4 MB, free: 10.7 MB / 426.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.0003542/0.06214, allocations: 254.7 kB / 433.7 MB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.0637, allocations: 1.181 MB / 434.9 MB, free: 9.234 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.529e-05/0.06374, allocations: 21.53 kB / 434.9 MB, free: 9.211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008691/0.06461, allocations: 0.9594 MB / 435.8 MB, free: 8.191 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006598/0.06527, allocations: 351.5 kB / 436.2 MB, free: 7.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008635/0.0739, allocations: 2.269 MB / 438.4 MB, free: 5.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.07432, allocations: 246.6 kB / 438.7 MB, free: 5.254 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005349/0.07485, allocations: 201.1 kB / 438.9 MB, free: 5.055 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006839/0.07554, allocations: 377.1 kB / 439.3 MB, free: 4.684 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.07554, allocations: 0 / 439.3 MB, free: 4.684 MB / 426.7 MB Notification: Performance of Templates: time 0.02615/0.1017, allocations: 26.88 MB / 466.1 MB, free: 10.14 MB / 458.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.679499636404216]