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.0008825/0.0008825, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.026/1.026, allocations: 230.6 MB / 253.4 MB, free: 9.848 MB / 202.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.001397/0.001397, allocations: 220.5 kB / 310 MB, free: 1.93 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.4085/0.4085, allocations: 107.1 MB / 473.6 MB, free: 9.914 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.02233/0.02233, allocations: 6.315 MB / 0.5499 GB, free: 1.27 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.003827/0.003827, allocations: 133.7 kB / 0.7254 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3988, allocations: 81.65 MB / 0.8051 GB, free: 32.94 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.002593/0.4014, allocations: 2.885 MB / 0.8079 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.4032, allocations: 1.842 MB / 0.8097 GB, free: 29.76 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.4034, allocations: 7.25 kB / 0.8097 GB, free: 29.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007439/0.4041, allocations: 0.4992 MB / 0.8102 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.4045, allocations: 224.4 kB / 0.8104 GB, free: 29.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007646/0.4053, allocations: 391.8 kB / 0.8108 GB, free: 29.15 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007653/0.4061, allocations: 1.051 MB / 0.8118 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.4065, allocations: 355 kB / 0.8122 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.4069, allocations: 373.4 kB / 0.8125 GB, free: 28.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/0.4074, allocations: 423.9 kB / 0.8129 GB, free: 28.14 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.4074, allocations: 85.94 kB / 0.813 GB, free: 28.14 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.4078, allocations: 343.2 kB / 0.8134 GB, free: 28.08 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.4079, allocations: 216.4 kB / 0.8136 GB, free: 27.96 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.4081, allocations: 330.5 kB / 0.8139 GB, free: 27.78 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007787/0.4089, allocations: 1.009 MB / 0.8149 GB, free: 27.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4089, allocations: 0 / 0.8149 GB, free: 27.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.444e-06/0.4089, allocations: 3.188 kB / 0.8149 GB, free: 27.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.4089, allocations: 0 / 0.8149 GB, free: 27.41 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.001648/0.4105, allocations: 1.127 MB / 0.816 GB, free: 26.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4106, allocations: 9 kB / 0.816 GB, free: 26.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.4109, allocations: 103.8 kB / 0.8161 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.4114, allocations: 422.6 kB / 0.8165 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.4114, allocations: 32.34 kB / 0.8165 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.4114, allocations: 55 kB / 0.8166 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007312/0.4122, allocations: 0.7988 MB / 0.8173 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.4122, allocations: 0 / 0.8173 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.4122, allocations: 22.16 kB / 0.8174 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.4123, allocations: 25.97 kB / 0.8174 GB, free: 25.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.4129, allocations: 0.5269 MB / 0.8179 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.415, allocations: 1.852 MB / 0.8197 GB, free: 24.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.4161, allocations: 0.8498 MB / 0.8205 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/0.4165, allocations: 414.7 kB / 0.8209 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.4165, allocations: 11.08 kB / 0.8209 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.4166, allocations: 45.91 kB / 0.821 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=67): time 1.943e-06/0.4166, allocations: 0 / 0.821 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.001589/0.4182, allocations: 1.154 MB / 0.8221 GB, free: 23.72 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.4182, allocations: 216.6 kB / 0.8223 GB, free: 23.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.4186, allocations: 461.8 kB / 0.8228 GB, free: 23.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.4186, allocations: 41.56 kB / 0.8228 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.4187, allocations: 238.6 kB / 0.823 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.4188, allocations: 255.8 kB / 0.8233 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.419, allocations: 133.2 kB / 0.8234 GB, free: 22.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.4191, allocations: 374.2 kB / 0.8238 GB, free: 22.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.4194, allocations: 330.1 kB / 0.8241 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.4199, allocations: 0.579 MB / 0.8246 GB, free: 21.89 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.02806/0.4479, allocations: 7.72 MB / 0.8322 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4479, allocations: 5.281 kB / 0.8322 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001239/0.4492, allocations: 0.9253 MB / 0.8331 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4492, allocations: 9.656 kB / 0.8331 GB, free: 19.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4492, allocations: 1.156 kB / 0.8331 GB, free: 19.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.4494, allocations: 59.95 kB / 0.8331 GB, free: 19.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.4499, allocations: 200.3 kB / 0.8333 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007973/0.4507, allocations: 1.393 MB / 0.8347 GB, free: 17.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.451, allocations: 69.09 kB / 0.8348 GB, free: 17.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.451, allocations: 32.98 kB / 0.8348 GB, free: 17.85 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.0002353/0.4513, allocations: 191 kB / 0.835 GB, free: 17.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.4513, allocations: 63.08 kB / 0.835 GB, free: 17.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.4525, allocations: 0.9807 MB / 0.836 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4525, allocations: 7.875 kB / 0.836 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4525, allocations: 0.9062 kB / 0.836 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4525, allocations: 3.984 kB / 0.836 GB, free: 17.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.454, allocations: 1.401 MB / 0.8374 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.454, allocations: 1.094 kB / 0.8374 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/0.4546, allocations: 238.8 kB / 0.8376 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.4548, allocations: 59.83 kB / 0.8377 GB, free: 16.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.4548, allocations: 20.23 kB / 0.8377 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.456, allocations: 3.914 MB / 0.8415 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.456, allocations: 1.344 kB / 0.8415 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.4573, allocations: 1.285 MB / 0.8428 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.4574, allocations: 77.34 kB / 0.8428 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.4575, allocations: 27.42 kB / 0.8429 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.4577, allocations: 27.58 kB / 0.8429 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.4578, allocations: 63.48 kB / 0.8429 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.4578, allocations: 23.58 kB / 0.843 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000252/0.4581, allocations: 329.1 kB / 0.8433 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.4581, allocations: 0 / 0.8433 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005621/0.4586, allocations: 255.1 kB / 0.8435 GB, free: 11.04 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.0003092/0.4589, allocations: 186.8 kB / 0.8437 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.46, allocations: 0.8573 MB / 0.8445 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.46, allocations: 1.25 kB / 0.8445 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.4607, allocations: 0.5642 MB / 0.8451 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.4611, allocations: 137.1 kB / 0.8452 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.4629, allocations: 2.008 MB / 0.8472 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.4631, allocations: 296.5 kB / 0.8475 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.4633, allocations: 70.09 kB / 0.8475 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of SimCode: time 6.22e-07/0.4633, allocations: 0 / 0.8475 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of Templates: time 0.01069/0.474, allocations: 14.24 MB / 0.8614 GB, free: 14.3 MB / 0.5417 GB " [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 > OpenHPL_OpenHPL.Examples.OpenChannel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.128220076672733]