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.0008889/0.0008889, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.062/1.062, allocations: 177.2 MB / 200.3 MB, free: 5.684 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.00118/0.00118, allocations: 160.6 kB / 257 MB, free: 12.97 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.4277/0.4277, allocations: 80.24 MB / 340.5 MB, free: 9.645 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.02211/0.02211, allocations: 4.791 MB / 375.3 MB, free: 7.137 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.593e-06/1.593e-06, allocations: 0 / 395 MB, free: 3.484 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.094e-05, allocations: 6.25 kB / 395 MB, free: 3.477 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.00505/0.005081, allocations: 3.149 MB / 398.1 MB, free: 312 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.007829, allocations: 1.968 MB / 400.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.008086, allocations: 4 kB / 400.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008522/0.008939, allocations: 0.5555 MB / 400.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.009434, allocations: 238.2 kB / 400.9 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000933/0.01037, allocations: 386.8 kB / 401.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009735/0.01134, allocations: 1.082 MB / 402.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006033/0.01194, allocations: 370.8 kB / 402.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000591/0.01253, allocations: 0.5029 MB / 403.2 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006174/0.01315, allocations: 395 kB / 403.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.01328, allocations: 84 kB / 403.7 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.01388, allocations: 351.5 kB / 404 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.01432, allocations: 227.2 kB / 404.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.01453, allocations: 271.3 kB / 404.5 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009921/0.01552, allocations: 0.8918 MB / 405.4 MB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.01553, allocations: 0 / 405.4 MB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01553, allocations: 0 / 405.4 MB, free: 8.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.01555, allocations: 0 / 405.4 MB, free: 8.992 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.001984/0.01753, allocations: 1.036 MB / 406.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.01757, allocations: 12.03 kB / 406.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.01808, allocations: 112.8 kB / 406.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.01858, allocations: 324.3 kB / 406.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.01861, allocations: 33.38 kB / 406.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/0.0187, allocations: 56.31 kB / 407 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006352/0.01934, allocations: 0.56 MB / 407.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.01935, allocations: 4.172 kB / 407.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.0194, allocations: 16.38 kB / 407.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/0.01944, allocations: 24.94 kB / 407.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.01976, allocations: 158.8 kB / 407.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.02191, allocations: 1.165 MB / 408.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.02266, allocations: 418.6 kB / 409.3 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.02291, allocations: 147.2 kB / 409.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.02294, allocations: 12.66 kB / 409.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.02298, allocations: 39.22 kB / 409.5 MB, free: 4.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.655e-06/0.02298, allocations: 0 / 409.5 MB, free: 4.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.001104/0.02408, allocations: 479.1 kB / 410 MB, free: 4.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.02417, allocations: 214.3 kB / 410.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.02453, allocations: 387.2 kB / 410.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.02458, allocations: 37.7 kB / 410.6 MB, free: 3.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.0247, allocations: 194.5 kB / 410.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.02486, allocations: 245.8 kB / 411 MB, free: 3.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004526/0.02532, allocations: 126.6 kB / 411.1 MB, free: 2.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.02544, allocations: 374.7 kB / 411.5 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.02562, allocations: 93.88 kB / 411.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.02593, allocations: 344.8 kB / 411.9 MB, free: 2.121 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.001044/0.02698, allocations: 0.56 MB / 412.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.02698, allocations: 0 / 412.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006934/0.02767, allocations: 378 kB / 412.9 MB, free: 1.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.02769, allocations: 4 kB / 412.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.0277, allocations: 0 / 412.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002809/0.02798, allocations: 56.86 kB / 412.9 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/0.0289, allocations: 279.5 kB / 413.2 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.02991, allocations: 1.233 MB / 414.4 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.03023, allocations: 59.55 kB / 414.5 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.03027, allocations: 15.98 kB / 414.5 MB, free: 15.44 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.00019/0.03046, allocations: 156.6 kB / 414.7 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.03057, allocations: 55.94 kB / 414.7 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000852/0.03142, allocations: 492.4 kB / 415.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.03143, allocations: 8 kB / 415.2 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.03143, allocations: 0 / 415.2 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.03144, allocations: 3.984 kB / 415.2 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.03261, allocations: 0.7707 MB / 416 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.03262, allocations: 0 / 416 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.03365, allocations: 319.6 kB / 416.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.0339, allocations: 64.77 kB / 416.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.03396, allocations: 19.98 kB / 416.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/0.03624, allocations: 3.636 MB / 420 MB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.03624, allocations: 3.984 kB / 420 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009632/0.0372, allocations: 0.6453 MB / 420.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.0373, allocations: 67.44 kB / 420.7 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/0.03738, allocations: 19.98 kB / 420.7 MB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.03766, allocations: 23.97 kB / 420.8 MB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.03776, allocations: 52.55 kB / 420.8 MB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.0378, allocations: 12 kB / 420.8 MB, free: 8.785 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.038, allocations: 180.7 kB / 421 MB, free: 8.609 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.038, allocations: 0 / 421 MB, free: 8.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00068/0.03868, allocations: 255.6 kB / 421.2 MB, free: 8.359 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.0003693/0.03905, allocations: 180 kB / 421.4 MB, free: 8.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008929/0.03994, allocations: 470.9 kB / 421.9 MB, free: 7.703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.03995, allocations: 8 kB / 421.9 MB, free: 7.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.04058, allocations: 384.4 kB / 422.3 MB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.04114, allocations: 153.9 kB / 422.4 MB, free: 7.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.04328, allocations: 1.282 MB / 423.7 MB, free: 5.832 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.0434, allocations: 156.5 kB / 423.9 MB, free: 5.656 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004005/0.04381, allocations: 101 kB / 424 MB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/0.04442, allocations: 241.2 kB / 424.2 MB, free: 5.316 MB / 394.7 MB Notification: Performance of SimCode: time 1.883e-06/0.04442, allocations: 0 / 424.2 MB, free: 5.316 MB / 394.7 MB Notification: Performance of Templates: time 0.02231/0.06673, allocations: 14.84 MB / 439 MB, free: 6.629 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.OpenChannel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.695332675240934]