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.001736/0.001736, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 1.555/1.555, allocations: 177.1 MB / 199.4 MB, free: 5.957 MB / 186.7 MB " [Timeout remaining time 178] 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.002086/0.002086, allocations: 156 kB / 255.9 MB, free: 13.36 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.5122/0.5122, allocations: 80.26 MB / 392.6 MB, free: 2.445 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.04002/0.04002, allocations: 4.791 MB / 480.6 MB, free: 4.418 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.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 2.525e-06/2.525e-06, allocations: 4 kB / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.953e-05, allocations: 2.281 kB / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.004575/0.004605, allocations: 5.096 MB / 0.6506 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00493/0.009535, allocations: 3.123 MB / 0.6537 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006868/0.01022, allocations: 7.938 kB / 0.6537 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.01176, allocations: 0.9323 MB / 0.6546 GB, free: 98.04 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.01291, allocations: 0.504 MB / 0.6551 GB, free: 97.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.01471, allocations: 0.8726 MB / 0.656 GB, free: 96.66 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.01607, allocations: 1.698 MB / 0.6576 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007366/0.01681, allocations: 0.6086 MB / 0.6582 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008966/0.01771, allocations: 0.9118 MB / 0.6591 GB, free: 93.42 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007248/0.01843, allocations: 0.6153 MB / 0.6597 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.0186, allocations: 136 kB / 0.6598 GB, free: 92.67 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009357/0.01954, allocations: 0.5344 MB / 0.6604 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.01977, allocations: 346.6 kB / 0.6607 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.02018, allocations: 486.5 kB / 0.6611 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.02174, allocations: 1.791 MB / 0.6629 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.02175, allocations: 0 / 0.6629 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/0.02175, allocations: 0 / 0.6629 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.02177, allocations: 3.938 kB / 0.6629 GB, free: 89.52 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: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.003438/0.0252, allocations: 1.79 MB / 0.6646 GB, free: 87.67 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.02525, allocations: 12.03 kB / 0.6647 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.0267, allocations: 247.9 kB / 0.6649 GB, free: 87.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009/0.0276, allocations: 0.6378 MB / 0.6655 GB, free: 86.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.02773, allocations: 185.4 kB / 0.6657 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.02786, allocations: 92.38 kB / 0.6658 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.02948, allocations: 1.413 MB / 0.6672 GB, free: 84.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.02952, allocations: 4.125 kB / 0.6672 GB, free: 84.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-05/0.02961, allocations: 44.12 kB / 0.6672 GB, free: 84.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.02962, allocations: 28 kB / 0.6672 GB, free: 84.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.03134, allocations: 0.9681 MB / 0.6682 GB, free: 83.87 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005324/0.03666, allocations: 3.186 MB / 0.6713 GB, free: 80.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.03815, allocations: 0.8052 MB / 0.6721 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007013/0.03885, allocations: 434.9 kB / 0.6725 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/0.03945, allocations: 124.9 kB / 0.6726 GB, free: 79.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.03948, allocations: 51.5 kB / 0.6727 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=105): time 4.068e-06/0.03948, allocations: 0 / 0.6727 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109): time 0.005818/0.0453, allocations: 2.803 MB / 0.6754 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.04537, allocations: 321.4 kB / 0.6757 GB, free: 75.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.04641, allocations: 0.956 MB / 0.6766 GB, free: 74.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.04648, allocations: 49.7 kB / 0.6767 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.04672, allocations: 0.5397 MB / 0.6772 GB, free: 74.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.0469, allocations: 396.5 kB / 0.6776 GB, free: 74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.04725, allocations: 242.8 kB / 0.6778 GB, free: 73.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.04732, allocations: 349.9 kB / 0.6782 GB, free: 73.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000805/0.04812, allocations: 458.3 kB / 0.6786 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00094/0.04906, allocations: 0.9035 MB / 0.6795 GB, free: 71.93 MB / 0.5105 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) 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.02293/0.07199, allocations: 5.499 MB / 0.6848 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.07199, allocations: 0 / 0.6848 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002689/0.07468, allocations: 1.459 MB / 0.6863 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.0747, allocations: 4 kB / 0.6863 GB, free: 64.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.07471, allocations: 4 kB / 0.6863 GB, free: 64.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006442/0.07536, allocations: 182.5 kB / 0.6865 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.07782, allocations: 391.5 kB / 0.6868 GB, free: 64.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006815/0.08463, allocations: 11.37 MB / 0.6979 GB, free: 52.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.08614, allocations: 56 kB / 0.698 GB, free: 52.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.08624, allocations: 51.97 kB / 0.698 GB, free: 52.05 MB / 0.5105 GB 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.0004317/0.08667, allocations: 251 kB / 0.6983 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.08686, allocations: 123.2 kB / 0.6984 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.08979, allocations: 1.374 MB / 0.6997 GB, free: 50.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.0898, allocations: 12 kB / 0.6997 GB, free: 50.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.0898, allocations: 4 kB / 0.6997 GB, free: 50.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.08982, allocations: 7.969 kB / 0.6998 GB, free: 50.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/0.09368, allocations: 2.078 MB / 0.7018 GB, free: 48.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.09368, allocations: 4.188 kB / 0.7018 GB, free: 48.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.09517, allocations: 291.6 kB / 0.7021 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.09633, allocations: 247.2 kB / 0.7023 GB, free: 47.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.656e-05/0.09641, allocations: 35.92 kB / 0.7023 GB, free: 47.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007115/0.1035, allocations: 13.78 MB / 0.7158 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1035, allocations: 4.031 kB / 0.7158 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004156/0.1077, allocations: 1.931 MB / 0.7177 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.1081, allocations: 127.1 kB / 0.7178 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.1083, allocations: 31.95 kB / 0.7178 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009456/0.1093, allocations: 51.95 kB / 0.7179 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.1095, allocations: 108.7 kB / 0.718 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.396e-05/0.1096, allocations: 35.98 kB / 0.718 GB, free: 30.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007481/0.1103, allocations: 0.6725 MB / 0.7187 GB, free: 29.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1103, allocations: 0 / 0.7187 GB, free: 29.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00136/0.1117, allocations: 459.5 kB / 0.7191 GB, free: 29.27 MB / 0.5105 GB 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.0005121/0.1122, allocations: 265.8 kB / 0.7194 GB, free: 29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003855/0.116, allocations: 1.618 MB / 0.7209 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.116, allocations: 0 / 0.7209 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.118, allocations: 1.164 MB / 0.7221 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.1192, allocations: 224.8 kB / 0.7223 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.1226, allocations: 2.55 MB / 0.7248 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.123, allocations: 0.5435 MB / 0.7253 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000897/0.1239, allocations: 204.9 kB / 0.7255 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.1243, allocations: 124.4 kB / 0.7256 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.212e-06/0.1243, allocations: 0 / 0.7256 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.03218/0.1564, allocations: 23.8 MB / 0.7489 GB, free: 14.96 MB / 0.5261 GB " [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: 8.856339894235134]