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.001485/0.001485, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.9738/0.9738, allocations: 177.2 MB / 200.3 MB, free: 5.68 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.001593/0.001593, allocations: 152.6 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.4188/0.4188, allocations: 80.25 MB / 340.5 MB, free: 9.633 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.02073/0.02073, allocations: 4.787 MB / 375.3 MB, free: 7.137 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.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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 394.9 MB, free: 3.516 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.553e-05, allocations: 6.312 kB / 394.9 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.004266/0.004282, allocations: 5.03 MB / 400 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.009242, allocations: 3.183 MB / 403.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005025/0.009744, allocations: 11.94 kB / 403.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.011, allocations: 1.166 MB / 404.3 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007105/0.01171, allocations: 480.4 kB / 404.8 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.01313, allocations: 0.8142 MB / 405.6 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009123/0.01404, allocations: 1.381 MB / 407 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005219/0.01457, allocations: 0.6225 MB / 407.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005553/0.01512, allocations: 0.7247 MB / 408.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.01553, allocations: 482.4 kB / 408.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.01565, allocations: 108 kB / 408.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.01603, allocations: 339.5 kB / 409.3 MB, free: 5.109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.01617, allocations: 266.8 kB / 409.5 MB, free: 4.848 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005095/0.01668, allocations: 398.7 kB / 409.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.01744, allocations: 1.028 MB / 410.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01745, allocations: 0 / 410.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01745, allocations: 0 / 410.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.01745, allocations: 0 / 410.9 MB, free: 3.426 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001501/0.01895, allocations: 1.498 MB / 412.4 MB, free: 1.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.01899, allocations: 8.031 kB / 412.4 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.0194, allocations: 180.8 kB / 412.6 MB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.0199, allocations: 470.4 kB / 413.1 MB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.01993, allocations: 50.38 kB / 413.1 MB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.02001, allocations: 84.36 kB / 413.2 MB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.02064, allocations: 0.9991 MB / 414.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.02065, allocations: 0 / 414.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.02069, allocations: 28 kB / 414.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.0207, allocations: 16 kB / 414.2 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.02097, allocations: 216.8 kB / 414.5 MB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.02277, allocations: 1.798 MB / 416.3 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.02313, allocations: 349.8 kB / 416.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.02327, allocations: 139.9 kB / 416.7 MB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005589/0.02383, allocations: 120.6 kB / 416.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.02386, allocations: 43.22 kB / 416.9 MB, free: 13.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 2.514e-06/0.02386, allocations: 0 / 416.9 MB, free: 13.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.001887/0.02574, allocations: 1.245 MB / 418.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.02585, allocations: 402.5 kB / 418.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.02632, allocations: 0.6793 MB / 419.2 MB, free: 10.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.02635, allocations: 49.7 kB / 419.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.02651, allocations: 330.7 kB / 419.6 MB, free: 10.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.02664, allocations: 313.3 kB / 419.9 MB, free: 10 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.02678, allocations: 158.5 kB / 420 MB, free: 9.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.02686, allocations: 341.9 kB / 420.4 MB, free: 9.504 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.02698, allocations: 85.95 kB / 420.5 MB, free: 9.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.02727, allocations: 0.5928 MB / 421.1 MB, free: 8.684 MB / 394.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: 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.001142/0.02841, allocations: 0.9969 MB / 422.1 MB, free: 7.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.02842, allocations: 0 / 422.1 MB, free: 7.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0006107/0.02903, allocations: 0.5115 MB / 422.6 MB, free: 7.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.02904, allocations: 4 kB / 422.6 MB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.02905, allocations: 4 kB / 422.6 MB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003773/0.02943, allocations: 163.5 kB / 422.7 MB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.02978, allocations: 171.7 kB / 422.9 MB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.03145, allocations: 1.906 MB / 424.8 MB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.03171, allocations: 24 kB / 424.8 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.03174, allocations: 27.98 kB / 424.9 MB, free: 4.773 MB / 394.7 MB 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.000162/0.0319, allocations: 165.7 kB / 425 MB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/0.032, allocations: 83.86 kB / 425.1 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.03265, allocations: 0.5536 MB / 425.7 MB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.03266, allocations: 8 kB / 425.7 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.03266, allocations: 7.984 kB / 425.7 MB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.03267, allocations: 3.984 kB / 425.7 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.03369, allocations: 0.935 MB / 426.6 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.03369, allocations: 4 kB / 426.6 MB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.03411, allocations: 191.8 kB / 426.8 MB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/0.03447, allocations: 171.8 kB / 427 MB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.0345, allocations: 27.92 kB / 427 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/0.03685, allocations: 4.301 MB / 431.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.03685, allocations: 0 / 431.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007511/0.0376, allocations: 0.7364 MB / 432 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.03778, allocations: 103.3 kB / 432.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.03785, allocations: 20.03 kB / 432.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.03809, allocations: 28 kB / 432.2 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.03817, allocations: 72.73 kB / 432.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.03819, allocations: 20 kB / 432.3 MB, free: 13.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000275/0.03847, allocations: 356.5 kB / 432.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03847, allocations: 0 / 432.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005143/0.03898, allocations: 311.8 kB / 432.9 MB, free: 12.37 MB / 410.7 MB 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.0002442/0.03922, allocations: 164.2 kB / 433.1 MB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007428/0.03997, allocations: 0.6162 MB / 433.7 MB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.03998, allocations: 8.438 kB / 433.7 MB, free: 11.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.04054, allocations: 0.4895 MB / 434.2 MB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.0411, allocations: 268.5 kB / 434.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.04295, allocations: 1.674 MB / 436.1 MB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.04307, allocations: 197.5 kB / 436.3 MB, free: 8.859 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.04338, allocations: 135.8 kB / 436.5 MB, free: 8.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005365/0.04391, allocations: 357 kB / 436.8 MB, free: 8.375 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.04391, allocations: 0 / 436.8 MB, free: 8.375 MB / 410.7 MB Notification: Performance of Templates: time 0.1557/0.1996, allocations: 19.95 MB / 456.8 MB, free: 56.82 MB / 410.7 MB " [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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6583887967281044]