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.0009444/0.0009444, allocations: 176 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.53/1.53, 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.001709/0.001709, allocations: 116 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.1789/0.1789, allocations: 39.95 MB / 332.2 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.771e-05, allocations: 4 kB / 393.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.281, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.123/5.404, allocations: 2.593 GB / 3.031 GB, free: 87.26 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/5.404, allocations: 79.95 kB / 3.031 GB, free: 87.18 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 1.919/7.323, allocations: 494.7 MB / 3.514 GB, free: 41.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.664e-06/7.323, allocations: 0 / 3.514 GB, free: 41.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.153e-05/7.323, allocations: 32.86 kB / 3.514 GB, free: 41.32 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.007786/7.331, allocations: 2.185 MB / 3.516 GB, free: 40.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.979e-05/7.331, allocations: 14.3 kB / 3.516 GB, free: 40.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/7.335, allocations: 0.6174 MB / 3.517 GB, free: 40.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/7.337, allocations: 0.9382 MB / 3.518 GB, free: 40.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/7.337, allocations: 31.81 kB / 3.518 GB, free: 40.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/7.337, allocations: 60.89 kB / 3.518 GB, free: 40.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001372/7.339, allocations: 0.9662 MB / 3.519 GB, free: 40.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/7.34, allocations: 1.176 MB / 3.52 GB, free: 39.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/7.34, allocations: 2.812 kB / 3.52 GB, free: 39.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-05/7.34, allocations: 10.53 kB / 3.52 GB, free: 39.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/7.34, allocations: 25.06 kB / 3.52 GB, free: 39.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8615/8.202, allocations: 263.8 MB / 3.778 GB, free: 57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007208/8.202, allocations: 492.9 kB / 3.778 GB, free: 56.95 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/8.203, allocations: 241.4 kB / 3.778 GB, free: 56.94 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08357/8.286, allocations: 47.29 MB / 3.825 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/8.286, allocations: 45.19 kB / 3.825 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=41): time 2.575e-06/8.286, allocations: 0.9375 kB / 3.825 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=41): time 0.004795/8.291, allocations: 1.436 MB / 3.826 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/8.291, allocations: 190.2 kB / 3.826 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/8.293, allocations: 0.8688 MB / 3.827 GB, free: 28.17 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/8.293, allocations: 26.47 kB / 3.827 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/8.293, allocations: 0.6916 MB / 3.828 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/8.293, allocations: 156.2 kB / 3.828 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/8.293, allocations: 1.688 kB / 3.828 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/8.294, allocations: 350.2 kB / 3.828 GB, free: 27.46 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/8.294, allocations: 277.7 kB / 3.828 GB, free: 27.46 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/8.295, allocations: 0.747 MB / 3.829 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/8.297, allocations: 0.6957 MB / 3.83 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/8.297, allocations: 4.156 kB / 3.83 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003856/8.301, allocations: 1.448 MB / 3.831 GB, free: 26.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/8.301, allocations: 12.56 kB / 3.831 GB, free: 26.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/8.301, allocations: 17.38 kB / 3.831 GB, free: 26.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/8.302, allocations: 196.7 kB / 3.831 GB, free: 26.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/8.303, allocations: 305.2 kB / 3.832 GB, free: 26.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/8.304, allocations: 1.641 MB / 3.833 GB, free: 25.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/8.306, allocations: 160.8 kB / 3.834 GB, free: 25.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/8.306, allocations: 74.53 kB / 3.834 GB, free: 25.52 MB / 0.5417 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 () * 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.0002247/8.306, allocations: 156.1 kB / 3.834 GB, free: 25.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/8.306, allocations: 108.8 kB / 3.834 GB, free: 25.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003609/8.31, allocations: 2.922 MB / 3.837 GB, free: 25.15 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/8.31, allocations: 24.83 kB / 3.837 GB, free: 25.14 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/8.31, allocations: 0 / 3.837 GB, free: 25.14 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/8.31, allocations: 4.656 kB / 3.837 GB, free: 25.14 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/8.312, allocations: 1.289 MB / 3.838 GB, free: 24.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/8.312, allocations: 3.781 kB / 3.838 GB, free: 24.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/8.313, allocations: 119.6 kB / 3.838 GB, free: 24.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/8.315, allocations: 2.17 MB / 3.84 GB, free: 24.87 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/8.315, allocations: 6.406 kB / 3.84 GB, free: 24.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/8.317, allocations: 2.993 MB / 3.843 GB, free: 23.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/8.317, allocations: 2.094 kB / 3.843 GB, free: 23.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/8.32, allocations: 2.102 MB / 3.845 GB, free: 22.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/8.32, allocations: 288.9 kB / 3.845 GB, free: 22.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/8.32, allocations: 0 / 3.845 GB, free: 22.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/8.321, allocations: 19.03 kB / 3.846 GB, free: 22.49 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/8.321, allocations: 32 kB / 3.846 GB, free: 22.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/8.321, allocations: 14.62 kB / 3.846 GB, free: 22.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009012/8.322, allocations: 0.7859 MB / 3.846 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/8.322, allocations: 1.094 kB / 3.846 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005059/8.327, allocations: 1.273 MB / 3.848 GB, free: 20.92 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.008017/8.335, allocations: 1.869 MB / 3.849 GB, free: 19.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002308/8.337, allocations: 0.8943 MB / 3.85 GB, free: 19.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/8.337, allocations: 4.125 kB / 3.85 GB, free: 19.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/8.339, allocations: 462.3 kB / 3.851 GB, free: 18.83 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/8.341, allocations: 439.4 kB / 3.851 GB, free: 18.59 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/8.344, allocations: 1.527 MB / 3.853 GB, free: 17.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/8.344, allocations: 1.192 MB / 3.854 GB, free: 16.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001481/8.346, allocations: 0.9502 MB / 3.855 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/8.346, allocations: 94.23 kB / 3.855 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/8.346, allocations: 0 / 3.855 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of Templates: time 0.3361/8.682, allocations: 39.95 MB / 3.894 GB, free: 102 MB / 0.5417 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)