Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01177/0.01177, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.634/1.634, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001834/0.001835, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3924/0.3924, allocations: 38.05 MB / 303.7 MB, free: 42.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004027, allocations: 12 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1385, allocations: 48.7 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.707/6.846, allocations: 2.483 GB / 2.885 GB, free: 119.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003899/6.846, allocations: 81.67 kB / 2.885 GB, free: 119.4 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.11/8.957, allocations: 497.1 MB / 3.371 GB, free: 36.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.464e-06/8.957, allocations: 0 / 3.371 GB, free: 36.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.379e-05/8.957, allocations: 35.36 kB / 3.371 GB, free: 36.83 MB / 442.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.009174/8.966, allocations: 2.215 MB / 3.373 GB, free: 35.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/8.966, allocations: 6.969 kB / 3.373 GB, free: 35.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/8.97, allocations: 0.5887 MB / 3.373 GB, free: 35.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/8.972, allocations: 0.9439 MB / 3.374 GB, free: 35.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/8.972, allocations: 72.47 kB / 3.374 GB, free: 35.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/8.973, allocations: 92.25 kB / 3.375 GB, free: 35.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003765/8.976, allocations: 1.643 MB / 3.376 GB, free: 35.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/8.976, allocations: 7.156 kB / 3.376 GB, free: 35.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/8.976, allocations: 50.45 kB / 3.376 GB, free: 35.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/8.977, allocations: 29.72 kB / 3.376 GB, free: 35.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/8.98, allocations: 1.413 MB / 3.378 GB, free: 35.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00777/8.987, allocations: 8.052 MB / 3.385 GB, free: 29.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/8.99, allocations: 1.651 MB / 3.387 GB, free: 28.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1845/9.175, allocations: 80.21 MB / 3.465 GB, free: 15.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/9.175, allocations: 50.64 kB / 3.465 GB, free: 15.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 6.412e-06/9.175, allocations: 0 / 3.465 GB, free: 15.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=69): time 0.006653/9.181, allocations: 1.9 MB / 3.467 GB, free: 15.42 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/9.182, allocations: 194 kB / 3.467 GB, free: 15.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/9.184, allocations: 0.8168 MB / 3.468 GB, free: 15.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/9.184, allocations: 35.39 kB / 3.468 GB, free: 15.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005832/9.185, allocations: 0.6012 MB / 3.469 GB, free: 14.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/9.185, allocations: 257.9 kB / 3.469 GB, free: 14.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/9.185, allocations: 17.78 kB / 3.469 GB, free: 14.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/9.185, allocations: 349.1 kB / 3.469 GB, free: 14.24 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006031/9.186, allocations: 298.1 kB / 3.47 GB, free: 14.24 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009569/9.187, allocations: 0.7898 MB / 3.471 GB, free: 13.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008526/9.188, allocations: 419.5 kB / 3.471 GB, free: 13.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-05/9.188, allocations: 7.844 kB / 3.471 GB, free: 13.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003046/9.191, allocations: 1.269 MB / 3.472 GB, free: 13.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/9.191, allocations: 10.66 kB / 3.472 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.183e-05/9.191, allocations: 22.14 kB / 3.472 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006657/9.198, allocations: 0.8177 MB / 3.473 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/9.199, allocations: 318.2 kB / 3.473 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/9.201, allocations: 1.526 MB / 3.475 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/9.203, allocations: 162.7 kB / 3.475 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/9.203, allocations: 64.91 kB / 3.475 GB, free: 12.25 MB / 474.7 MB 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.001189/9.205, allocations: 295.5 kB / 3.475 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004843/9.205, allocations: 104.9 kB / 3.475 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005967/9.211, allocations: 4.458 MB / 3.48 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.772e-05/9.211, allocations: 45.86 kB / 3.48 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/9.211, allocations: 0 / 3.48 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/9.211, allocations: 7.75 kB / 3.48 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007733/9.219, allocations: 4.899 MB / 3.485 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/9.219, allocations: 0 / 3.485 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/9.22, allocations: 173.2 kB / 3.485 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007129/9.227, allocations: 1.889 MB / 3.487 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/9.227, allocations: 18.5 kB / 3.487 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/9.23, allocations: 1.909 MB / 3.489 GB, free: 8.641 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/9.23, allocations: 0 / 3.489 GB, free: 8.641 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/9.233, allocations: 2.007 MB / 3.49 GB, free: 7.367 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/9.234, allocations: 321.3 kB / 3.491 GB, free: 23.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/9.235, allocations: 11.56 kB / 3.491 GB, free: 23.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/9.236, allocations: 64.91 kB / 3.491 GB, free: 23.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/9.236, allocations: 45.81 kB / 3.491 GB, free: 23.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/9.236, allocations: 30.44 kB / 3.491 GB, free: 22.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001345/9.237, allocations: 0.6981 MB / 3.492 GB, free: 22.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/9.237, allocations: 1.969 kB / 3.492 GB, free: 22.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009204/9.246, allocations: 1.331 MB / 3.493 GB, free: 21.36 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: 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.01387/9.26, allocations: 1.729 MB / 3.495 GB, free: 20.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004356/9.265, allocations: 1.268 MB / 3.496 GB, free: 19.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/9.265, allocations: 0 / 3.496 GB, free: 19.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002375/9.267, allocations: 0.9097 MB / 3.497 GB, free: 18.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/9.271, allocations: 0.5346 MB / 3.497 GB, free: 18.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4783/9.749, allocations: 78.31 MB / 3.574 GB, free: 78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/9.75, allocations: 1.344 MB / 3.575 GB, free: 77.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001699/9.752, allocations: 0.5668 MB / 3.576 GB, free: 77.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/9.752, allocations: 99.5 kB / 3.576 GB, free: 77.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.412e-06/9.752, allocations: 0 / 3.576 GB, free: 77.27 MB / 490.7 MB Notification: Performance of Templates: time 0.07642/9.829, allocations: 48.96 MB / 3.623 GB, free: 74.07 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe 2>&1)