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.00754/0.00754, allocations: 174.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.175/2.175, allocations: 194.5 MB / 210.3 MB, free: 7.535 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.001933/0.001933, allocations: 132.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2589/0.2589, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.0005186, allocations: 12.25 kB / 406.2 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 54.87 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.131, allocations: 329.9 MB / 0.7724 GB, free: 147.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/1.132, allocations: 94.45 kB / 0.7724 GB, free: 147.6 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.035/2.167, allocations: 333.5 MB / 1.098 GB, free: 9.078 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/2.167, allocations: 0 / 1.098 GB, free: 9.078 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000109/2.167, allocations: 35.98 kB / 1.098 GB, free: 9.043 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.005303/2.173, allocations: 1.956 MB / 1.1 GB, free: 7.023 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/2.173, allocations: 15.91 kB / 1.1 GB, free: 7.008 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007777/2.173, allocations: 182.1 kB / 1.1 GB, free: 6.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/2.176, allocations: 1.128 MB / 1.101 GB, free: 5.656 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.344e-05/2.176, allocations: 73.98 kB / 1.101 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/2.176, allocations: 88 kB / 1.101 GB, free: 5.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/2.178, allocations: 1.458 MB / 1.103 GB, free: 3.938 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/2.178, allocations: 11.89 kB / 1.103 GB, free: 3.926 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/2.178, allocations: 47.98 kB / 1.103 GB, free: 3.879 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-05/2.178, allocations: 49.98 kB / 1.103 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/2.18, allocations: 1.323 MB / 1.104 GB, free: 2.508 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.3778/2.558, allocations: 6.67 MB / 1.111 GB, free: 58.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/2.559, allocations: 498.1 kB / 1.111 GB, free: 58.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02212/2.581, allocations: 17.03 MB / 1.128 GB, free: 42.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004778/2.581, allocations: 279.6 kB / 1.128 GB, free: 42.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.016e-06/2.581, allocations: 1.125 kB / 1.128 GB, free: 42.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.001757/2.583, allocations: 0.7478 MB / 1.129 GB, free: 41.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/2.583, allocations: 271 kB / 1.129 GB, free: 41.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/2.585, allocations: 1.02 MB / 1.13 GB, free: 41.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/2.585, allocations: 33.36 kB / 1.13 GB, free: 41.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006494/2.586, allocations: 0.78 MB / 1.131 GB, free: 41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/2.586, allocations: 154.8 kB / 1.131 GB, free: 40.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/2.586, allocations: 22.66 kB / 1.131 GB, free: 40.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/2.586, allocations: 353.2 kB / 1.131 GB, free: 40.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/2.587, allocations: 268.8 kB / 1.132 GB, free: 40.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008204/2.587, allocations: 0.9559 MB / 1.133 GB, free: 39.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/2.588, allocations: 474.9 kB / 1.133 GB, free: 39.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/2.588, allocations: 7.812 kB / 1.133 GB, free: 39.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002616/2.591, allocations: 1.3 MB / 1.134 GB, free: 39.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002155/2.593, allocations: 9.095 MB / 1.143 GB, free: 30.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.533e-05/2.593, allocations: 22 kB / 1.143 GB, free: 30.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-05/2.593, allocations: 34.22 kB / 1.143 GB, free: 30.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/2.596, allocations: 429.7 kB / 1.144 GB, free: 30.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007884/2.596, allocations: 1.272 MB / 1.145 GB, free: 28.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/2.598, allocations: 195.1 kB / 1.145 GB, free: 28.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/2.598, allocations: 82.34 kB / 1.145 GB, free: 28.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/2.598, allocations: 4.344 kB / 1.145 GB, free: 28.91 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002209/2.6, allocations: 1.136 MB / 1.146 GB, free: 28.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.073e-05/2.601, allocations: 22.94 kB / 1.146 GB, free: 28.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.187e-05/2.601, allocations: 34.62 kB / 1.146 GB, free: 28.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/2.602, allocations: 319.9 kB / 1.147 GB, free: 28.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003697/2.602, allocations: 0.6415 MB / 1.147 GB, free: 28.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/2.604, allocations: 147.9 kB / 1.147 GB, free: 28.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/2.604, allocations: 79.19 kB / 1.148 GB, free: 28.25 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 () * Number of clocked 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.001279/2.605, allocations: 450.1 kB / 1.148 GB, free: 28.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/2.606, allocations: 122.1 kB / 1.148 GB, free: 27.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/2.608, allocations: 1.201 MB / 1.149 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/2.608, allocations: 13.58 kB / 1.149 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/2.608, allocations: 0 / 1.149 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/2.608, allocations: 5.297 kB / 1.149 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/2.612, allocations: 1.793 MB / 1.151 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/2.612, allocations: 2.25 kB / 1.151 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/2.614, allocations: 247.3 kB / 1.151 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/2.614, allocations: 7.172 kB / 1.151 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/2.614, allocations: 23.97 kB / 1.151 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004866/2.614, allocations: 1.226 MB / 1.153 GB, free: 26.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.614, allocations: 6.906 kB / 1.153 GB, free: 26.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/2.615, allocations: 0.8241 MB / 1.153 GB, free: 25.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000505/2.616, allocations: 249.8 kB / 1.154 GB, free: 25.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/2.616, allocations: 15.31 kB / 1.154 GB, free: 25.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/2.617, allocations: 47.8 kB / 1.154 GB, free: 25.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/2.617, allocations: 46.89 kB / 1.154 GB, free: 25.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/2.617, allocations: 29.56 kB / 1.154 GB, free: 25.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001133/2.618, allocations: 0.7939 MB / 1.154 GB, free: 25.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/2.618, allocations: 1.375 kB / 1.154 GB, free: 25.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005397/2.623, allocations: 1.346 MB / 1.156 GB, free: 25.68 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) * Number of clocked states: 0 () * 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.003944/2.627, allocations: 1.317 MB / 1.157 GB, free: 25.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005138/2.632, allocations: 1.714 MB / 1.159 GB, free: 25.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/2.633, allocations: 0 / 1.159 GB, free: 25.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002789/2.635, allocations: 0.5738 MB / 1.159 GB, free: 25.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/2.638, allocations: 403.4 kB / 1.16 GB, free: 25.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007129/2.645, allocations: 3.042 MB / 1.163 GB, free: 24.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/2.647, allocations: 1.2 MB / 1.164 GB, free: 23.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002423/2.649, allocations: 467.2 kB / 1.164 GB, free: 23.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/2.65, allocations: 124.4 kB / 1.164 GB, free: 23.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.532e-06/2.65, allocations: 0 / 1.164 GB, free: 23.38 MB / 490.7 MB Notification: Performance of Templates: time 0.05327/2.703, allocations: 30.29 MB / 1.194 GB, free: 21.62 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)