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.0009328/0.0009328, allocations: 100.3 kB / 19.7 MB, free: 444 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.05/1.05, allocations: 230.6 MB / 253.4 MB, free: 9.844 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.001804/0.001804, allocations: 217.6 kB / 310 MB, free: 1.984 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.4219/0.4219, allocations: 107.2 MB / 473.6 MB, free: 9.941 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.02753/0.02753, allocations: 6.305 MB / 0.5499 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.002217/0.002217, allocations: 128.2 kB / 0.7254 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3751, allocations: 81.65 MB / 0.8051 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.003383/0.3785, allocations: 4.63 MB / 0.8096 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.3814, allocations: 2.976 MB / 0.8126 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.3817, allocations: 10.59 kB / 0.8126 GB, free: 27.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000954/0.3827, allocations: 1.045 MB / 0.8136 GB, free: 27.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004883/0.3831, allocations: 462.8 kB / 0.814 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.3841, allocations: 0.8015 MB / 0.8148 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007484/0.3849, allocations: 1.334 MB / 0.8161 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005791/0.3855, allocations: 0.5614 MB / 0.8167 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.3859, allocations: 0.5239 MB / 0.8172 GB, free: 25.39 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.3864, allocations: 0.5354 MB / 0.8177 GB, free: 25.16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.3865, allocations: 109.5 kB / 0.8178 GB, free: 25.15 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.3869, allocations: 352 kB / 0.8181 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.387, allocations: 258.3 kB / 0.8184 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.3873, allocations: 472.7 kB / 0.8188 GB, free: 24.66 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3883, allocations: 1.301 MB / 0.8201 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3883, allocations: 0.6094 kB / 0.8201 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3883, allocations: 2.375 kB / 0.8201 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.3884, allocations: 0 / 0.8201 GB, free: 24.12 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.001821/0.3902, allocations: 1.541 MB / 0.8216 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3902, allocations: 9.188 kB / 0.8216 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004104/0.3906, allocations: 163.6 kB / 0.8218 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.3913, allocations: 0.6043 MB / 0.8224 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.3913, allocations: 53.44 kB / 0.8224 GB, free: 22.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/0.3914, allocations: 79.98 kB / 0.8225 GB, free: 22.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/0.3923, allocations: 1.194 MB / 0.8237 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.3923, allocations: 3.938 kB / 0.8237 GB, free: 21.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.3923, allocations: 29.06 kB / 0.8237 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3923, allocations: 14.84 kB / 0.8237 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007052/0.393, allocations: 0.5519 MB / 0.8242 GB, free: 21.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.3954, allocations: 2.365 MB / 0.8266 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.396, allocations: 0.5801 MB / 0.8271 GB, free: 19.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.3963, allocations: 282 kB / 0.8274 GB, free: 19.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/0.3967, allocations: 124.1 kB / 0.8275 GB, free: 19.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.3967, allocations: 53.12 kB / 0.8276 GB, free: 19.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=77): time 1.913e-06/0.3967, allocations: 0 / 0.8276 GB, free: 19.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.002826/0.3995, allocations: 2.048 MB / 0.8296 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.3996, allocations: 404.1 kB / 0.8299 GB, free: 17.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.4004, allocations: 0.8492 MB / 0.8308 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.4004, allocations: 42.39 kB / 0.8308 GB, free: 17.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.4006, allocations: 455 kB / 0.8312 GB, free: 17.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.4007, allocations: 311.1 kB / 0.8315 GB, free: 16.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.4009, allocations: 165.4 kB / 0.8317 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.4009, allocations: 343.4 kB / 0.832 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.4013, allocations: 255.8 kB / 0.8323 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.4017, allocations: 0.771 MB / 0.833 GB, free: 15.78 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.005004/0.4067, allocations: 2.642 MB / 0.8356 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4067, allocations: 0 / 0.8356 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001242/0.4079, allocations: 0.9493 MB / 0.8365 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4079, allocations: 7.953 kB / 0.8365 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.408, allocations: 2.156 kB / 0.8365 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.4084, allocations: 167 kB / 0.8367 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.4088, allocations: 179.8 kB / 0.8369 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.4106, allocations: 2.46 MB / 0.8393 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.411, allocations: 38.42 kB / 0.8393 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.411, allocations: 29.16 kB / 0.8393 GB, free: 12.46 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.0002265/0.4113, allocations: 223 kB / 0.8396 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.4114, allocations: 102.7 kB / 0.8397 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.4125, allocations: 0.9208 MB / 0.8406 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4125, allocations: 8.844 kB / 0.8406 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4125, allocations: 2.562 kB / 0.8406 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4125, allocations: 9.203 kB / 0.8406 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.4142, allocations: 1.494 MB / 0.842 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4142, allocations: 5 kB / 0.842 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.4147, allocations: 201.8 kB / 0.8422 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003501/0.415, allocations: 170.2 kB / 0.8424 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.4151, allocations: 25.83 kB / 0.8424 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.4175, allocations: 4.975 MB / 0.8473 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4175, allocations: 9.125 kB / 0.8473 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.419, allocations: 1.319 MB / 0.8486 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.4193, allocations: 171.3 kB / 0.8487 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.4194, allocations: 27.5 kB / 0.8488 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.4197, allocations: 30.98 kB / 0.8488 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.4198, allocations: 75.08 kB / 0.8489 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.4198, allocations: 21.69 kB / 0.8489 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005386/0.4204, allocations: 0.6064 MB / 0.8495 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4204, allocations: 0 / 0.8495 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007126/0.4211, allocations: 304.9 kB / 0.8498 GB, free: 4.582 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.0002763/0.4213, allocations: 194.9 kB / 0.8499 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.4226, allocations: 0.8714 MB / 0.8508 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4226, allocations: 1.625 kB / 0.8508 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.4234, allocations: 0.5981 MB / 0.8514 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000715/0.4241, allocations: 256.7 kB / 0.8516 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.4262, allocations: 2.07 MB / 0.8537 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.4265, allocations: 433.5 kB / 0.8541 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.4267, allocations: 84.53 kB / 0.8541 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.4267, allocations: 0 / 0.8541 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of Templates: time 0.01833/0.445, allocations: 21.29 MB / 0.8749 GB, free: 224 kB / 0.5417 GB " [Timeout remaining time 660] 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 > OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.643410376273096]