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.001849/0.001849, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.521/1.521, allocations: 177.1 MB / 199.4 MB, free: 5.949 MB / 186.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.002168/0.002168, allocations: 156.6 kB / 255.9 MB, free: 13.36 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.4883/0.4883, allocations: 80.25 MB / 392.6 MB, free: 2.434 MB / 314.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.03841/0.03841, allocations: 4.792 MB / 480.6 MB, free: 4.047 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.442e-06/1.442e-06, allocations: 0 / 0.6457 GB, free: 23.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.271e-05, allocations: 2.281 kB / 0.6457 GB, free: 23.27 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.004036/0.004059, allocations: 4.656 MB / 0.6502 GB, free: 18.59 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00396/0.008019, allocations: 2.983 MB / 0.6531 GB, free: 15.59 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004719/0.008491, allocations: 8 kB / 0.6531 GB, free: 15.58 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.009977, allocations: 1.096 MB / 0.6542 GB, free: 14.48 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000871/0.01085, allocations: 482 kB / 0.6547 GB, free: 14 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.01238, allocations: 0.8154 MB / 0.6555 GB, free: 13.19 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009199/0.0133, allocations: 1.389 MB / 0.6568 GB, free: 11.8 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005657/0.01386, allocations: 0.5695 MB / 0.6574 GB, free: 11.21 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006022/0.01447, allocations: 0.7285 MB / 0.6581 GB, free: 10.48 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.0149, allocations: 474.3 kB / 0.6585 GB, free: 10.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.01504, allocations: 108 kB / 0.6586 GB, free: 9.914 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005288/0.01556, allocations: 351.5 kB / 0.659 GB, free: 9.57 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.0157, allocations: 262.8 kB / 0.6592 GB, free: 9.312 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.01599, allocations: 394.8 kB / 0.6596 GB, free: 8.926 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.01701, allocations: 1.308 MB / 0.6609 GB, free: 7.613 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01702, allocations: 0 / 0.6609 GB, free: 7.613 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01702, allocations: 0 / 0.6609 GB, free: 7.613 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.01703, allocations: 0 / 0.6609 GB, free: 7.613 MB / 442.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.002417/0.01945, allocations: 1.539 MB / 0.6624 GB, free: 6.016 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.0195, allocations: 8.031 kB / 0.6624 GB, free: 6.008 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000672/0.02017, allocations: 164.1 kB / 0.6625 GB, free: 5.848 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.02096, allocations: 0.603 MB / 0.6631 GB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.02099, allocations: 50.38 kB / 0.6632 GB, free: 5.168 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.02108, allocations: 80.33 kB / 0.6633 GB, free: 5.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.0221, allocations: 1.195 MB / 0.6644 GB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.02212, allocations: 0 / 0.6644 GB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.02219, allocations: 28 kB / 0.6645 GB, free: 3.699 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.0222, allocations: 16 kB / 0.6645 GB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.02307, allocations: 0.5593 MB / 0.665 GB, free: 3.125 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/0.02603, allocations: 2.358 MB / 0.6673 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008068/0.02683, allocations: 0.5804 MB / 0.6679 GB, free: 120 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005915/0.02742, allocations: 283.3 kB / 0.6682 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006328/0.02806, allocations: 112.6 kB / 0.6683 GB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.02812, allocations: 47.22 kB / 0.6683 GB, free: 15.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=77): time 2.825e-06/0.02812, allocations: 0 / 0.6683 GB, free: 15.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=85): time 0.004674/0.0328, allocations: 2.052 MB / 0.6703 GB, free: 13.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002619/0.03306, allocations: 402.5 kB / 0.6707 GB, free: 13.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.03435, allocations: 0.8566 MB / 0.6715 GB, free: 12.24 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.03441, allocations: 41.7 kB / 0.6716 GB, free: 12.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.03482, allocations: 444.9 kB / 0.672 GB, free: 11.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.03511, allocations: 313.3 kB / 0.6723 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.03538, allocations: 162.6 kB / 0.6724 GB, free: 11.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.03556, allocations: 337.9 kB / 0.6728 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.03611, allocations: 253.9 kB / 0.673 GB, free: 10.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009765/0.03709, allocations: 0.7762 MB / 0.6738 GB, free: 9.777 MB / 458.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.009312/0.0464, allocations: 2.64 MB / 0.6763 GB, free: 7.121 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.04641, allocations: 0 / 0.6763 GB, free: 7.121 MB / 458.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002225/0.04863, allocations: 0.9505 MB / 0.6773 GB, free: 6.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.04865, allocations: 4 kB / 0.6773 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.04866, allocations: 0 / 0.6773 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000658/0.04932, allocations: 175.5 kB / 0.6774 GB, free: 5.984 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007876/0.0501, allocations: 183.7 kB / 0.6776 GB, free: 5.805 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/0.05373, allocations: 2.452 MB / 0.68 GB, free: 3.254 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/0.05452, allocations: 36.05 kB / 0.6801 GB, free: 3.219 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.05458, allocations: 35.98 kB / 0.6801 GB, free: 3.184 MB / 458.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.0004286/0.05501, allocations: 229.6 kB / 0.6803 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.05519, allocations: 103.3 kB / 0.6804 GB, free: 2.848 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.05724, allocations: 0.9072 MB / 0.6813 GB, free: 1.926 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.05725, allocations: 12 kB / 0.6813 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.05726, allocations: 4 kB / 0.6813 GB, free: 1.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.05727, allocations: 3.984 kB / 0.6813 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/0.06063, allocations: 1.511 MB / 0.6828 GB, free: 356 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.06064, allocations: 4 kB / 0.6828 GB, free: 352 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.06168, allocations: 203.8 kB / 0.683 GB, free: 148 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006583/0.06234, allocations: 168.6 kB / 0.6831 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.06239, allocations: 20 kB / 0.6832 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005669/0.06806, allocations: 4.976 MB / 0.688 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.06807, allocations: 8.094 kB / 0.688 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/0.0709, allocations: 1.32 MB / 0.6893 GB, free: 9.328 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004783/0.07138, allocations: 171.2 kB / 0.6895 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.07151, allocations: 24 kB / 0.6895 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.07213, allocations: 31.98 kB / 0.6895 GB, free: 9.105 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.07229, allocations: 64.88 kB / 0.6896 GB, free: 9.039 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/0.07234, allocations: 27.92 kB / 0.6896 GB, free: 9.012 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009561/0.0733, allocations: 0.6122 MB / 0.6902 GB, free: 8.406 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0733, allocations: 0 / 0.6902 GB, free: 8.406 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001009/0.07431, allocations: 303.8 kB / 0.6905 GB, free: 8.109 MB / 474.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.0004653/0.07477, allocations: 189.7 kB / 0.6907 GB, free: 7.918 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.07689, allocations: 0.8687 MB / 0.6915 GB, free: 7.039 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.07689, allocations: 0 / 0.6915 GB, free: 7.039 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.07844, allocations: 0.5967 MB / 0.6921 GB, free: 6.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.0796, allocations: 259.6 kB / 0.6924 GB, free: 6.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.08297, allocations: 1.865 MB / 0.6942 GB, free: 4.277 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.08348, allocations: 440.2 kB / 0.6946 GB, free: 3.812 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005696/0.08405, allocations: 139.7 kB / 0.6947 GB, free: 3.672 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.08432, allocations: 92.45 kB / 0.6948 GB, free: 3.582 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/0.08432, allocations: 0 / 0.6948 GB, free: 3.582 MB / 474.7 MB Notification: Performance of Templates: time 0.03394/0.1183, allocations: 18.5 MB / 0.7129 GB, free: 1.457 MB / 490.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: 6.631413786206394]