Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.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.TestSuddenExpansion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007068/0.007068, allocations: 174.9 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 1.861/1.861, allocations: 194.5 MB / 210.3 MB, free: 7.551 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.001865/0.001865, 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.2396/0.2396, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.000473, allocations: 14.16 kB / 406.2 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1203, allocations: 54.87 MB / 461 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.563/6.684, allocations: 2.594 GB / 3.044 GB, free: 76.15 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/6.684, allocations: 86.66 kB / 3.044 GB, free: 76.1 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 .... [/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 2.132/8.816, allocations: 0.4961 GB / 3.54 GB, free: 40.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.055e-06/8.816, allocations: 0 / 3.54 GB, free: 40.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000145/8.816, allocations: 26.56 kB / 3.54 GB, free: 40.08 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.01075/8.827, allocations: 2.31 MB / 3.543 GB, free: 39.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/8.827, allocations: 10.5 kB / 3.543 GB, free: 39.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00465/8.831, allocations: 0.6235 MB / 3.543 GB, free: 39.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/8.834, allocations: 0.9448 MB / 3.544 GB, free: 38.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/8.834, allocations: 74.03 kB / 3.544 GB, free: 38.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/8.834, allocations: 97.08 kB / 3.544 GB, free: 38.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003286/8.837, allocations: 1.645 MB / 3.546 GB, free: 38.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/8.837, allocations: 2.625 kB / 3.546 GB, free: 38.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/8.837, allocations: 46.16 kB / 3.546 GB, free: 38.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/8.837, allocations: 25.88 kB / 3.546 GB, free: 38.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/8.84, allocations: 1.414 MB / 3.547 GB, free: 38.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008066/8.848, allocations: 8.048 MB / 3.555 GB, free: 32.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/8.851, allocations: 1.66 MB / 3.557 GB, free: 31.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1665/9.017, allocations: 80.26 MB / 3.635 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.727e-05/9.018, allocations: 39.38 kB / 3.635 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=69): time 3.787e-06/9.018, allocations: 0 / 3.635 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69): time 0.005569/9.023, allocations: 1.896 MB / 3.637 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/9.023, allocations: 190.6 kB / 3.637 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/9.025, allocations: 0.8198 MB / 3.638 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.429e-05/9.025, allocations: 35.8 kB / 3.638 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/9.025, allocations: 0.6042 MB / 3.639 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/9.025, allocations: 255.9 kB / 3.639 GB, free: 17.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/9.025, allocations: 24.94 kB / 3.639 GB, free: 17.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001957/9.026, allocations: 356 kB / 3.639 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/9.026, allocations: 295.9 kB / 3.64 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/9.027, allocations: 0.7825 MB / 3.64 GB, free: 16.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006367/9.028, allocations: 420.1 kB / 3.641 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/9.028, allocations: 5.25 kB / 3.641 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001931/9.029, allocations: 1.274 MB / 3.642 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/9.03, allocations: 10.72 kB / 3.642 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/9.03, allocations: 23.22 kB / 3.642 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006094/9.036, allocations: 0.8234 MB / 3.643 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/9.037, allocations: 308.3 kB / 3.643 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/9.039, allocations: 1.526 MB / 3.645 GB, free: 31.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/9.041, allocations: 155.9 kB / 3.645 GB, free: 31.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-05/9.041, allocations: 64.05 kB / 3.645 GB, free: 31.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 20 (rightAdapter.state_b.phase,rightAdapter.state_a.phase,rightAdapter.state_a_nondes.phase,rightAdapter.state_b_des.phase,leftAdapter.state_b.phase,leftAdapter.state_a.phase,leftAdapter.state_a_nondes.phase,leftAdapter.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007213/9.042, allocations: 307.2 kB / 3.645 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/9.042, allocations: 112.6 kB / 3.645 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005562/9.047, allocations: 4.447 MB / 3.65 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.127e-05/9.047, allocations: 48.55 kB / 3.65 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/9.048, allocations: 0 / 3.65 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/9.048, allocations: 3.75 kB / 3.65 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007147/9.055, allocations: 4.889 MB / 3.654 GB, free: 29.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/9.055, allocations: 0 / 3.654 GB, free: 29.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009587/9.056, allocations: 185.8 kB / 3.655 GB, free: 29.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006679/9.062, allocations: 1.878 MB / 3.656 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/9.063, allocations: 23.08 kB / 3.656 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/9.064, allocations: 1.91 MB / 3.658 GB, free: 28.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/9.064, allocations: 5.703 kB / 3.658 GB, free: 28.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/9.067, allocations: 1.996 MB / 3.66 GB, free: 28.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006526/9.068, allocations: 320.1 kB / 3.661 GB, free: 27.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/9.068, allocations: 21.33 kB / 3.661 GB, free: 27.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/9.068, allocations: 61.55 kB / 3.661 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/9.068, allocations: 49.89 kB / 3.661 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/9.068, allocations: 23.92 kB / 3.661 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001127/9.07, allocations: 0.7019 MB / 3.661 GB, free: 27.65 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/9.07, allocations: 0 / 3.661 GB, free: 27.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008459/9.078, allocations: 1.336 MB / 3.663 GB, free: 27.45 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.008936/9.087, allocations: 1.75 MB / 3.664 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003287/9.09, allocations: 1.259 MB / 3.666 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/9.09, allocations: 0 / 3.666 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/9.092, allocations: 0.8995 MB / 3.666 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/9.095, allocations: 0.5255 MB / 3.667 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5207/9.616, allocations: 82.34 MB / 3.747 GB, free: 81.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008969/9.617, allocations: 1.342 MB / 3.749 GB, free: 80.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001694/9.619, allocations: 0.5683 MB / 3.749 GB, free: 80.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/9.619, allocations: 103.2 kB / 3.749 GB, free: 80.33 MB / 0.5261 GB Notification: Performance of SimCode: time 2.245e-06/9.619, allocations: 0 / 3.749 GB, free: 80.33 MB / 0.5261 GB Notification: Performance of Templates: time 0.07453/9.693, allocations: 49.13 MB / 3.797 GB, free: 77.42 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe 2>&1)