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.00104/0.00104, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.046/1.046, allocations: 177.2 MB / 200 MB, free: 5.844 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.001527/0.001527, allocations: 156.7 kB / 256.6 MB, free: 13.16 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.3083/0.3083, allocations: 80.23 MB / 393.4 MB, free: 2.203 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.02414/0.02414, allocations: 4.8 MB / 481.5 MB, free: 4.145 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 1.583e-06/1.583e-06, allocations: 0 / 0.5674 GB, free: 464 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.527e-05, allocations: 9.828 kB / 0.5674 GB, free: 456 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.005732/0.005767, allocations: 5.555 MB / 0.5728 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00607/0.01184, allocations: 3.281 MB / 0.576 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007528/0.01259, allocations: 7.938 kB / 0.576 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.01402, allocations: 0.9868 MB / 0.577 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.01514, allocations: 0.5079 MB / 0.5775 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.01724, allocations: 0.8609 MB / 0.5783 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.01905, allocations: 1.703 MB / 0.58 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.02024, allocations: 0.6202 MB / 0.5806 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.02158, allocations: 0.9041 MB / 0.5815 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009362/0.02252, allocations: 0.6231 MB / 0.5821 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003287/0.02285, allocations: 136 kB / 0.5822 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.02391, allocations: 0.5344 MB / 0.5827 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.02419, allocations: 346.6 kB / 0.5831 GB, free: 308 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005864/0.02477, allocations: 490.5 kB / 0.5835 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.02678, allocations: 1.401 MB / 0.5849 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.02679, allocations: 0 / 0.5849 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.332e-06/0.02679, allocations: 3.938 kB / 0.5849 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.196e-05/0.02683, allocations: 0 / 0.5849 GB, free: 14.41 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.003293/0.03012, allocations: 1.901 MB / 0.5868 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.03018, allocations: 12.03 kB / 0.5868 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.03134, allocations: 339.6 kB / 0.5871 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/0.03224, allocations: 0.6296 MB / 0.5877 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.0324, allocations: 189.4 kB / 0.5879 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.03254, allocations: 96.38 kB / 0.588 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.03395, allocations: 1.219 MB / 0.5892 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.03397, allocations: 8.125 kB / 0.5892 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/0.03405, allocations: 40.12 kB / 0.5892 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.03407, allocations: 24 kB / 0.5893 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.03511, allocations: 0.5463 MB / 0.5898 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/0.03955, allocations: 3.439 MB / 0.5931 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.04057, allocations: 0.5475 MB / 0.5937 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.04094, allocations: 246.5 kB / 0.5939 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004206/0.04136, allocations: 132.9 kB / 0.594 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.0414, allocations: 58.33 kB / 0.5941 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=105): time 2.545e-06/0.0414, allocations: 4 kB / 0.5941 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109): time 0.003501/0.0449, allocations: 2.035 MB / 0.5961 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.04503, allocations: 325.4 kB / 0.5964 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.04591, allocations: 0.9108 MB / 0.5973 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.04596, allocations: 45.7 kB / 0.5973 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.0463, allocations: 0.5815 MB / 0.5979 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.04652, allocations: 396.6 kB / 0.5983 GB, free: 184 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2306/0.2772, allocations: 247.2 kB / 0.5985 GB, free: 166.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2773, allocations: 0.521 MB / 0.599 GB, free: 166 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/0.2779, allocations: 229.3 kB / 0.5992 GB, free: 166 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007069/0.2786, allocations: 0.7439 MB / 0.6 GB, free: 165.5 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.003621/0.2822, allocations: 1.883 MB / 0.6018 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.2822, allocations: 4.906 kB / 0.6018 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002167/0.2844, allocations: 1.071 MB / 0.6029 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.2844, allocations: 6.75 kB / 0.6029 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2844, allocations: 3.156 kB / 0.6029 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006971/0.2851, allocations: 184.7 kB / 0.603 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.2866, allocations: 393.5 kB / 0.6034 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006378/0.293, allocations: 15.35 MB / 0.6184 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.2939, allocations: 56.36 kB / 0.6185 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.153e-05/0.294, allocations: 51.23 kB / 0.6185 GB, free: 150.3 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.0003621/0.2943, allocations: 233.1 kB / 0.6187 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.2945, allocations: 149.2 kB / 0.6189 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.2966, allocations: 1.031 MB / 0.6199 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.2966, allocations: 12.22 kB / 0.6199 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2966, allocations: 6.438 kB / 0.6199 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.2966, allocations: 8.562 kB / 0.6199 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.2995, allocations: 1.74 MB / 0.6216 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.2995, allocations: 3.484 kB / 0.6216 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000901/0.3004, allocations: 291.5 kB / 0.6219 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.3014, allocations: 279.3 kB / 0.6222 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/0.3015, allocations: 28.42 kB / 0.6222 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00624/0.3078, allocations: 18.87 MB / 0.6406 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3078, allocations: 1.578 kB / 0.6406 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.3104, allocations: 1.402 MB / 0.642 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.3107, allocations: 133.5 kB / 0.6421 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.3109, allocations: 26.11 kB / 0.6421 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005187/0.3114, allocations: 43.03 kB / 0.6422 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.3117, allocations: 110.6 kB / 0.6423 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.3118, allocations: 36.69 kB / 0.6423 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008073/0.3126, allocations: 0.5928 MB / 0.6429 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3126, allocations: 0 / 0.6429 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001599/0.3142, allocations: 452.4 kB / 0.6433 GB, free: 129.6 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.0006358/0.3148, allocations: 272.2 kB / 0.6436 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.3176, allocations: 1.477 MB / 0.645 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.3176, allocations: 1.938 kB / 0.645 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.3189, allocations: 1.247 MB / 0.6462 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008597/0.3198, allocations: 264.4 kB / 0.6465 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.3238, allocations: 2.488 MB / 0.6489 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.324, allocations: 240.1 kB / 0.6492 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007376/0.3247, allocations: 198.7 kB / 0.6493 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.3251, allocations: 130.7 kB / 0.6495 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.214e-06/0.3251, allocations: 0 / 0.6495 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.02802/0.3531, allocations: 24.06 MB / 0.673 GB, free: 105.2 MB / 0.5105 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: 6.014759971294552]