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.001243/0.001243, allocations: 176.6 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.511/1.511, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001715/0.001716, allocations: 123.4 kB / 247.4 MB, free: 15.95 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.1755/0.1755, allocations: 39.95 MB / 332.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.73e-05, allocations: 0 / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2488, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8219/1.071, allocations: 329.1 MB / 0.7591 GB, free: 136 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/1.071, allocations: 87.94 kB / 0.7592 GB, free: 136 MB / 474.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.17/2.242, allocations: 326.3 MB / 1.078 GB, free: 56.28 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/2.242, allocations: 0 / 1.078 GB, free: 56.28 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001992/2.242, allocations: 32.72 kB / 1.078 GB, free: 56.28 MB / 474.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.005474/2.247, allocations: 1.779 MB / 1.08 GB, free: 55.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/2.247, allocations: 11.81 kB / 1.08 GB, free: 55.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/2.249, allocations: 180.8 kB / 1.08 GB, free: 55.54 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/2.252, allocations: 1.12 MB / 1.081 GB, free: 55.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.502e-05/2.252, allocations: 36.75 kB / 1.081 GB, free: 55.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/2.252, allocations: 56.06 kB / 1.081 GB, free: 55.26 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002183/2.254, allocations: 1.189 MB / 1.082 GB, free: 55.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/2.257, allocations: 1.283 MB / 1.083 GB, free: 54.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/2.257, allocations: 4.516 kB / 1.083 GB, free: 54.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/2.257, allocations: 5.375 kB / 1.083 GB, free: 54.95 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.184e-05/2.257, allocations: 54.69 kB / 1.083 GB, free: 54.95 MB / 474.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.009092/2.266, allocations: 6.516 MB / 1.09 GB, free: 51.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/2.267, allocations: 477.9 kB / 1.09 GB, free: 51.22 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/2.267, allocations: 285.6 kB / 1.091 GB, free: 51.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01809/2.285, allocations: 17.17 MB / 1.107 GB, free: 34.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004184/2.286, allocations: 271.2 kB / 1.108 GB, free: 34.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 2.385e-06/2.286, allocations: 3.281 kB / 1.108 GB, free: 34.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=42): time 0.005887/2.292, allocations: 1.016 MB / 1.109 GB, free: 34.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/2.292, allocations: 274.4 kB / 1.109 GB, free: 34.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/2.293, allocations: 0.9158 MB / 1.11 GB, free: 34.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/2.293, allocations: 25.7 kB / 1.11 GB, free: 34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005904/2.294, allocations: 0.7854 MB / 1.111 GB, free: 33.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/2.294, allocations: 145.7 kB / 1.111 GB, free: 33.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/2.294, allocations: 0 / 1.111 GB, free: 33.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.672e-05/2.294, allocations: 363.4 kB / 1.111 GB, free: 33.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/2.295, allocations: 244.2 kB / 1.111 GB, free: 33.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006936/2.295, allocations: 0.9267 MB / 1.112 GB, free: 32.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006954/2.302, allocations: 1.359 MB / 1.113 GB, free: 32.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/2.302, allocations: 6.688 kB / 1.113 GB, free: 32.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.008709/2.311, allocations: 2.068 MB / 1.116 GB, free: 32.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001897/2.313, allocations: 9.092 MB / 1.124 GB, free: 22.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.71e-05/2.313, allocations: 22.91 kB / 1.124 GB, free: 22.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.152e-05/2.313, allocations: 34 kB / 1.124 GB, free: 22.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/2.315, allocations: 420 kB / 1.125 GB, free: 22.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/2.316, allocations: 1.376 MB / 1.126 GB, free: 21.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/2.318, allocations: 172.2 kB / 1.126 GB, free: 21.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/2.318, allocations: 76.45 kB / 1.126 GB, free: 21.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/2.318, allocations: 6.844 kB / 1.126 GB, free: 21.63 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006063/2.324, allocations: 1.67 MB / 1.128 GB, free: 21.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-05/2.324, allocations: 23.94 kB / 1.128 GB, free: 21.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/2.324, allocations: 39.2 kB / 1.128 GB, free: 21.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009148/2.325, allocations: 320.3 kB / 1.128 GB, free: 21.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003442/2.326, allocations: 0.6647 MB / 1.129 GB, free: 21.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/2.327, allocations: 113.8 kB / 1.129 GB, free: 20.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/2.327, allocations: 90.27 kB / 1.129 GB, free: 20.98 MB / 474.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.0003581/2.327, allocations: 193 kB / 1.129 GB, free: 20.83 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/2.328, allocations: 124.4 kB / 1.13 GB, free: 20.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004588/2.332, allocations: 1.467 MB / 1.131 GB, free: 20.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/2.332, allocations: 3.625 kB / 1.131 GB, free: 20.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/2.332, allocations: 3.594 kB / 1.131 GB, free: 20.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/2.332, allocations: 3.703 kB / 1.131 GB, free: 20.59 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005343/2.338, allocations: 1.93 MB / 1.133 GB, free: 20.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/2.338, allocations: 3.375 kB / 1.133 GB, free: 20.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/2.339, allocations: 246.1 kB / 1.133 GB, free: 20.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/2.339, allocations: 3.656 kB / 1.133 GB, free: 20.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/2.339, allocations: 16.41 kB / 1.133 GB, free: 20.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/2.341, allocations: 1.321 MB / 1.134 GB, free: 19.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/2.341, allocations: 0 / 1.134 GB, free: 19.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/2.344, allocations: 1.098 MB / 1.136 GB, free: 18.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007307/2.345, allocations: 248.7 kB / 1.136 GB, free: 18.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003809/2.345, allocations: 3.781 kB / 1.136 GB, free: 18.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007175/2.346, allocations: 32.19 kB / 1.136 GB, free: 18.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/2.346, allocations: 46.78 kB / 1.136 GB, free: 18.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/2.346, allocations: 28.73 kB / 1.136 GB, free: 18.67 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001232/2.347, allocations: 0.702 MB / 1.137 GB, free: 18.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/2.347, allocations: 0 / 1.137 GB, free: 18.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005552/2.353, allocations: 1.298 MB / 1.138 GB, free: 18.26 MB / 474.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.004511/2.357, allocations: 1.302 MB / 1.139 GB, free: 17.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004214/2.362, allocations: 1.596 MB / 1.141 GB, free: 17.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/2.362, allocations: 4.781 kB / 1.141 GB, free: 17.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002447/2.364, allocations: 0.5472 MB / 1.141 GB, free: 17.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/2.366, allocations: 394 kB / 1.142 GB, free: 17.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/2.37, allocations: 1.966 MB / 1.143 GB, free: 17.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/2.371, allocations: 1.201 MB / 1.145 GB, free: 32.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001869/2.373, allocations: 0.5119 MB / 1.145 GB, free: 32.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/2.373, allocations: 114.8 kB / 1.145 GB, free: 32.43 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/2.373, allocations: 0 / 1.145 GB, free: 32.43 MB / 490.7 MB Notification: Performance of Templates: time 0.04172/2.415, allocations: 29.81 MB / 1.174 GB, free: 30.21 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)