Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001156/0.001156, allocations: 181.1 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.316/1.316, allocations: 194.3 MB / 207.5 MB, free: 3.457 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001627/0.001627, allocations: 115.5 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1886/0.1886, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.565e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8698/0.9814, allocations: 329.8 MB / 0.7665 GB, free: 100.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.9817, allocations: 81.64 kB / 0.7666 GB, free: 100.5 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 1.169/2.151, allocations: 332.3 MB / 1.091 GB, free: 66.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.295e-06/2.151, allocations: 0.7656 kB / 1.091 GB, free: 66.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001783/2.151, allocations: 39.22 kB / 1.091 GB, free: 66.23 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.006115/2.158, allocations: 1.779 MB / 1.093 GB, free: 65.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/2.158, allocations: 10.06 kB / 1.093 GB, free: 65.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/2.159, allocations: 180 kB / 1.093 GB, free: 65.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/2.161, allocations: 1.123 MB / 1.094 GB, free: 65.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/2.161, allocations: 71.62 kB / 1.094 GB, free: 65.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/2.161, allocations: 94.67 kB / 1.094 GB, free: 65.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/2.164, allocations: 1.438 MB / 1.096 GB, free: 64.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/2.164, allocations: 4.344 kB / 1.096 GB, free: 64.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/2.164, allocations: 45.98 kB / 1.096 GB, free: 64.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.74e-05/2.164, allocations: 52.48 kB / 1.096 GB, free: 64.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/2.166, allocations: 1.297 MB / 1.097 GB, free: 64.85 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007284/2.173, allocations: 6.684 MB / 1.104 GB, free: 61.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/2.174, allocations: 492.1 kB / 1.104 GB, free: 61.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/2.174, allocations: 295.6 kB / 1.104 GB, free: 61.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01723/2.191, allocations: 17.19 MB / 1.121 GB, free: 44.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003834/2.192, allocations: 280.6 kB / 1.121 GB, free: 44.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.637e-06/2.192, allocations: 3.844 kB / 1.121 GB, free: 44.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.000995/2.193, allocations: 0.5165 MB / 1.122 GB, free: 44.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/2.193, allocations: 282.8 kB / 1.122 GB, free: 43.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/2.194, allocations: 1.002 MB / 1.123 GB, free: 43.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/2.194, allocations: 32.05 kB / 1.123 GB, free: 43.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/2.195, allocations: 0.7844 MB / 1.124 GB, free: 43.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/2.195, allocations: 151.9 kB / 1.124 GB, free: 43.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/2.195, allocations: 23.78 kB / 1.124 GB, free: 43.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.075e-05/2.195, allocations: 353.2 kB / 1.124 GB, free: 43.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/2.195, allocations: 262.5 kB / 1.125 GB, free: 43.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/2.196, allocations: 0.9509 MB / 1.126 GB, free: 42.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000586/2.196, allocations: 469.5 kB / 1.126 GB, free: 42.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/2.196, allocations: 7.438 kB / 1.126 GB, free: 42.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001886/2.198, allocations: 1.282 MB / 1.127 GB, free: 42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001778/2.2, allocations: 9.093 MB / 1.136 GB, free: 32.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/2.2, allocations: 25.84 kB / 1.136 GB, free: 32.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.022e-05/2.2, allocations: 36.47 kB / 1.136 GB, free: 32.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/2.202, allocations: 427.9 kB / 1.137 GB, free: 32.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006085/2.203, allocations: 1.268 MB / 1.138 GB, free: 31.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/2.204, allocations: 193.4 kB / 1.138 GB, free: 31.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/2.205, allocations: 81.42 kB / 1.138 GB, free: 31.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/2.205, allocations: 3.969 kB / 1.138 GB, free: 31.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001612/2.206, allocations: 1.119 MB / 1.139 GB, free: 31.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/2.206, allocations: 34.61 kB / 1.139 GB, free: 31.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/2.206, allocations: 34.62 kB / 1.139 GB, free: 31.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/2.207, allocations: 311.9 kB / 1.14 GB, free: 31.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002259/2.207, allocations: 0.6412 MB / 1.14 GB, free: 30.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009899/2.208, allocations: 145.5 kB / 1.14 GB, free: 30.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.884e-05/2.208, allocations: 75.5 kB / 1.141 GB, free: 30.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002795/2.209, allocations: 243.5 kB / 1.141 GB, free: 30.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/2.209, allocations: 117.7 kB / 1.141 GB, free: 30.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/2.211, allocations: 1.196 MB / 1.142 GB, free: 30.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/2.211, allocations: 10.25 kB / 1.142 GB, free: 30.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/2.211, allocations: 0 / 1.142 GB, free: 30.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/2.211, allocations: 3.656 kB / 1.142 GB, free: 30.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/2.214, allocations: 1.775 MB / 1.144 GB, free: 29.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/2.214, allocations: 2.812 kB / 1.144 GB, free: 29.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/2.215, allocations: 249.2 kB / 1.144 GB, free: 29.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/2.215, allocations: 2.688 kB / 1.144 GB, free: 29.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/2.215, allocations: 25.61 kB / 1.144 GB, free: 29.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004342/2.216, allocations: 1.229 MB / 1.145 GB, free: 28.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.216, allocations: 3.594 kB / 1.145 GB, free: 28.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/2.217, allocations: 0.8212 MB / 1.146 GB, free: 28.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/2.217, allocations: 249.1 kB / 1.146 GB, free: 28.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/2.217, allocations: 14.75 kB / 1.146 GB, free: 28.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/2.218, allocations: 50.36 kB / 1.146 GB, free: 28.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/2.218, allocations: 43.78 kB / 1.146 GB, free: 28.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/2.218, allocations: 24.66 kB / 1.146 GB, free: 28.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000904/2.219, allocations: 0.7878 MB / 1.147 GB, free: 28.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/2.219, allocations: 0 / 1.147 GB, free: 28.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00437/2.223, allocations: 1.353 MB / 1.149 GB, free: 27.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003771/2.227, allocations: 1.318 MB / 1.15 GB, free: 27.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004689/2.232, allocations: 1.723 MB / 1.151 GB, free: 27.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/2.232, allocations: 0 / 1.151 GB, free: 27.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002417/2.234, allocations: 0.5641 MB / 1.152 GB, free: 27.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/2.237, allocations: 398.4 kB / 1.152 GB, free: 27.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/2.24, allocations: 2 MB / 1.154 GB, free: 26.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/2.241, allocations: 1.203 MB / 1.156 GB, free: 26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001854/2.243, allocations: 0.5174 MB / 1.156 GB, free: 25.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/2.243, allocations: 113.6 kB / 1.156 GB, free: 25.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/2.243, allocations: 3.094 kB / 1.156 GB, free: 25.93 MB / 490.7 MB Notification: Performance of Templates: time 0.04866/2.292, allocations: 32.9 MB / 1.188 GB, free: 23.72 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1)