Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.OpenChannel.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.0006409/0.0006409, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008897/0.001531, allocations: 440 kB / 10.41 MB, free: 284 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.9155/0.9155, allocations: 177.2 MB / 188.4 MB, free: 4.41 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1539/1.069, allocations: 53.66 MB / 242 MB, free: 2.613 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.001004/0.001004, allocations: 155 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00114/0.002145, allocations: 483.9 kB / 243.4 MB, free: 1.277 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.4443/0.4443, allocations: 89.19 MB / 333.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04406/0.4884, allocations: 30.22 MB / 363.5 MB, free: 3.059 MB / 346.7 MB " [Timeout remaining time 180] 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.02087/0.02087, allocations: 4.796 MB / 369.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002866/0.02374, allocations: 1.925 MB / 371 MB, free: 11.77 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.OpenChannel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.OpenChannel") translateModel(OpenHPL.Examples.OpenChannel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.OpenChannel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0.875 kB / 372.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.546e-06/9.648e-06, allocations: 13.55 kB / 372.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.002583/0.002593, allocations: 3.157 MB / 375.5 MB, free: 7.305 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.004703, allocations: 1.962 MB / 377.5 MB, free: 5.328 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.00485, allocations: 4 kB / 377.5 MB, free: 5.324 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006222/0.005472, allocations: 0.5712 MB / 378 MB, free: 4.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.005794, allocations: 226.2 kB / 378.3 MB, free: 4.527 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.006424, allocations: 386.8 kB / 378.6 MB, free: 4.148 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006984/0.007122, allocations: 1.075 MB / 379.7 MB, free: 3.074 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.007461, allocations: 303 kB / 380 MB, free: 2.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.00797, allocations: 0.6071 MB / 380.6 MB, free: 2.164 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.008347, allocations: 383 kB / 381 MB, free: 1.789 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.988e-05/0.008437, allocations: 84 kB / 381.1 MB, free: 1.707 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.008846, allocations: 347.4 kB / 381.4 MB, free: 1.367 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.008957, allocations: 155.6 kB / 381.6 MB, free: 1.215 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.009126, allocations: 199.6 kB / 381.8 MB, free: 1.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005836/0.00971, allocations: 0.7749 MB / 382.5 MB, free: 248 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.00972, allocations: 4 kB / 382.5 MB, free: 244 kB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00972, allocations: 0 / 382.5 MB, free: 244 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.009732, allocations: 4 kB / 382.5 MB, free: 240 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001377/0.01111, allocations: 1.163 MB / 383.7 MB, free: 15.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.01114, allocations: 15.98 kB / 383.7 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.01146, allocations: 186 kB / 383.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.0118, allocations: 336.2 kB / 384.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.01183, allocations: 37.36 kB / 384.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.01189, allocations: 52.34 kB / 384.3 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.01233, allocations: 0.56 MB / 384.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.01234, allocations: 192 / 384.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.01237, allocations: 20.38 kB / 384.9 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.0124, allocations: 28.92 kB / 384.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.01262, allocations: 162.8 kB / 385.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.01406, allocations: 1.162 MB / 386.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.01459, allocations: 417.9 kB / 386.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.01475, allocations: 147.2 kB / 386.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.01478, allocations: 12.66 kB / 386.8 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.0148, allocations: 39.22 kB / 386.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 1.353e-06/0.0148, allocations: 0 / 386.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.000737/0.01554, allocations: 479 kB / 387.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.01557, allocations: 60.06 kB / 387.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.0158, allocations: 387.2 kB / 387.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.01583, allocations: 41.7 kB / 387.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.01592, allocations: 194.5 kB / 388 MB, free: 10.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.01603, allocations: 241.8 kB / 388.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.01616, allocations: 130.5 kB / 388.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.01626, allocations: 378.6 kB / 388.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.01639, allocations: 89.89 kB / 388.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.01663, allocations: 340.8 kB / 389.1 MB, free: 9.32 MB / 378.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: pipe.Vdot = pipe.Vdot_0 (discharge.Vdot_0 = pipe.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007379/0.01737, allocations: 0.5573 MB / 389.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01737, allocations: 0 / 389.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000475/0.01785, allocations: 378 kB / 390.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.01786, allocations: 4 kB / 390.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01786, allocations: 8.125 kB / 390.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.01807, allocations: 56.78 kB / 390.1 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.01871, allocations: 297.6 kB / 390.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007008/0.01941, allocations: 1.241 MB / 391.7 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.01962, allocations: 51.62 kB / 391.7 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.01965, allocations: 23.92 kB / 391.7 MB, free: 6.613 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: pipe.Vdot = pipe.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (82): * Single equations (assignments): 81 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.01978, allocations: 148.5 kB / 391.9 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.01985, allocations: 55.95 kB / 391.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005942/0.02045, allocations: 492.4 kB / 392.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.02045, allocations: 8 kB / 392.4 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.02045, allocations: 4.031 kB / 392.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.02046, allocations: 3.984 kB / 392.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008098/0.02127, allocations: 0.7668 MB / 393.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02127, allocations: 3.938 kB / 393.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007207/0.02199, allocations: 335.6 kB / 393.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.02205, allocations: 71.38 kB / 393.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001762/0.02223, allocations: 64.72 kB / 393.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.02227, allocations: 19.98 kB / 393.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.02366, allocations: 3.624 MB / 397.3 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.02366, allocations: 0 / 397.3 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006567/0.02431, allocations: 0.6493 MB / 398 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.02437, allocations: 23.98 kB / 398 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.02455, allocations: 19.94 kB / 398 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.02463, allocations: 48.55 kB / 398 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.02465, allocations: 16.14 kB / 398.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.02479, allocations: 184.6 kB / 398.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02479, allocations: 0 / 398.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004034/0.02519, allocations: 251.6 kB / 398.5 MB, free: 15.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (reservoir.m,tail.m,openChannel.h_sec[1],openChannel.h_sec[2],openChannel.h_sec[3],openChannel.h_sec[4],openChannel.h_sec[5],openChannel.h_sec[6],openChannel.h_sec[7],openChannel.h_sec[8],openChannel.h_sec[9],openChannel.h_sec[10],pipe.mdot) * 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 (76): * Single equations (assignments): 73 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002612/0.02545, allocations: 176.6 kB / 398.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005858/0.02604, allocations: 491.4 kB / 399.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/0.02605, allocations: 8 kB / 399.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004576/0.02651, allocations: 426.4 kB / 399.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.0272, allocations: 1.308 MB / 400.9 MB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.03145, allocations: 1.232 MB / 402.1 MB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.763e-05/0.03154, allocations: 156.5 kB / 402.3 MB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.03178, allocations: 101.1 kB / 402.4 MB, free: 11.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.03225, allocations: 253.2 kB / 402.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03225, allocations: 0 / 402.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of Templates: time 0.01479/0.04703, allocations: 15.55 MB / 418.1 MB, free: 11.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.OpenChannel.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.OpenChannel.pipe ; mkfifo OpenHPL_OpenHPL.Examples.OpenChannel.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.OpenChannel.pipe >> ../files/OpenHPL_OpenHPL.Examples.OpenChannel.sim & ./OpenHPL_OpenHPL.Examples.OpenChannel -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.OpenChannel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2495819898322225]