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.00127/0.00127, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.8789/0.8789, allocations: 177.1 MB / 201 MB, free: 5.699 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.001384/0.001384, allocations: 164.2 kB / 257.7 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.2676/0.2676, allocations: 80.25 MB / 394.5 MB, free: 1.969 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.02081/0.02081, allocations: 4.798 MB / 482.6 MB, free: 3.93 MB / 394.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.382e-06/1.382e-06, allocations: 0 / 0.5686 GB, free: 100 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.501e-05, allocations: 2.312 kB / 0.5686 GB, free: 96 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.002745/0.00276, allocations: 3.091 MB / 0.5717 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.005111, allocations: 1.922 MB / 0.5735 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.005289, allocations: 7.938 kB / 0.5735 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008744/0.006163, allocations: 0.5401 MB / 0.5741 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.006514, allocations: 238.1 kB / 0.5743 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006228/0.007136, allocations: 394.8 kB / 0.5747 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007007/0.007837, allocations: 1.072 MB / 0.5757 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.008197, allocations: 354.7 kB / 0.5761 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.008611, allocations: 0.5067 MB / 0.5765 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.008999, allocations: 387 kB / 0.5769 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.545e-05/0.009084, allocations: 88 kB / 0.577 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.009446, allocations: 335.5 kB / 0.5773 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.00958, allocations: 231.2 kB / 0.5775 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.009763, allocations: 267.3 kB / 0.5778 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006543/0.01042, allocations: 0.8957 MB / 0.5787 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.01042, allocations: 4 kB / 0.5787 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.01e-07/0.01042, allocations: 0 / 0.5787 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.01043, allocations: 0 / 0.5787 GB, free: 5.754 MB / 0.4948 GB 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.001425/0.01185, allocations: 1.18 MB / 0.5798 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.678e-05/0.01188, allocations: 11.97 kB / 0.5798 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.0122, allocations: 132.5 kB / 0.58 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.01257, allocations: 406.9 kB / 0.5804 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.01259, allocations: 33.38 kB / 0.5804 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.01292, allocations: 48.33 kB / 0.5804 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.01338, allocations: 0.5821 MB / 0.581 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.01339, allocations: 192 / 0.581 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.01343, allocations: 20.38 kB / 0.581 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.01346, allocations: 32.92 kB / 0.5811 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.01373, allocations: 198.7 kB / 0.5812 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.01538, allocations: 1.573 MB / 0.5828 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.016, allocations: 473.2 kB / 0.5832 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.0162, allocations: 174 kB / 0.5834 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.01622, allocations: 16.64 kB / 0.5834 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.01625, allocations: 49.97 kB / 0.5835 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=67): time 1.803e-06/0.01625, allocations: 4 kB / 0.5835 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of matching and sorting (n=67): time 0.0009366/0.01719, allocations: 0.603 MB / 0.584 GB, free: 8 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.01726, allocations: 214.3 kB / 0.5843 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.01753, allocations: 462.4 kB / 0.5847 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.01757, allocations: 38.91 kB / 0.5847 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.01771, allocations: 300.2 kB / 0.585 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.01783, allocations: 257.8 kB / 0.5853 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.01797, allocations: 144.2 kB / 0.5854 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.0181, allocations: 0.5507 MB / 0.5859 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.01825, allocations: 105.9 kB / 0.586 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.0185, allocations: 398.2 kB / 0.5864 GB, free: 13.41 MB / 0.5105 GB 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.0007991/0.0193, allocations: 0.6203 MB / 0.587 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.0193, allocations: 64 / 0.587 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0008648/0.02016, allocations: 0.5121 MB / 0.5875 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.02018, allocations: 8 kB / 0.5875 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.02018, allocations: 3.938 kB / 0.5875 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.02039, allocations: 67.53 kB / 0.5876 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.02079, allocations: 183.8 kB / 0.5878 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008/0.02159, allocations: 1.784 MB / 0.5895 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.02181, allocations: 55.62 kB / 0.5896 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.02185, allocations: 27.97 kB / 0.5896 GB, free: 10.01 MB / 0.5105 GB 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.0001829/0.02203, allocations: 196.6 kB / 0.5898 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.02214, allocations: 83.61 kB / 0.5899 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007555/0.02289, allocations: 0.5851 MB / 0.5904 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.0229, allocations: 8 kB / 0.5904 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.0229, allocations: 3.938 kB / 0.5904 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.02291, allocations: 7.984 kB / 0.5905 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.02388, allocations: 0.9707 MB / 0.5914 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02388, allocations: 0 / 0.5914 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.02444, allocations: 223.8 kB / 0.5916 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001937/0.02464, allocations: 67.61 kB / 0.5917 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.02467, allocations: 23.98 kB / 0.5917 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.02678, allocations: 5.365 MB / 0.5969 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02678, allocations: 0 / 0.5969 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.0276, allocations: 0.8121 MB / 0.5977 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.02766, allocations: 71.5 kB / 0.5978 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.02773, allocations: 24 kB / 0.5978 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.02793, allocations: 27.92 kB / 0.5979 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.02799, allocations: 48.5 kB / 0.5979 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.02802, allocations: 27.92 kB / 0.5979 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001696/0.02819, allocations: 303 kB / 0.5982 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02819, allocations: 0 / 0.5982 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004564/0.02865, allocations: 259.6 kB / 0.5985 GB, free: 0.5039 MB / 0.5105 GB 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.0002771/0.02893, allocations: 190.9 kB / 0.5986 GB, free: 312 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.161/0.19, allocations: 0.5555 MB / 0.5992 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.19, allocations: 0 / 0.5992 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006756/0.1906, allocations: 462.5 kB / 0.5996 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.1912, allocations: 153.6 kB / 0.5998 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.1931, allocations: 1.545 MB / 0.6013 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.1932, allocations: 152.3 kB / 0.6014 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000325/0.1935, allocations: 103.9 kB / 0.6015 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004912/0.194, allocations: 286.2 kB / 0.6018 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.203e-06/0.194, allocations: 4 kB / 0.6018 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.01729/0.2113, allocations: 15 MB / 0.6165 GB, free: 159.9 MB / 0.5105 GB " [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: 3.892667139880359]