Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.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.0008417/0.0008417, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.041/1.041, allocations: 177.1 MB / 201.2 MB, free: 5.645 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.001082/0.001082, allocations: 159.4 kB / 257.9 MB, free: 12.92 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.4697/0.4697, allocations: 80.23 MB / 341.4 MB, free: 9.578 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.02527/0.02527, allocations: 4.793 MB / 376.2 MB, free: 7.078 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.SimpleValveWithCreek,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValveWithCreek") translateModel(OpenHPL.Examples.SimpleValveWithCreek,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValveWithCreek") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 396 MB, free: 3.355 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.829e-05, allocations: 10.25 kB / 396 MB, free: 3.344 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.004275/0.004293, allocations: 5.088 MB / 401 MB, free: 14.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003811/0.008104, allocations: 3.168 MB / 404.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.008386, allocations: 11.94 kB / 404.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.009562, allocations: 1.173 MB / 405.4 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005961/0.01016, allocations: 484.4 kB / 405.9 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.01131, allocations: 0.7791 MB / 406.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008802/0.01219, allocations: 1.381 MB / 408 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005513/0.01274, allocations: 0.6225 MB / 408.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005874/0.01333, allocations: 0.7247 MB / 409.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.01374, allocations: 474.5 kB / 409.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.01385, allocations: 104 kB / 409.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.01428, allocations: 359.4 kB / 410.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.01442, allocations: 266.8 kB / 410.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.01467, allocations: 394.8 kB / 410.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008105/0.01548, allocations: 1.031 MB / 412 MB, free: 3.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.01548, allocations: 4 kB / 412 MB, free: 3.234 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01548, allocations: 0 / 412 MB, free: 3.234 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.01549, allocations: 0 / 412 MB, free: 3.234 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001542/0.01703, allocations: 1.494 MB / 413.5 MB, free: 1.688 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.01707, allocations: 12.02 kB / 413.5 MB, free: 1.676 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004467/0.01751, allocations: 172.8 kB / 413.7 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.01811, allocations: 478.4 kB / 414.1 MB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.01815, allocations: 54.38 kB / 414.2 MB, free: 0.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.01825, allocations: 80.36 kB / 414.3 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00066/0.01891, allocations: 0.9913 MB / 415.2 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.01893, allocations: 7.984 kB / 415.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.01897, allocations: 32 kB / 415.3 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.01898, allocations: 16 kB / 415.3 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.01925, allocations: 212.9 kB / 415.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.02106, allocations: 1.801 MB / 417.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.02142, allocations: 346.4 kB / 417.6 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.02156, allocations: 135.9 kB / 417.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002939/0.02186, allocations: 112.6 kB / 417.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.02188, allocations: 47.22 kB / 417.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 2.284e-06/0.02189, allocations: 0 / 417.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.001742/0.02363, allocations: 1.243 MB / 419.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.02377, allocations: 398.5 kB / 419.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.02429, allocations: 0.6832 MB / 420.3 MB, free: 10.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.02433, allocations: 53.64 kB / 420.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.0245, allocations: 334.7 kB / 420.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.02466, allocations: 301.3 kB / 420.9 MB, free: 9.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.02481, allocations: 162.5 kB / 421.1 MB, free: 9.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.02492, allocations: 337.9 kB / 421.4 MB, free: 9.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.02503, allocations: 85.95 kB / 421.5 MB, free: 9.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.02536, allocations: 0.5967 MB / 422.1 MB, free: 8.496 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: 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 (tunnel2.Vdot_0 - discharge.Vdot_0 = surgeTank.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: creekIntake.Vdot = creekIntake.Vdot_0 (tunnel1.Vdot_0 - tunnel2.Vdot_0 = creekIntake.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.02654, allocations: 0.993 MB / 423.1 MB, free: 7.492 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02654, allocations: 0 / 423.1 MB, free: 7.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0007219/0.02726, allocations: 0.5114 MB / 423.6 MB, free: 6.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.02728, allocations: 6.969 kB / 423.6 MB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.02729, allocations: 4.219 kB / 423.6 MB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003872/0.02768, allocations: 164.6 kB / 423.8 MB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.02815, allocations: 223.7 kB / 424 MB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.02979, allocations: 1.914 MB / 425.9 MB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.03013, allocations: 35.98 kB / 425.9 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.03016, allocations: 24.03 kB / 426 MB, free: 4.52 MB / 394.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: penstock.Vdot = penstock.Vdot_0 surgeTank.Vdot = surgeTank.Vdot_0 creekIntake.Vdot = creekIntake.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.03034, allocations: 165.6 kB / 426.1 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/0.03044, allocations: 83.92 kB / 426.2 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.03111, allocations: 0.5458 MB / 426.7 MB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.03111, allocations: 16 kB / 426.8 MB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.03112, allocations: 7.922 kB / 426.8 MB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.03112, allocations: 3.984 kB / 426.8 MB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.03214, allocations: 0.9312 MB / 427.7 MB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03214, allocations: 0 / 427.7 MB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.03265, allocations: 243.7 kB / 427.9 MB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/0.033, allocations: 171.4 kB / 428.1 MB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.03303, allocations: 20 kB / 428.1 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.03525, allocations: 4.313 MB / 432.4 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.03525, allocations: 7.938 kB / 432.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/0.036, allocations: 0.7326 MB / 433.2 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.03618, allocations: 111.2 kB / 433.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.03624, allocations: 20 kB / 433.3 MB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.03648, allocations: 27.98 kB / 433.3 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.03656, allocations: 68.81 kB / 433.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.03658, allocations: 19.98 kB / 433.4 MB, free: 12.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002754/0.03686, allocations: 364.5 kB / 433.8 MB, free: 12.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03686, allocations: 0 / 433.8 MB, free: 12.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005242/0.03738, allocations: 299.8 kB / 434.1 MB, free: 12.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (reservoir.m,tunnel1.mdot,discharge.mdot,tail.m,creekIntake.m,tunnel2.mdot,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 (72): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/0.03765, allocations: 176.2 kB / 434.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007446/0.03839, allocations: 0.6204 MB / 434.9 MB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.0384, allocations: 12 kB / 434.9 MB, free: 11.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.03898, allocations: 0.4895 MB / 435.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.03954, allocations: 264.9 kB / 435.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.04144, allocations: 1.681 MB / 437.3 MB, free: 8.754 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.04158, allocations: 189.6 kB / 437.5 MB, free: 8.543 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.04188, allocations: 143.9 kB / 437.6 MB, free: 8.398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/0.04241, allocations: 357 kB / 438 MB, free: 8.051 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.04241, allocations: 0 / 438 MB, free: 8.051 MB / 410.7 MB Notification: Performance of Templates: time 0.1813/0.2238, allocations: 20.16 MB / 458.1 MB, free: 56.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe ; mkfifo OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe >> ../files/OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.sim & ./OpenHPL_OpenHPL.Examples.SimpleValveWithCreek -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6916733225807548]