Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.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.001977/0.001977, 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.848 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.002337/0.002337, allocations: 213.9 kB / 309.2 MB, free: 1.957 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.6728/0.6728, allocations: 107.2 MB / 472.8 MB, free: 9.922 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.04126/0.04126, allocations: 6.299 MB / 0.5492 GB, free: 1.309 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.SimpleValveWithCreek,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValveWithCreek") translateModel(OpenHPL.Examples.SimpleValveWithCreek,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValveWithCreek") [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.006405/0.006405, allocations: 133.8 kB / 0.7254 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4212, allocations: 81.65 MB / 0.8052 GB, free: 33.42 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.004595/0.4258, allocations: 4.629 MB / 0.8097 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004655/0.4305, allocations: 2.98 MB / 0.8126 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005696/0.4311, allocations: 6.594 kB / 0.8126 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.4327, allocations: 1.044 MB / 0.8136 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008059/0.4335, allocations: 462.3 kB / 0.8141 GB, free: 27.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.4352, allocations: 0.8018 MB / 0.8148 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.4363, allocations: 1.342 MB / 0.8162 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007332/0.437, allocations: 0.5646 MB / 0.8167 GB, free: 26 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.4375, allocations: 0.514 MB / 0.8172 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006572/0.4382, allocations: 0.5356 MB / 0.8177 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.4383, allocations: 104.6 kB / 0.8178 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.439, allocations: 351.7 kB / 0.8182 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.4392, allocations: 262 kB / 0.8184 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.4395, allocations: 473.9 kB / 0.8189 GB, free: 25.01 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.4409, allocations: 1.309 MB / 0.8201 GB, free: 24.47 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4409, allocations: 0 / 0.8201 GB, free: 24.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4409, allocations: 0 / 0.8201 GB, free: 24.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.4409, allocations: 4 kB / 0.8201 GB, free: 24.46 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002723/0.4436, allocations: 1.533 MB / 0.8216 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4436, allocations: 9.656 kB / 0.8217 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006768/0.4443, allocations: 169.2 kB / 0.8218 GB, free: 23.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000862/0.4452, allocations: 0.6104 MB / 0.8224 GB, free: 22.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.4452, allocations: 50.05 kB / 0.8225 GB, free: 22.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.4453, allocations: 76.36 kB / 0.8225 GB, free: 22.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.4465, allocations: 1.194 MB / 0.8237 GB, free: 21.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.4465, allocations: 0 / 0.8237 GB, free: 21.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.4466, allocations: 38.23 kB / 0.8237 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.4466, allocations: 15.22 kB / 0.8237 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009483/0.4476, allocations: 0.5548 MB / 0.8243 GB, free: 21.76 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.4508, allocations: 2.36 MB / 0.8266 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000859/0.4517, allocations: 0.5733 MB / 0.8272 GB, free: 19.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.4521, allocations: 286.7 kB / 0.8274 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000674/0.4528, allocations: 121.6 kB / 0.8275 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.4528, allocations: 46.42 kB / 0.8276 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=77): time 3.096e-06/0.4528, allocations: 0 / 0.8276 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.003994/0.4568, allocations: 2.051 MB / 0.8296 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.4569, allocations: 400.7 kB / 0.83 GB, free: 18.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.4579, allocations: 0.8506 MB / 0.8308 GB, free: 17.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.458, allocations: 48.98 kB / 0.8309 GB, free: 17.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.4582, allocations: 454.3 kB / 0.8313 GB, free: 17.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.4584, allocations: 305.1 kB / 0.8316 GB, free: 17.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.4586, allocations: 159.5 kB / 0.8317 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.4587, allocations: 341.4 kB / 0.8321 GB, free: 16.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.4591, allocations: 260.2 kB / 0.8323 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.4598, allocations: 0.7633 MB / 0.833 GB, free: 16.14 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: penstock.Vdot = penstock.Vdot_0 (discharge.Vdot_0 = penstock.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = surgeTank.Vdot_0 (tunnel2.Vdot_0 - discharge.Vdot_0 = surgeTank.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: creekIntake.Vdot = creekIntake.Vdot_0 (tunnel1.Vdot_0 - tunnel2.Vdot_0 = creekIntake.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.008538/0.4683, allocations: 2.647 MB / 0.8356 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4684, allocations: 1.344 kB / 0.8356 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00204/0.4704, allocations: 0.955 MB / 0.8366 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4704, allocations: 5.781 kB / 0.8366 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4704, allocations: 6.625 kB / 0.8366 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00065/0.4711, allocations: 164.1 kB / 0.8367 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.4718, allocations: 178.1 kB / 0.8369 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.4746, allocations: 2.458 MB / 0.8393 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009022/0.4755, allocations: 38.61 kB / 0.8393 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.4755, allocations: 25.81 kB / 0.8394 GB, free: 12.68 MB / 0.5261 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: penstock.Vdot = penstock.Vdot_0 surgeTank.Vdot = surgeTank.Vdot_0 creekIntake.Vdot = creekIntake.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (91): * Single equations (assignments): 90 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000374/0.4759, allocations: 222.7 kB / 0.8396 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.476, allocations: 102.3 kB / 0.8397 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.4778, allocations: 0.916 MB / 0.8406 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.4778, allocations: 17.72 kB / 0.8406 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4778, allocations: 6.953 kB / 0.8406 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4778, allocations: 7.922 kB / 0.8406 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.4803, allocations: 1.499 MB / 0.8421 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4803, allocations: 1.062 kB / 0.8421 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008788/0.4812, allocations: 204.8 kB / 0.8423 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005781/0.4818, allocations: 168.2 kB / 0.8424 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.4818, allocations: 27.45 kB / 0.8424 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/0.4855, allocations: 4.98 MB / 0.8473 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.4855, allocations: 9.312 kB / 0.8473 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.4878, allocations: 1.323 MB / 0.8486 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/0.4883, allocations: 170.7 kB / 0.8488 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.4884, allocations: 19.53 kB / 0.8488 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/0.489, allocations: 30.55 kB / 0.8488 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.4892, allocations: 72.83 kB / 0.8489 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.4893, allocations: 24.88 kB / 0.8489 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001004/0.4903, allocations: 0.6063 MB / 0.8495 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4903, allocations: 4 kB / 0.8495 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001211/0.4915, allocations: 308.7 kB / 0.8498 GB, free: 4.781 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (reservoir.m,tunnel1.mdot,discharge.mdot,tail.m,creekIntake.m,tunnel2.mdot,surgeTank.m) * 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 (72): * Single equations (assignments): 69 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004473/0.4919, allocations: 184.3 kB / 0.85 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.4939, allocations: 0.8776 MB / 0.8508 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4939, allocations: 1.125 kB / 0.8508 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.4952, allocations: 0.6077 MB / 0.8514 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4963, allocations: 257.5 kB / 0.8517 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.4993, allocations: 2.05 MB / 0.8537 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.4997, allocations: 448.3 kB / 0.8541 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005772/0.5003, allocations: 131.6 kB / 0.8542 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.5005, allocations: 85.44 kB / 0.8543 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/0.5005, allocations: 0 / 0.8543 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of Templates: time 0.03559/0.5361, allocations: 19.88 MB / 0.8737 GB, free: 1.652 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe ; mkfifo OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe >> ../files/OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.sim & ./OpenHPL_OpenHPL.Examples.SimpleValveWithCreek -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.5193031299859285]