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.001652/0.001652, allocations: 80.81 kB / 20.8 MB, free: 3.66 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 0.9393/0.9393, allocations: 177.2 MB / 201.2 MB, free: 5.168 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.001174/0.001174, allocations: 176.5 kB / 257.9 MB, free: 12.72 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.3877/0.3877, allocations: 80.23 MB / 341.4 MB, free: 9.496 MB / 314.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.01986/0.01986, allocations: 4.791 MB / 376.2 MB, free: 7.102 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.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.423e-06/1.423e-06, allocations: 0 / 396 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.554e-05, allocations: 2.312 kB / 396 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.003101/0.003117, allocations: 3.144 MB / 399.1 MB, free: 208 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.005469, allocations: 1.96 MB / 401.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.005619, allocations: 8 kB / 401.1 MB, free: 14.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007508/0.00637, allocations: 0.5594 MB / 401.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.006707, allocations: 234.2 kB / 401.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.007621, allocations: 382.8 kB / 402.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006629/0.008284, allocations: 1.086 MB / 403.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.008631, allocations: 374.7 kB / 403.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.009058, allocations: 0.5068 MB / 404.2 MB, free: 11.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.009469, allocations: 387 kB / 404.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-05/0.009555, allocations: 88 kB / 404.7 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.009949, allocations: 351.5 kB / 405 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.01008, allocations: 219.3 kB / 405.2 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.01026, allocations: 275.3 kB / 405.5 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006484/0.01091, allocations: 0.8917 MB / 406.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.01091, allocations: 0 / 406.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01091, allocations: 0 / 406.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.01092, allocations: 4 kB / 406.4 MB, free: 8.891 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001355/0.01227, allocations: 1.036 MB / 407.4 MB, free: 7.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.01231, allocations: 8.031 kB / 407.4 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.01261, allocations: 104.8 kB / 407.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.01298, allocations: 328.3 kB / 407.8 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.01301, allocations: 41.3 kB / 407.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.01307, allocations: 56.31 kB / 407.9 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.01352, allocations: 0.56 MB / 408.5 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.01353, allocations: 192 / 408.5 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.01356, allocations: 16.38 kB / 408.5 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.01359, allocations: 32.92 kB / 408.5 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.01381, allocations: 154.8 kB / 408.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.01543, allocations: 1.169 MB / 409.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005675/0.016, allocations: 410.6 kB / 410.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.01617, allocations: 151.2 kB / 410.4 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.0162, allocations: 16.66 kB / 410.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.01622, allocations: 39.22 kB / 410.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 1.694e-06/0.01622, allocations: 0 / 410.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.0007732/0.017, allocations: 467.1 kB / 410.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.01708, allocations: 218.3 kB / 411.1 MB, free: 3.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.01743, allocations: 387.2 kB / 411.5 MB, free: 3.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.01747, allocations: 45.7 kB / 411.6 MB, free: 3.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.01755, allocations: 190.5 kB / 411.7 MB, free: 3.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.01766, allocations: 241.8 kB / 412 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.01778, allocations: 130.6 kB / 412.1 MB, free: 2.887 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01788, allocations: 382.6 kB / 412.5 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.01801, allocations: 81.95 kB / 412.6 MB, free: 2.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.01822, allocations: 348.7 kB / 412.9 MB, free: 2.02 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.0006864/0.01891, allocations: 0.5483 MB / 413.5 MB, free: 1.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01891, allocations: 4 kB / 413.5 MB, free: 1.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004694/0.01938, allocations: 378 kB / 413.8 MB, free: 1.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01939, allocations: 7.984 kB / 413.8 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.0194, allocations: 4 kB / 413.8 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.01963, allocations: 56.86 kB / 413.9 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.02025, allocations: 275.5 kB / 414.2 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006749/0.02093, allocations: 1.237 MB / 415.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.02112, allocations: 55.56 kB / 415.5 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.02115, allocations: 19.97 kB / 415.5 MB, free: 15.34 MB / 394.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.00013/0.02128, allocations: 152.5 kB / 415.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.02135, allocations: 55.89 kB / 415.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/0.02207, allocations: 0.4887 MB / 416.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.02207, allocations: 8 kB / 416.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.02208, allocations: 0 / 416.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.02208, allocations: 3.984 kB / 416.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/0.02283, allocations: 0.7668 MB / 416.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.02283, allocations: 0 / 416.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006823/0.02352, allocations: 323.6 kB / 417.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.02368, allocations: 60.78 kB / 417.3 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.02371, allocations: 23.98 kB / 417.3 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.02509, allocations: 3.636 MB / 421 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.02509, allocations: 4 kB / 421 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.02572, allocations: 0.6375 MB / 421.6 MB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.02577, allocations: 71.47 kB / 421.7 MB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.02582, allocations: 23.94 kB / 421.7 MB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.02601, allocations: 23.92 kB / 421.7 MB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.02606, allocations: 44.56 kB / 421.8 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.02609, allocations: 15.98 kB / 421.8 MB, free: 8.684 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.02622, allocations: 180.7 kB / 422 MB, free: 8.508 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02622, allocations: 4.031 kB / 422 MB, free: 8.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000555/0.02677, allocations: 247.7 kB / 422.2 MB, free: 8.262 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.000337/0.02711, allocations: 176 kB / 422.4 MB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008459/0.02795, allocations: 475 kB / 422.9 MB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.02796, allocations: 4 kB / 422.9 MB, free: 7.602 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.0285, allocations: 388.3 kB / 423.2 MB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.02901, allocations: 153.9 kB / 423.4 MB, free: 7.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.03038, allocations: 1.29 MB / 424.7 MB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.323e-05/0.03047, allocations: 152.5 kB / 424.8 MB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.03069, allocations: 105 kB / 424.9 MB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.0311, allocations: 237.2 kB / 425.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0311, allocations: 0 / 425.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of Templates: time 0.01477/0.04587, allocations: 14.85 MB / 440 MB, free: 6.516 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.584633955731988]