Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.OpenChannel.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.0008378/0.0008378, allocations: 88.22 kB / 20.43 MB, free: 4.141 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.9133/0.9133, allocations: 177.1 MB / 200.8 MB, free: 5.52 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.001763/0.001763, allocations: 164.4 kB / 257.4 MB, free: 12.99 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.3028/0.3028, allocations: 80.24 MB / 394.2 MB, free: 2.148 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.03491/0.03491, allocations: 4.791 MB / 482.3 MB, free: 3.754 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.OpenChannel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.OpenChannel") translateModel(OpenHPL.Examples.OpenChannel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.OpenChannel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.5674 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.411e-05, allocations: 6.312 kB / 0.5674 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.1646/0.1647, allocations: 3.127 MB / 0.5704 GB, free: 95.03 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.1671, allocations: 1.919 MB / 0.5723 GB, free: 93.94 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.1674, allocations: 9.438 kB / 0.5723 GB, free: 93.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008813/0.1682, allocations: 0.5543 MB / 0.5728 GB, free: 93.61 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.1687, allocations: 239.4 kB / 0.5731 GB, free: 93.45 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009628/0.1697, allocations: 390.5 kB / 0.5734 GB, free: 93.29 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008883/0.1706, allocations: 1.084 MB / 0.5745 GB, free: 92.77 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005863/0.1711, allocations: 348.1 kB / 0.5748 GB, free: 92.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006031/0.1717, allocations: 0.5109 MB / 0.5753 GB, free: 92.36 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005388/0.1723, allocations: 386.5 kB / 0.5757 GB, free: 92.24 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.1725, allocations: 85.72 kB / 0.5758 GB, free: 92.24 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/0.1731, allocations: 346.1 kB / 0.5761 GB, free: 92.18 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.1732, allocations: 219.6 kB / 0.5763 GB, free: 92.05 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.1735, allocations: 275.4 kB / 0.5766 GB, free: 91.92 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1746, allocations: 0.8806 MB / 0.5774 GB, free: 91.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1746, allocations: 1.906 kB / 0.5774 GB, free: 91.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1746, allocations: 0 / 0.5774 GB, free: 91.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.1746, allocations: 0.5625 kB / 0.5774 GB, free: 91.59 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002032/0.1767, allocations: 1.233 MB / 0.5786 GB, free: 90.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1767, allocations: 9.375 kB / 0.5787 GB, free: 90.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/0.1772, allocations: 129.7 kB / 0.5788 GB, free: 90.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.1777, allocations: 427.3 kB / 0.5792 GB, free: 90.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1777, allocations: 34.31 kB / 0.5792 GB, free: 90.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.1778, allocations: 50.23 kB / 0.5793 GB, free: 90.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/0.1785, allocations: 0.6227 MB / 0.5799 GB, free: 90.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.1785, allocations: 8.078 kB / 0.5799 GB, free: 90 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.1785, allocations: 17.56 kB / 0.5799 GB, free: 89.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.1786, allocations: 26.05 kB / 0.5799 GB, free: 89.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004841/0.1791, allocations: 254.5 kB / 0.5802 GB, free: 89.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.1811, allocations: 1.659 MB / 0.5818 GB, free: 88.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.182, allocations: 0.5236 MB / 0.5823 GB, free: 88.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.1824, allocations: 212.2 kB / 0.5825 GB, free: 88.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1824, allocations: 15.91 kB / 0.5825 GB, free: 88.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1824, allocations: 48.48 kB / 0.5826 GB, free: 88.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=67): time 2.114e-06/0.1824, allocations: 0 / 0.5826 GB, free: 88.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=67): time 0.001356/0.1838, allocations: 0.6924 MB / 0.5832 GB, free: 88.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1838, allocations: 214.9 kB / 0.5834 GB, free: 88.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.1842, allocations: 476 kB / 0.5839 GB, free: 87.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.1842, allocations: 37.2 kB / 0.5839 GB, free: 87.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.1843, allocations: 292.1 kB / 0.5842 GB, free: 87.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.1844, allocations: 258.6 kB / 0.5845 GB, free: 87.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.1846, allocations: 145.7 kB / 0.5846 GB, free: 87.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.1847, allocations: 0.5416 MB / 0.5851 GB, free: 86.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.1849, allocations: 142.3 kB / 0.5853 GB, free: 86.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.1853, allocations: 421.9 kB / 0.5857 GB, free: 86.41 MB / 442.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: pipe.Vdot = pipe.Vdot_0 (discharge.Vdot_0 = pipe.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.1866, allocations: 0.7484 MB / 0.5864 GB, free: 86.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1866, allocations: 0.6875 kB / 0.5864 GB, free: 86.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0008964/0.1875, allocations: 0.5762 MB / 0.587 GB, free: 85.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1875, allocations: 7.422 kB / 0.587 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1875, allocations: 0 / 0.587 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/0.1878, allocations: 66.59 kB / 0.587 GB, free: 85.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.1882, allocations: 197.4 kB / 0.5872 GB, free: 85.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007621/0.189, allocations: 1.827 MB / 0.589 GB, free: 83.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.1893, allocations: 69.28 kB / 0.5891 GB, free: 83.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.1894, allocations: 25.8 kB / 0.5891 GB, free: 83.9 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: pipe.Vdot = pipe.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (82): * Single equations (assignments): 81 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.1895, allocations: 196.8 kB / 0.5893 GB, free: 83.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1897, allocations: 79.12 kB / 0.5894 GB, free: 83.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/0.1906, allocations: 0.6805 MB / 0.59 GB, free: 83.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1906, allocations: 8.281 kB / 0.59 GB, free: 83.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1906, allocations: 6.406 kB / 0.59 GB, free: 83.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1906, allocations: 3.984 kB / 0.59 GB, free: 83.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.1919, allocations: 1.088 MB / 0.5911 GB, free: 82.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1919, allocations: 1.812 kB / 0.5911 GB, free: 82.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/0.1925, allocations: 233.7 kB / 0.5913 GB, free: 82.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.1928, allocations: 65.78 kB / 0.5914 GB, free: 82.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/0.1928, allocations: 21.3 kB / 0.5914 GB, free: 82.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.1941, allocations: 5.427 MB / 0.5967 GB, free: 76.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1941, allocations: 5.125 kB / 0.5967 GB, free: 76.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.1952, allocations: 0.888 MB / 0.5976 GB, free: 76.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.1953, allocations: 74.31 kB / 0.5977 GB, free: 76.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/0.1954, allocations: 23.31 kB / 0.5977 GB, free: 76.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.1956, allocations: 33.22 kB / 0.5977 GB, free: 76.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.1957, allocations: 50.59 kB / 0.5978 GB, free: 76.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.1957, allocations: 23.58 kB / 0.5978 GB, free: 76.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002516/0.196, allocations: 326.3 kB / 0.5981 GB, free: 76.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.196, allocations: 0 / 0.5981 GB, free: 76.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006885/0.1967, allocations: 254.8 kB / 0.5983 GB, free: 76.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (reservoir.m,tail.m,openChannel.h_sec[1],openChannel.h_sec[2],openChannel.h_sec[3],openChannel.h_sec[4],openChannel.h_sec[5],openChannel.h_sec[6],openChannel.h_sec[7],openChannel.h_sec[8],openChannel.h_sec[9],openChannel.h_sec[10],pipe.mdot) * 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 (76): * Single equations (assignments): 73 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003376/0.197, allocations: 200.9 kB / 0.5985 GB, free: 75.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009515/0.1979, allocations: 0.6232 MB / 0.5991 GB, free: 75.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1979, allocations: 3.781 kB / 0.5991 GB, free: 75.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.1985, allocations: 493.2 kB / 0.5996 GB, free: 75.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.199, allocations: 153.4 kB / 0.5997 GB, free: 75.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.2008, allocations: 1.582 MB / 0.6013 GB, free: 73.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.201, allocations: 294.2 kB / 0.6016 GB, free: 73.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.2012, allocations: 76.45 kB / 0.6016 GB, free: 73.29 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2012, allocations: 0 / 0.6016 GB, free: 73.29 MB / 442.7 MB Notification: Performance of Templates: time 0.01117/0.2124, allocations: 14.45 MB / 0.6158 GB, free: 58.99 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.OpenChannel.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.OpenChannel.pipe ; mkfifo OpenHPL_OpenHPL.Examples.OpenChannel.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.OpenChannel.pipe >> ../files/OpenHPL_OpenHPL.Examples.OpenChannel.sim & ./OpenHPL_OpenHPL.Examples.OpenChannel > OpenHPL_OpenHPL.Examples.OpenChannel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.997628007084131]