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.0007701/0.0007701, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001876, allocations: 435.8 kB / 10.33 MB, free: 368 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.9479/0.9479, allocations: 177.2 MB / 188.2 MB, free: 4.484 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1517/1.1, allocations: 53.64 MB / 241.9 MB, free: 2.73 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.001085/0.001085, allocations: 143.9 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002273, allocations: 482.5 kB / 243.2 MB, free: 1.418 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.4326/0.4326, allocations: 89.05 MB / 333 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04604/0.4786, allocations: 30.22 MB / 363.2 MB, free: 3.172 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.02854/0.02854, allocations: 4.792 MB / 368.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00325/0.03179, allocations: 1.931 MB / 370.7 MB, free: 11.89 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.012e-06/1.012e-06, allocations: 0 / 372 MB, free: 10.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/1.994e-05, allocations: 5.266 kB / 372 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.004015/0.004035, allocations: 3.154 MB / 375.1 MB, free: 7.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.006714, allocations: 1.966 MB / 377.1 MB, free: 5.449 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.006865, allocations: 4 kB / 377.1 MB, free: 5.445 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.007659, allocations: 0.5634 MB / 377.7 MB, free: 4.879 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.008065, allocations: 238.1 kB / 377.9 MB, free: 4.645 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.008754, allocations: 374.9 kB / 378.3 MB, free: 4.277 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009089/0.009663, allocations: 1.078 MB / 379.4 MB, free: 3.199 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.01004, allocations: 299 kB / 379.6 MB, free: 2.898 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006669/0.01071, allocations: 0.6032 MB / 380.2 MB, free: 2.297 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007141/0.01142, allocations: 391 kB / 380.6 MB, free: 1.914 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.01153, allocations: 92 kB / 380.7 MB, free: 1.824 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.01201, allocations: 339.5 kB / 381.1 MB, free: 1.492 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.01215, allocations: 147.6 kB / 381.2 MB, free: 1.348 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.01235, allocations: 199.6 kB / 381.4 MB, free: 1.152 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.01291, allocations: 0.7788 MB / 382.2 MB, free: 380 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.01293, allocations: 0 / 382.2 MB, free: 380 kB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01293, allocations: 0 / 382.2 MB, free: 380 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.01294, allocations: 0 / 382.2 MB, free: 380 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.001332/0.01428, allocations: 1.179 MB / 383.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.464e-05/0.0143, allocations: 8.031 kB / 383.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.0146, allocations: 182 kB / 383.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.01493, allocations: 344.3 kB / 383.9 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.01495, allocations: 29.38 kB / 383.9 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.015, allocations: 48.38 kB / 383.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.01541, allocations: 0.5678 MB / 384.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.01543, allocations: 192 / 384.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.01546, allocations: 20.36 kB / 384.5 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.01549, allocations: 24.94 kB / 384.6 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.01571, allocations: 162.8 kB / 384.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.01708, allocations: 1.154 MB / 385.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.01759, allocations: 425.8 kB / 386.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.01775, allocations: 139.3 kB / 386.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.01777, allocations: 12.66 kB / 386.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.01779, allocations: 43.22 kB / 386.5 MB, free: 11.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 1.463e-06/0.0178, allocations: 3.938 kB / 386.5 MB, free: 11.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.0006968/0.01849, allocations: 471.1 kB / 386.9 MB, free: 11.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.01852, allocations: 68.05 kB / 387 MB, free: 11.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.01874, allocations: 383.2 kB / 387.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.01877, allocations: 37.7 kB / 387.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.01884, allocations: 190.5 kB / 387.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.01918, allocations: 249.8 kB / 387.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.0193, allocations: 130.5 kB / 388 MB, free: 10.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.01939, allocations: 374.6 kB / 388.3 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.01951, allocations: 85.95 kB / 388.4 MB, free: 9.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.01971, allocations: 356.7 kB / 388.8 MB, free: 9.453 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.0006848/0.0204, allocations: 0.5456 MB / 389.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.0204, allocations: 0 / 389.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004484/0.02085, allocations: 381.9 kB / 389.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.02086, allocations: 7.125 kB / 389.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.02086, allocations: 3.984 kB / 389.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.02105, allocations: 60.86 kB / 389.8 MB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.02167, allocations: 301.9 kB / 390.1 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006336/0.0223, allocations: 1.237 MB / 391.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.02248, allocations: 51.62 kB / 391.3 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.02251, allocations: 23.97 kB / 391.4 MB, free: 6.754 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.0001214/0.02263, allocations: 148.6 kB / 391.5 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.02271, allocations: 55.95 kB / 391.6 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005662/0.02327, allocations: 496.4 kB / 392.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.02328, allocations: 8 kB / 392.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.02328, allocations: 4 kB / 392.1 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.02328, allocations: 3.984 kB / 392.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007559/0.02404, allocations: 0.7668 MB / 392.8 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.02404, allocations: 0 / 392.8 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/0.02475, allocations: 339.5 kB / 393.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.0248, allocations: 63.39 kB / 393.2 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.02496, allocations: 56.78 kB / 393.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.025, allocations: 23.98 kB / 393.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.02662, allocations: 3.632 MB / 396.9 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02662, allocations: 4 kB / 396.9 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.02724, allocations: 0.653 MB / 397.6 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.0273, allocations: 16 kB / 397.6 MB, free: 172 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.02748, allocations: 19.94 kB / 397.6 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.02753, allocations: 60.58 kB / 397.7 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.02755, allocations: 15.98 kB / 397.7 MB, free: 76 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.02769, allocations: 180.7 kB / 397.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02769, allocations: 0 / 397.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.02805, allocations: 251.6 kB / 398.1 MB, free: 15.65 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.0002286/0.02828, allocations: 171.4 kB / 398.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005457/0.02883, allocations: 474.8 kB / 398.8 MB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.02884, allocations: 8 kB / 398.8 MB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.02925, allocations: 385 kB / 399.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.0296, allocations: 208.2 kB / 399.3 MB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.03385, allocations: 1.247 MB / 400.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.378e-05/0.03393, allocations: 156.5 kB / 400.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.03416, allocations: 105 kB / 400.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.03458, allocations: 245.2 kB / 401.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03458, allocations: 0 / 401.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of Templates: time 0.01515/0.04974, allocations: 15.37 MB / 416.5 MB, free: 13.42 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.4218121459707618]