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.002353/0.002353, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.607/1.607, allocations: 230.6 MB / 252.7 MB, free: 9.824 MB / 202.7 MB " [Timeout remaining time 178] 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.00207/0.00207, allocations: 209.8 kB / 309.2 MB, free: 1.996 MB / 234.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.6634/0.6634, allocations: 107.2 MB / 472.8 MB, free: 9.898 MB / 330.7 MB " [Timeout remaining time 179] 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.04221/0.04221, allocations: 6.294 MB / 0.5492 GB, free: 1.293 MB / 410.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package OpenIPSL of version 3.0.0. OpenIPSL 3.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.006651/0.006651, allocations: 123.8 kB / 0.7254 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3659, allocations: 81.64 MB / 0.8052 GB, free: 33.46 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.003179/0.3691, allocations: 2.892 MB / 0.808 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002466/0.3716, allocations: 1.821 MB / 0.8098 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.3718, allocations: 7 kB / 0.8098 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009951/0.3728, allocations: 0.5106 MB / 0.8103 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.3732, allocations: 228.7 kB / 0.8105 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008423/0.374, allocations: 388.5 kB / 0.8109 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007158/0.3748, allocations: 1.052 MB / 0.8119 GB, free: 29.17 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003727/0.3751, allocations: 351.2 kB / 0.8122 GB, free: 28.99 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.3755, allocations: 374.2 kB / 0.8126 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.376, allocations: 425 kB / 0.813 GB, free: 28.67 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.3761, allocations: 88.94 kB / 0.8131 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005315/0.3766, allocations: 342.6 kB / 0.8134 GB, free: 28.6 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.3768, allocations: 219.7 kB / 0.8136 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.377, allocations: 311.7 kB / 0.8139 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.3781, allocations: 1.023 MB / 0.8149 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3781, allocations: 0 / 0.8149 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3781, allocations: 0 / 0.8149 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3781, allocations: 0 / 0.8149 GB, free: 27.93 MB / 0.5261 GB 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.002774/0.3809, allocations: 1.125 MB / 0.816 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3809, allocations: 9 kB / 0.816 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.3814, allocations: 107.2 kB / 0.8161 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/0.3821, allocations: 420.1 kB / 0.8165 GB, free: 26.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.3821, allocations: 37.02 kB / 0.8165 GB, free: 26.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.3822, allocations: 51.62 kB / 0.8166 GB, free: 26.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3833, allocations: 0.7968 MB / 0.8174 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3833, allocations: 0 / 0.8174 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/0.3833, allocations: 18.94 kB / 0.8174 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.3834, allocations: 25.52 kB / 0.8174 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/0.3842, allocations: 0.5268 MB / 0.8179 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.3874, allocations: 1.859 MB / 0.8197 GB, free: 25.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.3889, allocations: 0.8544 MB / 0.8206 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/0.3894, allocations: 407.3 kB / 0.821 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.3895, allocations: 10.56 kB / 0.821 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3895, allocations: 45.98 kB / 0.821 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=67): time 2.425e-06/0.3895, allocations: 0 / 0.821 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.00229/0.3918, allocations: 1.158 MB / 0.8221 GB, free: 24.24 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.3918, allocations: 216.3 kB / 0.8224 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.3923, allocations: 458.9 kB / 0.8228 GB, free: 23.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.3924, allocations: 36.7 kB / 0.8228 GB, free: 23.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.3925, allocations: 244.5 kB / 0.8231 GB, free: 23.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.3927, allocations: 256.3 kB / 0.8233 GB, free: 23.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.3929, allocations: 132.6 kB / 0.8234 GB, free: 23.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.393, allocations: 372.6 kB / 0.8238 GB, free: 22.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.3935, allocations: 336.3 kB / 0.8241 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.3941, allocations: 0.5807 MB / 0.8247 GB, free: 22.41 MB / 0.5261 GB 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.06028/0.4543, allocations: 7.723 MB / 0.8322 GB, free: 20.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4544, allocations: 1.094 kB / 0.8322 GB, free: 20.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001754/0.4561, allocations: 0.9293 MB / 0.8331 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4561, allocations: 5.312 kB / 0.8331 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.4561, allocations: 2.234 kB / 0.8331 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003539/0.4565, allocations: 56.92 kB / 0.8332 GB, free: 19.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008964/0.4574, allocations: 199.9 kB / 0.8334 GB, free: 19.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.4585, allocations: 1.393 MB / 0.8347 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.4591, allocations: 73.75 kB / 0.8348 GB, free: 18.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.4592, allocations: 28.44 kB / 0.8348 GB, free: 18.1 MB / 0.5261 GB 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.0002849/0.4595, allocations: 192.2 kB / 0.835 GB, free: 17.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.4596, allocations: 62.34 kB / 0.8351 GB, free: 17.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.4614, allocations: 0.9769 MB / 0.836 GB, free: 17.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.4614, allocations: 6.875 kB / 0.836 GB, free: 17.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4614, allocations: 1.094 kB / 0.836 GB, free: 17.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.4614, allocations: 9.156 kB / 0.836 GB, free: 17.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.4635, allocations: 1.4 MB / 0.8374 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4635, allocations: 5.266 kB / 0.8374 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.4647, allocations: 231.7 kB / 0.8376 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003179/0.465, allocations: 62.81 kB / 0.8377 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.4651, allocations: 24.73 kB / 0.8377 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.4671, allocations: 3.914 MB / 0.8415 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4671, allocations: 0 / 0.8415 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.469, allocations: 1.288 MB / 0.8428 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.4691, allocations: 74.28 kB / 0.8429 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.4692, allocations: 23.8 kB / 0.8429 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.4697, allocations: 28.05 kB / 0.8429 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.4698, allocations: 55.89 kB / 0.843 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.4699, allocations: 18.06 kB / 0.843 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000353/0.4702, allocations: 337.3 kB / 0.8433 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.4702, allocations: 1.438 kB / 0.8433 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008212/0.4711, allocations: 257.2 kB / 0.8436 GB, free: 11.29 MB / 0.5261 GB 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.000368/0.4714, allocations: 183.3 kB / 0.8437 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.473, allocations: 0.8664 MB / 0.8446 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4731, allocations: 1.062 kB / 0.8446 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.4741, allocations: 0.5591 MB / 0.8451 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.4748, allocations: 146.4 kB / 0.8453 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.4773, allocations: 1.988 MB / 0.8472 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.4775, allocations: 314.1 kB / 0.8475 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005746/0.4781, allocations: 166.7 kB / 0.8477 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.4784, allocations: 75.64 kB / 0.8477 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of SimCode: time 6.81e-07/0.4784, allocations: 4 kB / 0.8477 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of Templates: time 0.02025/0.4986, allocations: 14.29 MB / 0.8617 GB, free: 14.12 MB / 0.5417 GB " [Timeout remaining time 659] 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: 6.94181910995394]