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.001182/0.001182, allocations: 88.22 kB / 20.43 MB, free: 4.145 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 1.046/1.046, allocations: 177.1 MB / 200.8 MB, free: 5.527 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.001236/0.001236, allocations: 156.6 kB / 257.4 MB, free: 12.98 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.3097/0.3097, allocations: 80.24 MB / 394.2 MB, free: 3.191 MB / 362.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.02086/0.02086, allocations: 4.797 MB / 482.3 MB, free: 71.8 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: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.5674 GB, free: 4.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.757e-05, allocations: 2.312 kB / 0.5674 GB, free: 4.957 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.005332/0.00535, allocations: 5.103 MB / 0.5723 GB, free: 15.82 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004565/0.009915, allocations: 3.115 MB / 0.5754 GB, free: 12.69 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.01033, allocations: 12 kB / 0.5754 GB, free: 12.68 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.01185, allocations: 1.174 MB / 0.5765 GB, free: 11.5 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00085/0.0127, allocations: 488.4 kB / 0.577 GB, free: 11.02 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.01427, allocations: 0.8103 MB / 0.5778 GB, free: 10.21 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.01566, allocations: 1.377 MB / 0.5791 GB, free: 8.824 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007312/0.01639, allocations: 0.5656 MB / 0.5797 GB, free: 8.246 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007658/0.01715, allocations: 0.7363 MB / 0.5804 GB, free: 7.508 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005316/0.01768, allocations: 474.4 kB / 0.5809 GB, free: 7.043 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.01784, allocations: 108 kB / 0.581 GB, free: 6.938 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005146/0.01835, allocations: 335.6 kB / 0.5813 GB, free: 6.609 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.01853, allocations: 270.7 kB / 0.5815 GB, free: 6.344 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.01889, allocations: 394.8 kB / 0.5819 GB, free: 5.957 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.02004, allocations: 1.024 MB / 0.5829 GB, free: 4.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.02004, allocations: 0 / 0.5829 GB, free: 4.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02004, allocations: 4 kB / 0.5829 GB, free: 4.926 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.02005, allocations: 0 / 0.5829 GB, free: 4.926 MB / 458.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.002258/0.02231, allocations: 1.631 MB / 0.5845 GB, free: 3.227 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.02235, allocations: 16.03 kB / 0.5845 GB, free: 3.211 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006502/0.023, allocations: 220.1 kB / 0.5847 GB, free: 2.996 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000804/0.0238, allocations: 0.6104 MB / 0.5853 GB, free: 2.355 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.02384, allocations: 50.38 kB / 0.5854 GB, free: 2.305 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.996e-05/0.02394, allocations: 80.38 kB / 0.5855 GB, free: 2.227 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.02499, allocations: 1.083 MB / 0.5865 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.02501, allocations: 0 / 0.5865 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.02508, allocations: 39.97 kB / 0.5866 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.02509, allocations: 27.94 kB / 0.5866 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.02571, allocations: 307.5 kB / 0.5869 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.02859, allocations: 2.652 MB / 0.5895 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.02926, allocations: 424.2 kB / 0.5899 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.02956, allocations: 186.1 kB / 0.5901 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/0.02995, allocations: 128.5 kB / 0.5902 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.02998, allocations: 46.05 kB / 0.5902 GB, free: 13.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=77): time 2.235e-06/0.02998, allocations: 3.938 kB / 0.5902 GB, free: 13.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=85): time 0.002659/0.03264, allocations: 1.604 MB / 0.5918 GB, free: 11.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.03276, allocations: 406.5 kB / 0.5922 GB, free: 10.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006634/0.03342, allocations: 0.7923 MB / 0.593 GB, free: 10.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.03346, allocations: 45.7 kB / 0.593 GB, free: 10.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.0337, allocations: 0.4995 MB / 0.5935 GB, free: 9.559 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.03385, allocations: 309.3 kB / 0.5938 GB, free: 9.254 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.034, allocations: 160.3 kB / 0.5939 GB, free: 9.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.03412, allocations: 0.5121 MB / 0.5944 GB, free: 8.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.03433, allocations: 129.9 kB / 0.5946 GB, free: 8.441 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/0.03476, allocations: 0.7037 MB / 0.5952 GB, free: 7.574 MB / 474.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.001732/0.03649, allocations: 1.251 MB / 0.5965 GB, free: 6.301 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.03649, allocations: 0 / 0.5965 GB, free: 6.301 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0009423/0.03743, allocations: 0.7423 MB / 0.5972 GB, free: 5.547 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.03745, allocations: 4 kB / 0.5972 GB, free: 5.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.03746, allocations: 4 kB / 0.5972 GB, free: 5.539 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.0379, allocations: 174 kB / 0.5974 GB, free: 5.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.03827, allocations: 179.7 kB / 0.5975 GB, free: 5.191 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.04019, allocations: 2.707 MB / 0.6002 GB, free: 2.367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.04048, allocations: 31.98 kB / 0.6002 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.04052, allocations: 32 kB / 0.6002 GB, free: 2.305 MB / 474.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.000186/0.0407, allocations: 216.3 kB / 0.6004 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.04082, allocations: 123.3 kB / 0.6006 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009094/0.04173, allocations: 0.7107 MB / 0.6013 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.04174, allocations: 11.94 kB / 0.6013 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.04174, allocations: 4 kB / 0.6013 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.04175, allocations: 3.984 kB / 0.6013 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.04316, allocations: 1.318 MB / 0.6026 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.04317, allocations: 0 / 0.6026 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.04364, allocations: 203.8 kB / 0.6028 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004148/0.04405, allocations: 188.9 kB / 0.6029 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.04408, allocations: 23.98 kB / 0.603 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.04706, allocations: 6.305 MB / 0.6091 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.04706, allocations: 4.031 kB / 0.6091 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.0482, allocations: 1.023 MB / 0.6101 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.04842, allocations: 179.2 kB / 0.6103 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/0.0485, allocations: 20 kB / 0.6103 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.04877, allocations: 27.98 kB / 0.6103 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.04886, allocations: 76.8 kB / 0.6104 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.04889, allocations: 27.94 kB / 0.6104 GB, free: 7.379 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000463/0.04935, allocations: 0.5418 MB / 0.611 GB, free: 6.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04935, allocations: 0 / 0.611 GB, free: 6.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005528/0.0499, allocations: 307.8 kB / 0.6113 GB, free: 6.539 MB / 490.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.0003021/0.05021, allocations: 182.4 kB / 0.6114 GB, free: 6.355 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009784/0.05118, allocations: 0.751 MB / 0.6122 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.05119, allocations: 4 kB / 0.6122 GB, free: 5.582 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007104/0.0519, allocations: 0.5935 MB / 0.6127 GB, free: 4.969 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.05254, allocations: 284.2 kB / 0.613 GB, free: 4.699 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.05478, allocations: 1.846 MB / 0.6148 GB, free: 2.793 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.05505, allocations: 431.6 kB / 0.6152 GB, free: 2.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.05524, allocations: 92.45 kB / 0.6153 GB, free: 2.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/0.05524, allocations: 0 / 0.6153 GB, free: 2.25 MB / 490.7 MB Notification: Performance of Templates: time 0.162/0.2172, allocations: 21.28 MB / 0.6361 GB, free: 125.2 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 > OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.315138375852257]