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.001435/0.001435, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.278/1.278, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.00166/0.00166, allocations: 119.4 kB / 218 MB, free: 8.398 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.16/0.16, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.568e-05, allocations: 3.219 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 48.73 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.98/6.094, allocations: 2.482 GB / 2.872 GB, free: 77.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/6.094, allocations: 81.19 kB / 2.872 GB, free: 77.46 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 1.833/7.927, allocations: 484 MB / 3.345 GB, free: 38.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.974e-06/7.927, allocations: 0 / 3.345 GB, free: 38.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.022e-05/7.927, allocations: 27.25 kB / 3.345 GB, free: 38.23 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.008148/7.935, allocations: 2.091 MB / 3.347 GB, free: 37.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/7.935, allocations: 9.656 kB / 3.347 GB, free: 37.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004398/7.939, allocations: 0.5867 MB / 3.347 GB, free: 37.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/7.942, allocations: 0.9447 MB / 3.348 GB, free: 37.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/7.942, allocations: 30.75 kB / 3.348 GB, free: 37.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/7.942, allocations: 55.81 kB / 3.348 GB, free: 37.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001686/7.944, allocations: 0.9687 MB / 3.349 GB, free: 37.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/7.945, allocations: 1.171 MB / 3.35 GB, free: 36.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/7.945, allocations: 8.656 kB / 3.35 GB, free: 36.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/7.945, allocations: 4.688 kB / 3.35 GB, free: 36.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/7.945, allocations: 29.98 kB / 3.35 GB, free: 36.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9009/8.846, allocations: 263.6 MB / 3.608 GB, free: 49.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007872/8.847, allocations: 492.9 kB / 3.608 GB, free: 49.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/8.847, allocations: 240.4 kB / 3.609 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08787/8.935, allocations: 47.29 MB / 3.655 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/8.935, allocations: 35.25 kB / 3.655 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 2.245e-06/8.935, allocations: 0 / 3.655 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.004727/8.94, allocations: 1.442 MB / 3.656 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/8.94, allocations: 189.4 kB / 3.656 GB, free: 20.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/8.941, allocations: 0.8707 MB / 3.657 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/8.941, allocations: 25.7 kB / 3.657 GB, free: 20.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003956/8.942, allocations: 0.6946 MB / 3.658 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/8.942, allocations: 152.1 kB / 3.658 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/8.942, allocations: 0 / 3.658 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.919e-05/8.942, allocations: 356.8 kB / 3.658 GB, free: 19.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/8.942, allocations: 276.2 kB / 3.659 GB, free: 19.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/8.943, allocations: 0.7514 MB / 3.659 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/8.945, allocations: 0.6958 MB / 3.66 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/8.945, allocations: 4 kB / 3.66 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003587/8.949, allocations: 1.444 MB / 3.661 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/8.949, allocations: 12 kB / 3.661 GB, free: 17.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/8.949, allocations: 16.84 kB / 3.662 GB, free: 17.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004658/8.95, allocations: 186.8 kB / 3.662 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/8.951, allocations: 313.5 kB / 3.662 GB, free: 16.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/8.952, allocations: 1.646 MB / 3.664 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/8.953, allocations: 162.6 kB / 3.664 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/8.953, allocations: 72.83 kB / 3.664 GB, free: 15.17 MB / 0.4948 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.0001943/8.954, allocations: 160.7 kB / 3.664 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/8.954, allocations: 106.7 kB / 3.664 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/8.957, allocations: 2.919 MB / 3.667 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/8.957, allocations: 18.33 kB / 3.667 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/8.957, allocations: 0 / 3.667 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/8.957, allocations: 4 kB / 3.667 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/8.959, allocations: 1.293 MB / 3.668 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/8.959, allocations: 0 / 3.668 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/8.96, allocations: 115.2 kB / 3.668 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/8.961, allocations: 2.176 MB / 3.67 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/8.961, allocations: 7.688 kB / 3.67 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/8.964, allocations: 2.982 MB / 3.673 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/8.964, allocations: 2.031 kB / 3.673 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/8.966, allocations: 2.097 MB / 3.675 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/8.967, allocations: 289.4 kB / 3.676 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/8.967, allocations: 4.094 kB / 3.676 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/8.967, allocations: 29.58 kB / 3.676 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/8.967, allocations: 28.34 kB / 3.676 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/8.967, allocations: 15 kB / 3.676 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009357/8.968, allocations: 0.7851 MB / 3.677 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/8.968, allocations: 4 kB / 3.677 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005721/8.974, allocations: 1.257 MB / 3.678 GB, free: 6.227 MB / 0.4948 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.008295/8.982, allocations: 1.881 MB / 3.68 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00242/8.985, allocations: 0.8904 MB / 3.68 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/8.985, allocations: 0 / 3.68 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/8.986, allocations: 475.3 kB / 3.681 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/8.988, allocations: 424.5 kB / 3.681 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/8.99, allocations: 1.53 MB / 3.683 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/8.991, allocations: 1.192 MB / 3.684 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001566/8.992, allocations: 0.9474 MB / 3.685 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/8.993, allocations: 93.38 kB / 3.685 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/8.993, allocations: 0 / 3.685 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of Templates: time 0.3291/9.322, allocations: 39.81 MB / 3.724 GB, free: 97.31 MB / 0.4948 GB 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)