Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.000977/0.000977, allocations: 165.6 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.29/1.29, allocations: 170.7 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.00163/0.00163, allocations: 115.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.179/0.179, allocations: 37.98 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.549e-05, allocations: 2.812 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 48.73 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.299, allocations: 462.4 MB / 0.841 GB, free: 93.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/1.3, allocations: 82.27 kB / 0.841 GB, free: 93.78 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/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/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 0.638/1.938, allocations: 190.5 MB / 1.027 GB, free: 76.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.938, allocations: 0 / 1.027 GB, free: 76.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.559e-05/1.938, allocations: 16 kB / 1.027 GB, free: 76.98 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.003021/1.941, allocations: 1.019 MB / 1.028 GB, free: 75.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.941, allocations: 11.97 kB / 1.028 GB, free: 75.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/1.942, allocations: 179 kB / 1.028 GB, free: 75.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/1.944, allocations: 0.5695 MB / 1.029 GB, free: 75.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/1.944, allocations: 12 kB / 1.029 GB, free: 75.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.944, allocations: 24 kB / 1.029 GB, free: 75.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007441/1.945, allocations: 434.5 kB / 1.029 GB, free: 74.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007941/1.945, allocations: 0.527 MB / 1.03 GB, free: 74.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/1.945, allocations: 3.938 kB / 1.03 GB, free: 74.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.633e-05/1.945, allocations: 8 kB / 1.03 GB, free: 74.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/1.946, allocations: 11.95 kB / 1.03 GB, free: 74.07 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003047/1.949, allocations: 2.691 MB / 1.032 GB, free: 71.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/1.949, allocations: 262.9 kB / 1.033 GB, free: 70.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/1.949, allocations: 105 kB / 1.033 GB, free: 70.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/1.95, allocations: 198.5 kB / 1.033 GB, free: 70.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/1.95, allocations: 192.8 kB / 1.033 GB, free: 70.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.345e-06/1.95, allocations: 0 / 1.033 GB, free: 70.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.008932/1.959, allocations: 1.491 MB / 1.035 GB, free: 68.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/1.959, allocations: 162.2 kB / 1.035 GB, free: 68.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007829/1.96, allocations: 0.5021 MB / 1.035 GB, free: 68.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/1.96, allocations: 25.7 kB / 1.035 GB, free: 68.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/1.96, allocations: 382.6 kB / 1.036 GB, free: 67.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/1.96, allocations: 75 kB / 1.036 GB, free: 67.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/1.96, allocations: 0 / 1.036 GB, free: 67.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/1.96, allocations: 362.8 kB / 1.036 GB, free: 67.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/1.96, allocations: 141.1 kB / 1.036 GB, free: 67.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/1.961, allocations: 366.4 kB / 1.037 GB, free: 66.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008538/1.969, allocations: 1.439 MB / 1.038 GB, free: 65.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/1.969, allocations: 4 kB / 1.038 GB, free: 65.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.009279/1.979, allocations: 1.806 MB / 1.04 GB, free: 63.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006422/1.979, allocations: 2.738 MB / 1.042 GB, free: 60.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/1.979, allocations: 8 kB / 1.042 GB, free: 60.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/1.979, allocations: 16 kB / 1.042 GB, free: 60.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005756/1.985, allocations: 0.6046 MB / 1.043 GB, free: 59.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/1.988, allocations: 1.023 MB / 1.044 GB, free: 58.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007518/1.989, allocations: 67.27 kB / 1.044 GB, free: 58.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/1.989, allocations: 59.94 kB / 1.044 GB, free: 58.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.989, allocations: 4 kB / 1.044 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002569/1.992, allocations: 0.8975 MB / 1.045 GB, free: 57.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.992, allocations: 8 kB / 1.045 GB, free: 57.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.992, allocations: 12 kB / 1.045 GB, free: 57.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/1.992, allocations: 143.7 kB / 1.045 GB, free: 57.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.992, allocations: 15.94 kB / 1.045 GB, free: 57.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/1.993, allocations: 44.08 kB / 1.045 GB, free: 57.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/1.993, allocations: 55.92 kB / 1.045 GB, free: 57.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001822/1.993, allocations: 162.9 kB / 1.045 GB, free: 57.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/1.993, allocations: 63.2 kB / 1.045 GB, free: 57.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002953/1.996, allocations: 0.7035 MB / 1.046 GB, free: 56.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.996, allocations: 4 kB / 1.046 GB, free: 56.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.996, allocations: 0 / 1.046 GB, free: 56.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.996, allocations: 3.984 kB / 1.046 GB, free: 56.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/1.997, allocations: 425.4 kB / 1.047 GB, free: 56.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.997, allocations: 4 kB / 1.047 GB, free: 56.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/1.998, allocations: 163.8 kB / 1.047 GB, free: 56.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/1.998, allocations: 4 kB / 1.047 GB, free: 56.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/1.998, allocations: 11.92 kB / 1.047 GB, free: 56.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009038/1.999, allocations: 0.7226 MB / 1.047 GB, free: 55.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.999, allocations: 0 / 1.047 GB, free: 55.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/2.002, allocations: 0.6459 MB / 1.048 GB, free: 54.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/2.002, allocations: 156.2 kB / 1.048 GB, free: 54.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/2.002, allocations: 7.984 kB / 1.048 GB, free: 54.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/2.003, allocations: 15.92 kB / 1.048 GB, free: 54.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/2.003, allocations: 11.98 kB / 1.048 GB, free: 54.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/2.003, allocations: 12 kB / 1.048 GB, free: 54.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000415/2.003, allocations: 403.1 kB / 1.049 GB, free: 54.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/2.003, allocations: 7.938 kB / 1.049 GB, free: 54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001868/2.005, allocations: 0.5712 MB / 1.049 GB, free: 53.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002525/2.007, allocations: 1.35 MB / 1.051 GB, free: 52.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01044/2.018, allocations: 1.502 MB / 1.052 GB, free: 50.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/2.018, allocations: 0 / 1.052 GB, free: 50.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002698/2.021, allocations: 375.8 kB / 1.052 GB, free: 50.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/2.022, allocations: 199 kB / 1.053 GB, free: 50.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006733/2.029, allocations: 2.279 MB / 1.055 GB, free: 47.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/2.029, allocations: 0.8955 MB / 1.056 GB, free: 46.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001675/2.031, allocations: 288.5 kB / 1.056 GB, free: 46.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/2.031, allocations: 67.41 kB / 1.056 GB, free: 46.59 MB / 426.7 MB Notification: Performance of SimCode: time 8.02e-07/2.031, allocations: 4 kB / 1.056 GB, free: 46.59 MB / 426.7 MB Notification: Performance of Templates: time 0.02958/2.061, allocations: 17.56 MB / 1.073 GB, free: 29.05 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1)