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.001312/0.001312, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9455/0.9455, allocations: 177.1 MB / 200.3 MB, free: 5.691 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.001879/0.001879, allocations: 155.4 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.3968/0.3968, allocations: 80.24 MB / 340.5 MB, free: 9.66 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.02094/0.02094, allocations: 4.793 MB / 375.3 MB, free: 7.148 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.292e-06/1.292e-06, allocations: 0 / 394.9 MB, free: 3.543 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.896e-05, allocations: 2.312 kB / 394.9 MB, free: 3.539 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.002948/0.002967, allocations: 3.102 MB / 398 MB, free: 428 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.005377, allocations: 1.967 MB / 400 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.005552, allocations: 0 / 400 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007836/0.006336, allocations: 0.5634 MB / 400.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.006732, allocations: 238.2 kB / 400.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007307/0.007462, allocations: 394.8 kB / 401.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008209/0.008283, allocations: 1.082 MB / 402.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004545/0.008738, allocations: 374.8 kB / 402.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.0092, allocations: 0.5068 MB / 403.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.009698, allocations: 383 kB / 403.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.009785, allocations: 84 kB / 403.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.01017, allocations: 339.4 kB / 403.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.0103, allocations: 235.2 kB / 404.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.01048, allocations: 267.3 kB / 404.4 MB, free: 10 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.01112, allocations: 0.8918 MB / 405.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01113, allocations: 4 kB / 405.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01113, allocations: 0 / 405.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.01113, allocations: 0 / 405.3 MB, free: 9.102 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.001287/0.01242, allocations: 1.032 MB / 406.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.01245, allocations: 12.03 kB / 406.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.01276, allocations: 112.8 kB / 406.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.0131, allocations: 332.3 kB / 406.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.01313, allocations: 33.38 kB / 406.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.0132, allocations: 52.33 kB / 406.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.01391, allocations: 0.5639 MB / 407.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.01393, allocations: 192 / 407.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.01396, allocations: 24.38 kB / 407.5 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.01399, allocations: 24.94 kB / 407.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.01423, allocations: 158.8 kB / 407.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.01573, allocations: 1.158 MB / 408.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.01628, allocations: 418.5 kB / 409.2 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.01646, allocations: 151.2 kB / 409.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.01649, allocations: 8.656 kB / 409.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.01652, allocations: 47.22 kB / 409.4 MB, free: 4.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 1.382e-06/0.01652, allocations: 0 / 409.4 MB, free: 4.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.0007765/0.01729, allocations: 471.1 kB / 409.9 MB, free: 4.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.01735, allocations: 214.3 kB / 410.1 MB, free: 4.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.0176, allocations: 387.2 kB / 410.5 MB, free: 3.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.01764, allocations: 41.7 kB / 410.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.01773, allocations: 190.5 kB / 410.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.01784, allocations: 245.8 kB / 410.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.01798, allocations: 138.6 kB / 411.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.01808, allocations: 370.7 kB / 411.4 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.01821, allocations: 93.88 kB / 411.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.01844, allocations: 340.8 kB / 411.8 MB, free: 2.223 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.0007396/0.01918, allocations: 0.5522 MB / 412.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01918, allocations: 0 / 412.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005004/0.01968, allocations: 385.9 kB / 412.8 MB, free: 1.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.0197, allocations: 4 kB / 412.8 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.0197, allocations: 4 kB / 412.8 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.0199, allocations: 52.8 kB / 412.8 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.02028, allocations: 179.8 kB / 413 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009361/0.02122, allocations: 1.229 MB / 414.2 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.02142, allocations: 55.56 kB / 414.3 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.02145, allocations: 23.91 kB / 414.3 MB, free: 15.64 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.0001432/0.02159, allocations: 144.5 kB / 414.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.02167, allocations: 59.98 kB / 414.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.02228, allocations: 496.4 kB / 415 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.02229, allocations: 11.94 kB / 415 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.02229, allocations: 0 / 415 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.0223, allocations: 3.984 kB / 415 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008401/0.02314, allocations: 0.7629 MB / 415.8 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.02314, allocations: 0 / 415.8 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005505/0.02369, allocations: 227.8 kB / 416 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.02387, allocations: 56.78 kB / 416.1 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.0239, allocations: 23.98 kB / 416.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.02527, allocations: 3.628 MB / 419.7 MB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02527, allocations: 0 / 419.7 MB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006967/0.02597, allocations: 0.6414 MB / 420.4 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.02603, allocations: 67.44 kB / 420.4 MB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.02609, allocations: 28.05 kB / 420.4 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.02628, allocations: 16 kB / 420.5 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.02634, allocations: 52.55 kB / 420.5 MB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.02636, allocations: 16 kB / 420.5 MB, free: 9.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.0265, allocations: 176.7 kB / 420.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0265, allocations: 0 / 420.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000427/0.02692, allocations: 259.6 kB / 421 MB, free: 8.672 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.0002688/0.02719, allocations: 180.2 kB / 421.1 MB, free: 8.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008328/0.02803, allocations: 474.9 kB / 421.6 MB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.02803, allocations: 8 kB / 421.6 MB, free: 8.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.02845, allocations: 384.4 kB / 422 MB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.02882, allocations: 145.8 kB / 422.1 MB, free: 7.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.03026, allocations: 1.278 MB / 423.4 MB, free: 6.152 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.469e-05/0.03034, allocations: 156.4 kB / 423.6 MB, free: 5.977 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00023/0.03057, allocations: 101 kB / 423.7 MB, free: 5.875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.031, allocations: 241.1 kB / 423.9 MB, free: 5.637 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03101, allocations: 0 / 423.9 MB, free: 5.637 MB / 394.7 MB Notification: Performance of Templates: time 0.01522/0.04623, allocations: 14.59 MB / 438.5 MB, free: 7.195 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.542611892800778]