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.001429/0.001429, allocations: 93.06 kB / 19.65 MB, free: 280 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.033/1.033, allocations: 177.2 MB / 200 MB, free: 5.512 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.001251/0.001251, allocations: 164.3 kB / 256.6 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.2794/0.2794, allocations: 80.24 MB / 393.4 MB, free: 2.137 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.02087/0.02087, allocations: 4.795 MB / 481.5 MB, free: 3.766 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.834e-06/1.834e-06, allocations: 0 / 0.5674 GB, free: 96 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.25e-05, allocations: 2.312 kB / 0.5674 GB, free: 92 kB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.155/0.155, allocations: 3.123 MB / 0.5704 GB, free: 94.95 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1571, allocations: 1.917 MB / 0.5723 GB, free: 93.71 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.1573, allocations: 2.656 kB / 0.5723 GB, free: 93.71 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008014/0.1581, allocations: 0.5597 MB / 0.5729 GB, free: 93.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.1585, allocations: 244.9 kB / 0.5731 GB, free: 93.22 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/0.1593, allocations: 390 kB / 0.5735 GB, free: 93.05 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008377/0.1602, allocations: 1.083 MB / 0.5745 GB, free: 92.54 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004714/0.1606, allocations: 354.4 kB / 0.5749 GB, free: 92.35 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005056/0.1611, allocations: 0.5024 MB / 0.5753 GB, free: 92.13 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.1616, allocations: 389.6 kB / 0.5757 GB, free: 92.01 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.1617, allocations: 86.31 kB / 0.5758 GB, free: 92.01 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004266/0.1621, allocations: 340.8 kB / 0.5761 GB, free: 91.95 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1623, allocations: 227.5 kB / 0.5763 GB, free: 91.81 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.1625, allocations: 267.2 kB / 0.5766 GB, free: 91.69 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008694/0.1634, allocations: 0.8858 MB / 0.5775 GB, free: 91.35 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1634, allocations: 0.6562 kB / 0.5775 GB, free: 91.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1634, allocations: 0 / 0.5775 GB, free: 91.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1634, allocations: 0.75 kB / 0.5775 GB, free: 91.35 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.001714/0.1651, allocations: 1.233 MB / 0.5787 GB, free: 90.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1651, allocations: 10.19 kB / 0.5787 GB, free: 90.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.1655, allocations: 137.7 kB / 0.5788 GB, free: 90.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.166, allocations: 428.5 kB / 0.5792 GB, free: 90.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.166, allocations: 30.66 kB / 0.5792 GB, free: 90.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.1661, allocations: 48.77 kB / 0.5793 GB, free: 90.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.1667, allocations: 0.6211 MB / 0.5799 GB, free: 89.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.1668, allocations: 6.312 kB / 0.5799 GB, free: 89.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.1668, allocations: 16.5 kB / 0.5799 GB, free: 89.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/0.1668, allocations: 29.69 kB / 0.58 GB, free: 89.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.1673, allocations: 250.9 kB / 0.5802 GB, free: 89.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.1692, allocations: 1.662 MB / 0.5818 GB, free: 88.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/0.17, allocations: 0.5256 MB / 0.5823 GB, free: 88.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.1703, allocations: 211 kB / 0.5825 GB, free: 88.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.1703, allocations: 18.17 kB / 0.5825 GB, free: 88.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1703, allocations: 43.59 kB / 0.5826 GB, free: 88.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=67): time 1.924e-06/0.1703, allocations: 0 / 0.5826 GB, free: 88.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=67): time 0.001218/0.1715, allocations: 0.6884 MB / 0.5833 GB, free: 88.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.1716, allocations: 222 kB / 0.5835 GB, free: 87.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.1719, allocations: 471.9 kB / 0.5839 GB, free: 87.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.1719, allocations: 41.67 kB / 0.584 GB, free: 87.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.172, allocations: 287.9 kB / 0.5842 GB, free: 87.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.758e-05/0.1721, allocations: 259.7 kB / 0.5845 GB, free: 87.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.1723, allocations: 140.5 kB / 0.5846 GB, free: 86.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.1724, allocations: 0.5491 MB / 0.5852 GB, free: 86.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.1726, allocations: 141.7 kB / 0.5853 GB, free: 86.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.1729, allocations: 431.9 kB / 0.5857 GB, free: 86.01 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.001202/0.1741, allocations: 0.7436 MB / 0.5864 GB, free: 85.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1741, allocations: 0 / 0.5864 GB, free: 85.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0008724/0.175, allocations: 0.5753 MB / 0.587 GB, free: 85.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.175, allocations: 6.5 kB / 0.587 GB, free: 85.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.175, allocations: 1.406 kB / 0.587 GB, free: 85.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/0.1753, allocations: 58.47 kB / 0.5871 GB, free: 85.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.1758, allocations: 203.7 kB / 0.5872 GB, free: 85.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008335/0.1766, allocations: 1.82 MB / 0.589 GB, free: 83.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.1769, allocations: 72.48 kB / 0.5891 GB, free: 83.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.177, allocations: 31.08 kB / 0.5891 GB, free: 83.51 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.0001476/0.1771, allocations: 190.7 kB / 0.5893 GB, free: 83.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1772, allocations: 80.97 kB / 0.5894 GB, free: 83.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008643/0.1781, allocations: 0.6867 MB / 0.5901 GB, free: 82.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1781, allocations: 6.656 kB / 0.5901 GB, free: 82.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1781, allocations: 1.062 kB / 0.5901 GB, free: 82.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.1781, allocations: 4.922 kB / 0.5901 GB, free: 82.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.1792, allocations: 1.077 MB / 0.5911 GB, free: 82.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1792, allocations: 4.938 kB / 0.5911 GB, free: 82.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.1798, allocations: 230.2 kB / 0.5913 GB, free: 82.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.18, allocations: 70.67 kB / 0.5914 GB, free: 82.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.18, allocations: 23.2 kB / 0.5914 GB, free: 82.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.1812, allocations: 5.427 MB / 0.5967 GB, free: 76.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1812, allocations: 1.375 kB / 0.5967 GB, free: 76.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1822, allocations: 0.8957 MB / 0.5976 GB, free: 76.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.1823, allocations: 74.48 kB / 0.5977 GB, free: 75.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.1823, allocations: 24.8 kB / 0.5977 GB, free: 75.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1825, allocations: 22.39 kB / 0.5977 GB, free: 75.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.1826, allocations: 56.39 kB / 0.5978 GB, free: 75.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.1826, allocations: 19.22 kB / 0.5978 GB, free: 75.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002119/0.1829, allocations: 337.9 kB / 0.5981 GB, free: 75.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1829, allocations: 0 / 0.5981 GB, free: 75.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005645/0.1834, allocations: 255.5 kB / 0.5984 GB, free: 75.65 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.0002989/0.1837, allocations: 190.7 kB / 0.5985 GB, free: 75.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008323/0.1845, allocations: 0.628 MB / 0.5992 GB, free: 75.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1846, allocations: 0 / 0.5992 GB, free: 75.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004831/0.185, allocations: 499 kB / 0.5996 GB, free: 74.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1855, allocations: 148.2 kB / 0.5998 GB, free: 74.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.1871, allocations: 1.573 MB / 0.6013 GB, free: 73.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.77e-05/0.1872, allocations: 152.5 kB / 0.6015 GB, free: 72.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.1875, allocations: 144.6 kB / 0.6016 GB, free: 72.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.1877, allocations: 80.45 kB / 0.6017 GB, free: 72.66 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1877, allocations: 0 / 0.6017 GB, free: 72.66 MB / 442.7 MB Notification: Performance of Templates: time 0.01246/0.2002, allocations: 13.63 MB / 0.615 GB, free: 59.3 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.OpenChannel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.224448174238205]