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.001023/0.001023, allocations: 81.08 kB / 19.87 MB, free: 4.617 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 1.017/1.017, allocations: 177.2 MB / 200.3 MB, free: 5.402 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.001249/0.001249, allocations: 163.3 kB / 256.9 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.295/0.295, allocations: 80.25 MB / 393.7 MB, free: 1.969 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.02487/0.02487, allocations: 4.801 MB / 481.8 MB, free: 3.965 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.482e-06/1.482e-06, allocations: 0 / 0.5679 GB, free: 124 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.203e-05, allocations: 6.25 kB / 0.5679 GB, free: 116 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGenFrancis): time 0.005056/0.005078, allocations: 5.492 MB / 0.5732 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009763/0.01484, allocations: 3.258 MB / 0.5764 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00094/0.01578, allocations: 11.88 kB / 0.5764 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.01737, allocations: 0.9635 MB / 0.5774 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.01868, allocations: 0.5079 MB / 0.5779 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.02099, allocations: 0.8609 MB / 0.5787 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.02293, allocations: 1.699 MB / 0.5804 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00081/0.02374, allocations: 0.628 MB / 0.581 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.02487, allocations: 0.9079 MB / 0.5819 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008127/0.02568, allocations: 0.6192 MB / 0.5825 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.02587, allocations: 136 kB / 0.5826 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009709/0.02685, allocations: 0.5228 MB / 0.5831 GB, free: 428 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.02711, allocations: 358.5 kB / 0.5835 GB, free: 68 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.02758, allocations: 482.6 kB / 0.5839 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.02942, allocations: 1.425 MB / 0.5853 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.02942, allocations: 0 / 0.5853 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.242e-06/0.02942, allocations: 0 / 0.5853 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.02943, allocations: 0 / 0.5853 GB, free: 14.16 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.003633/0.03307, allocations: 1.905 MB / 0.5872 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.0331, allocations: 8.031 kB / 0.5872 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008975/0.034, allocations: 339.7 kB / 0.5875 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/0.03465, allocations: 0.6178 MB / 0.5881 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/0.03475, allocations: 189.4 kB / 0.5883 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.03485, allocations: 96.38 kB / 0.5884 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009375/0.03579, allocations: 1.152 MB / 0.5895 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.03581, allocations: 192 / 0.5895 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.03587, allocations: 44.06 kB / 0.5895 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.03588, allocations: 24 kB / 0.5896 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.03646, allocations: 457.3 kB / 0.59 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.03973, allocations: 3.295 MB / 0.5932 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/0.04035, allocations: 0.5045 MB / 0.5937 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.04058, allocations: 210.5 kB / 0.5939 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.04088, allocations: 124.9 kB / 0.594 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.04091, allocations: 50.39 kB / 0.5941 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=105): time 2.194e-06/0.04091, allocations: 0 / 0.5941 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109): time 0.002411/0.04332, allocations: 1.688 MB / 0.5957 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/0.04341, allocations: 325.4 kB / 0.596 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/0.04403, allocations: 0.8712 MB / 0.5969 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.04408, allocations: 49.64 kB / 0.5969 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.04436, allocations: 0.5891 MB / 0.5975 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.04455, allocations: 408.5 kB / 0.5979 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.04481, allocations: 248.3 kB / 0.5981 GB, free: 484 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.1849/0.2297, allocations: 0.5276 MB / 0.5987 GB, free: 166 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000822/0.2306, allocations: 174 kB / 0.5988 GB, free: 166 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/0.2313, allocations: 0.6858 MB / 0.5995 GB, free: 165.4 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.003354/0.2346, allocations: 1.583 MB / 0.601 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2346, allocations: 0 / 0.601 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002223/0.2369, allocations: 0.9587 MB / 0.602 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.2369, allocations: 6.938 kB / 0.602 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.2369, allocations: 5.609 kB / 0.602 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007273/0.2376, allocations: 179.4 kB / 0.6022 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.2394, allocations: 386.2 kB / 0.6025 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/0.2454, allocations: 15.15 MB / 0.6173 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009329/0.2463, allocations: 43.73 kB / 0.6174 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.2463, allocations: 44.8 kB / 0.6174 GB, free: 150.5 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.0003013/0.2466, allocations: 226.2 kB / 0.6176 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.2468, allocations: 152.3 kB / 0.6178 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.2484, allocations: 0.9542 MB / 0.6187 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.2484, allocations: 16.94 kB / 0.6187 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2484, allocations: 3.406 kB / 0.6187 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.2484, allocations: 6.875 kB / 0.6187 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.2506, allocations: 1.55 MB / 0.6202 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.2506, allocations: 1.875 kB / 0.6202 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008459/0.2515, allocations: 290.7 kB / 0.6205 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008767/0.2524, allocations: 280.3 kB / 0.6208 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/0.2524, allocations: 29.3 kB / 0.6208 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004943/0.2574, allocations: 18.61 MB / 0.639 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2574, allocations: 4.719 kB / 0.639 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.2592, allocations: 1.278 MB / 0.6402 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.2593, allocations: 127.2 kB / 0.6404 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.2595, allocations: 36.08 kB / 0.6404 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.2599, allocations: 41.2 kB / 0.6404 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.2601, allocations: 105.7 kB / 0.6405 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.2601, allocations: 28.44 kB / 0.6406 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005536/0.2607, allocations: 0.5396 MB / 0.6411 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2607, allocations: 0 / 0.6411 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001269/0.262, allocations: 446.6 kB / 0.6415 GB, free: 130.8 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.00045/0.2624, allocations: 274.7 kB / 0.6418 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.2645, allocations: 1.378 MB / 0.6431 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2645, allocations: 2.219 kB / 0.6431 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.2655, allocations: 1.191 MB / 0.6443 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/0.2663, allocations: 271.5 kB / 0.6446 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.2696, allocations: 2.449 MB / 0.6469 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.2698, allocations: 237.5 kB / 0.6472 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006176/0.2704, allocations: 192.9 kB / 0.6474 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007577/0.2711, allocations: 432.3 kB / 0.6478 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/0.2711, allocations: 0 / 0.6478 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.0247/0.2958, allocations: 25.8 MB / 0.673 GB, free: 105.5 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: 5.342463524080813]