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.001416/0.001416, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.525/1.525, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001688/0.001688, allocations: 111.8 kB / 252.6 MB, free: 4.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2047/0.2047, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.753e-05/4.756e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.316/5.419, allocations: 2.594 GB / 3.038 GB, free: 135 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/5.419, allocations: 79.16 kB / 3.038 GB, free: 134.9 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.619/7.038, allocations: 0.4943 GB / 3.533 GB, free: 12.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.354e-06/7.038, allocations: 0 / 3.533 GB, free: 12.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.253e-05/7.038, allocations: 33.34 kB / 3.533 GB, free: 12.75 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.008296/7.046, allocations: 2.182 MB / 3.535 GB, free: 10.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/7.046, allocations: 15.34 kB / 3.535 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/7.051, allocations: 0.6152 MB / 3.535 GB, free: 9.914 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/7.052, allocations: 0.94 MB / 3.536 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/7.052, allocations: 77.34 kB / 3.536 GB, free: 8.883 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/7.053, allocations: 95.98 kB / 3.537 GB, free: 8.789 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/7.056, allocations: 1.733 MB / 3.538 GB, free: 6.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/7.056, allocations: 7.938 kB / 3.538 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.593e-05/7.056, allocations: 48 kB / 3.538 GB, free: 6.875 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/7.056, allocations: 28 kB / 3.538 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/7.058, allocations: 1.498 MB / 3.54 GB, free: 5.348 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007674/7.066, allocations: 8.048 MB / 3.548 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/7.069, allocations: 1.759 MB / 3.549 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/7.07, allocations: 368.9 kB / 3.55 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6004/7.67, allocations: 80.68 MB / 3.629 GB, free: 31.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/7.67, allocations: 41.8 kB / 3.629 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=69): time 3.577e-06/7.67, allocations: 0 / 3.629 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69): time 0.00433/7.674, allocations: 1.591 MB / 3.63 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/7.675, allocations: 193.4 kB / 3.63 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/7.676, allocations: 0.8051 MB / 3.631 GB, free: 31.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.403e-05/7.676, allocations: 36.45 kB / 3.631 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/7.677, allocations: 0.6115 MB / 3.632 GB, free: 30.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/7.677, allocations: 254.8 kB / 3.632 GB, free: 30.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/7.677, allocations: 22.34 kB / 3.632 GB, free: 30.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001599/7.677, allocations: 347.2 kB / 3.632 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/7.678, allocations: 290.1 kB / 3.633 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/7.679, allocations: 0.7735 MB / 3.633 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/7.679, allocations: 422.3 kB / 3.634 GB, free: 29.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/7.679, allocations: 8.469 kB / 3.634 GB, free: 29.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002157/7.681, allocations: 1.246 MB / 3.635 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/7.681, allocations: 18.31 kB / 3.635 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/7.681, allocations: 17.73 kB / 3.635 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006207/7.688, allocations: 0.8235 MB / 3.636 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/7.689, allocations: 302.5 kB / 3.636 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/7.691, allocations: 1.529 MB / 3.638 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/7.692, allocations: 155.8 kB / 3.638 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/7.692, allocations: 63.73 kB / 3.638 GB, free: 28.52 MB / 0.5105 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.0003997/7.693, allocations: 201 kB / 3.638 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/7.693, allocations: 109.2 kB / 3.638 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/7.698, allocations: 4.441 MB / 3.642 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.591e-05/7.698, allocations: 50.36 kB / 3.642 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/7.698, allocations: 4 kB / 3.642 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/7.698, allocations: 3.281 kB / 3.642 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006339/7.704, allocations: 4.874 MB / 3.647 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/7.704, allocations: 7 kB / 3.647 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/7.705, allocations: 170.2 kB / 3.647 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006966/7.712, allocations: 1.884 MB / 3.649 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/7.713, allocations: 25.16 kB / 3.649 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/7.715, allocations: 1.916 MB / 3.651 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/7.715, allocations: 0 / 3.651 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/7.717, allocations: 1.987 MB / 3.653 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007781/7.718, allocations: 325.8 kB / 3.653 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/7.718, allocations: 14.78 kB / 3.653 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007927/7.719, allocations: 56.05 kB / 3.653 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/7.719, allocations: 45.03 kB / 3.654 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/7.719, allocations: 29.25 kB / 3.654 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001071/7.72, allocations: 0.6895 MB / 3.654 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/7.72, allocations: 4.938 kB / 3.654 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006354/7.727, allocations: 1.329 MB / 3.656 GB, free: 24.84 MB / 0.5105 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 () * 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.011/7.738, allocations: 1.744 MB / 3.657 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003412/7.741, allocations: 1.255 MB / 3.658 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/7.741, allocations: 0 / 3.658 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/7.743, allocations: 0.8946 MB / 3.659 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/7.746, allocations: 0.5389 MB / 3.66 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1199/7.866, allocations: 80.84 MB / 3.739 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/7.869, allocations: 1.462 MB / 3.74 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001555/7.87, allocations: 0.5643 MB / 3.741 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/7.871, allocations: 97.78 kB / 3.741 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of SimCode: time 2.053e-06/7.871, allocations: 4 kB / 3.741 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.3811/8.252, allocations: 51.32 MB / 3.791 GB, free: 83.62 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)