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.00108/0.00108, allocations: 92.22 kB / 19.65 MB, free: 276 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 0.9755/0.9755, allocations: 177.2 MB / 200 MB, free: 5.547 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.001127/0.001127, allocations: 160.4 kB / 256.6 MB, free: 13 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.2895/0.2895, allocations: 80.24 MB / 393.4 MB, free: 3.195 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.01965/0.01965, allocations: 4.796 MB / 481.5 MB, free: 71.77 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.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.643e-06/1.643e-06, allocations: 0 / 0.5674 GB, free: 4.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.78e-05, allocations: 6.312 kB / 0.5674 GB, free: 4.133 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.002883/0.002901, allocations: 3.129 MB / 0.5704 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.005026, allocations: 1.929 MB / 0.5723 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.005167, allocations: 0 / 0.5723 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007031/0.00587, allocations: 0.5556 MB / 0.5729 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.006204, allocations: 242.2 kB / 0.5731 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.006747, allocations: 390.8 kB / 0.5735 GB, free: 13.86 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000669/0.007416, allocations: 1.08 MB / 0.5745 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.007769, allocations: 356.5 kB / 0.5749 GB, free: 12.43 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.008208, allocations: 0.5029 MB / 0.5754 GB, free: 11.92 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.008567, allocations: 399 kB / 0.5757 GB, free: 11.53 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.438e-05/0.008652, allocations: 84 kB / 0.5758 GB, free: 11.45 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.009076, allocations: 339.4 kB / 0.5761 GB, free: 11.12 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.009213, allocations: 219.3 kB / 0.5763 GB, free: 10.9 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.009396, allocations: 279.3 kB / 0.5766 GB, free: 10.63 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006671/0.01006, allocations: 0.8839 MB / 0.5775 GB, free: 9.742 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01007, allocations: 0 / 0.5775 GB, free: 9.742 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01007, allocations: 0 / 0.5775 GB, free: 9.742 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.01007, allocations: 0 / 0.5775 GB, free: 9.742 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001665/0.01174, allocations: 1.227 MB / 0.5787 GB, free: 8.465 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.01177, allocations: 12.03 kB / 0.5787 GB, free: 8.453 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.01211, allocations: 132.5 kB / 0.5788 GB, free: 8.324 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.01253, allocations: 427 kB / 0.5792 GB, free: 7.875 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.01255, allocations: 33.38 kB / 0.5793 GB, free: 7.844 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.01261, allocations: 48.38 kB / 0.5793 GB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.01318, allocations: 0.6174 MB / 0.5799 GB, free: 7.094 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.01319, allocations: 8.141 kB / 0.5799 GB, free: 7.086 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.01323, allocations: 16.38 kB / 0.5799 GB, free: 7.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.01326, allocations: 24.88 kB / 0.5799 GB, free: 7.047 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.01365, allocations: 257.7 kB / 0.5802 GB, free: 6.797 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.01572, allocations: 1.662 MB / 0.5818 GB, free: 5.086 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/0.01649, allocations: 0.5425 MB / 0.5823 GB, free: 4.531 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.01676, allocations: 206 kB / 0.5825 GB, free: 4.328 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.01678, allocations: 8.656 kB / 0.5826 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.01681, allocations: 50.03 kB / 0.5826 GB, free: 4.262 MB / 458.7 MB Notification: Performance of pre-optimization done (n=67): time 1.853e-06/0.01681, allocations: 4 kB / 0.5826 GB, free: 4.258 MB / 458.7 MB Notification: Performance of matching and sorting (n=67): time 0.001131/0.01795, allocations: 0.6889 MB / 0.5833 GB, free: 3.559 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.01802, allocations: 218.3 kB / 0.5835 GB, free: 3.297 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.01845, allocations: 478.6 kB / 0.5839 GB, free: 2.812 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.01849, allocations: 37.7 kB / 0.584 GB, free: 2.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.01862, allocations: 288.4 kB / 0.5843 GB, free: 2.484 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.01874, allocations: 257.8 kB / 0.5845 GB, free: 2.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.01888, allocations: 144.3 kB / 0.5846 GB, free: 2.078 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.01903, allocations: 0.543 MB / 0.5852 GB, free: 1.523 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.01926, allocations: 141.9 kB / 0.5853 GB, free: 1.387 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.01958, allocations: 434.2 kB / 0.5857 GB, free: 0.8945 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: pipe.Vdot = pipe.Vdot_0 (discharge.Vdot_0 = pipe.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.0207, allocations: 0.7417 MB / 0.5864 GB, free: 140 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.0207, allocations: 3.984 kB / 0.5864 GB, free: 136 kB / 458.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000795/0.0215, allocations: 0.5719 MB / 0.587 GB, free: 15.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.02152, allocations: 6.5 kB / 0.587 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.02152, allocations: 0 / 0.587 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.02175, allocations: 63.69 kB / 0.5871 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.02219, allocations: 199.7 kB / 0.5873 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.02331, allocations: 1.822 MB / 0.589 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.02354, allocations: 75.58 kB / 0.5891 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.02357, allocations: 23.98 kB / 0.5891 GB, free: 13.25 MB / 474.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.000142/0.02372, allocations: 188.5 kB / 0.5893 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.331e-05/0.02381, allocations: 79.62 kB / 0.5894 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008536/0.02466, allocations: 0.6866 MB / 0.5901 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.02467, allocations: 15.92 kB / 0.5901 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.02467, allocations: 0 / 0.5901 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.02468, allocations: 3.984 kB / 0.5901 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.02578, allocations: 1.083 MB / 0.5911 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.02578, allocations: 0 / 0.5911 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.02636, allocations: 235.8 kB / 0.5914 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.02655, allocations: 63.61 kB / 0.5914 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.02659, allocations: 19.98 kB / 0.5914 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.02866, allocations: 5.43 MB / 0.5967 GB, free: 5.008 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02866, allocations: 4 kB / 0.5967 GB, free: 5.004 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009601/0.02962, allocations: 0.8903 MB / 0.5976 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.02968, allocations: 71.41 kB / 0.5977 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.02974, allocations: 24 kB / 0.5977 GB, free: 3.992 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.02995, allocations: 31.97 kB / 0.5977 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.03002, allocations: 56.58 kB / 0.5978 GB, free: 3.906 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.03005, allocations: 24 kB / 0.5978 GB, free: 3.883 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002243/0.03027, allocations: 327 kB / 0.5981 GB, free: 3.562 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03027, allocations: 0 / 0.5981 GB, free: 3.562 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004156/0.03069, allocations: 251.7 kB / 0.5984 GB, free: 3.316 MB / 474.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.0002906/0.03098, allocations: 202.8 kB / 0.5986 GB, free: 3.109 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008098/0.03179, allocations: 0.6258 MB / 0.5992 GB, free: 2.461 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03179, allocations: 0 / 0.5992 GB, free: 2.461 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.03232, allocations: 498.4 kB / 0.5996 GB, free: 1.957 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.03273, allocations: 153.4 kB / 0.5998 GB, free: 1.809 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.03446, allocations: 1.575 MB / 0.6013 GB, free: 196 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.813e-05/0.03455, allocations: 152.5 kB / 0.6015 GB, free: 20 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.03482, allocations: 148.9 kB / 0.6016 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.03503, allocations: 72.45 kB / 0.6017 GB, free: 15.8 MB / 490.7 MB Notification: Performance of SimCode: time 9.21e-07/0.03503, allocations: 8 kB / 0.6017 GB, free: 15.8 MB / 490.7 MB Notification: Performance of Templates: time 0.01527/0.0503, allocations: 14.42 MB / 0.6158 GB, free: 1.551 MB / 490.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.072180581279099]