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.001051/0.001051, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.154/1.154, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001618/0.001618, allocations: 110.8 kB / 223.2 MB, free: 4.051 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.1782/0.1782, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.496e-05/2.5e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.08412, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.134, allocations: 463.1 MB / 0.8484 GB, free: 107.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/1.134, allocations: 82.33 kB / 0.8485 GB, free: 107.6 MB / 442.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.6044/1.739, allocations: 196.2 MB / 1.04 GB, free: 97.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.739, allocations: 0 / 1.04 GB, free: 97.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.043e-05/1.739, allocations: 16 kB / 1.04 GB, free: 97.27 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002098/1.741, allocations: 1.022 MB / 1.041 GB, free: 96.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.741, allocations: 10.75 kB / 1.041 GB, free: 96.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/1.742, allocations: 163 kB / 1.041 GB, free: 96.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000888/1.743, allocations: 0.5755 MB / 1.042 GB, free: 95.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/1.743, allocations: 32.16 kB / 1.042 GB, free: 95.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/1.743, allocations: 43.95 kB / 1.042 GB, free: 95.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/1.744, allocations: 0.5834 MB / 1.042 GB, free: 94.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.744, allocations: 3.938 kB / 1.042 GB, free: 94.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/1.744, allocations: 24 kB / 1.042 GB, free: 94.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/1.744, allocations: 15.98 kB / 1.042 GB, free: 94.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005703/1.745, allocations: 459.1 kB / 1.043 GB, free: 94.22 MB / 442.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.002266/1.747, allocations: 2.592 MB / 1.045 GB, free: 91.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/1.747, allocations: 264.5 kB / 1.046 GB, free: 91.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/1.748, allocations: 178.6 kB / 1.046 GB, free: 91.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/1.748, allocations: 236.5 kB / 1.046 GB, free: 90.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/1.748, allocations: 260.1 kB / 1.046 GB, free: 90.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/1.748, allocations: 0 / 1.046 GB, free: 90.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006233/1.749, allocations: 465.7 kB / 1.047 GB, free: 90.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/1.749, allocations: 158.2 kB / 1.047 GB, free: 89.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/1.749, allocations: 488.8 kB / 1.047 GB, free: 89.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/1.749, allocations: 33.58 kB / 1.047 GB, free: 89.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/1.749, allocations: 347.1 kB / 1.048 GB, free: 88.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/1.75, allocations: 110.4 kB / 1.048 GB, free: 88.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/1.75, allocations: 11.94 kB / 1.048 GB, free: 88.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.268e-05/1.75, allocations: 370.8 kB / 1.048 GB, free: 88.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/1.75, allocations: 149.1 kB / 1.048 GB, free: 88.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/1.75, allocations: 381.4 kB / 1.049 GB, free: 87.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/1.75, allocations: 241.9 kB / 1.049 GB, free: 87.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.75, allocations: 0 / 1.049 GB, free: 87.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000779/1.751, allocations: 0.65 MB / 1.05 GB, free: 86.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004651/1.752, allocations: 2.731 MB / 1.052 GB, free: 84.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.752, allocations: 8 kB / 1.052 GB, free: 84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.752, allocations: 8 kB / 1.052 GB, free: 83.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00586/1.758, allocations: 0.6165 MB / 1.053 GB, free: 83.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004356/1.758, allocations: 0.664 MB / 1.054 GB, free: 82.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/1.759, allocations: 67.42 kB / 1.054 GB, free: 82.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/1.759, allocations: 51.98 kB / 1.054 GB, free: 82.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/1.759, allocations: 4 kB / 1.054 GB, free: 82.57 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007403/1.759, allocations: 0.5525 MB / 1.054 GB, free: 82.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.759, allocations: 8 kB / 1.054 GB, free: 82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/1.759, allocations: 12 kB / 1.054 GB, free: 81.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/1.76, allocations: 131.8 kB / 1.054 GB, free: 81.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.76, allocations: 19.92 kB / 1.054 GB, free: 81.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/1.76, allocations: 51.61 kB / 1.054 GB, free: 81.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.456e-05/1.76, allocations: 63.98 kB / 1.054 GB, free: 81.73 MB / 442.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.0001335/1.76, allocations: 170.5 kB / 1.055 GB, free: 81.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/1.76, allocations: 63.25 kB / 1.055 GB, free: 81.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/1.762, allocations: 0.7554 MB / 1.055 GB, free: 80.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.762, allocations: 7.984 kB / 1.055 GB, free: 80.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/1.762, allocations: 4 kB / 1.055 GB, free: 80.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.762, allocations: 3.984 kB / 1.055 GB, free: 80.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/1.764, allocations: 1.646 MB / 1.057 GB, free: 78.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.764, allocations: 4 kB / 1.057 GB, free: 78.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.765, allocations: 215.9 kB / 1.057 GB, free: 78.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/1.765, allocations: 4 kB / 1.057 GB, free: 78.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/1.765, allocations: 19.98 kB / 1.057 GB, free: 78.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000241/1.766, allocations: 0.6368 MB / 1.058 GB, free: 77.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.766, allocations: 4.031 kB / 1.058 GB, free: 77.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/1.766, allocations: 0.7311 MB / 1.059 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.766, allocations: 144.2 kB / 1.059 GB, free: 77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/1.767, allocations: 15.98 kB / 1.059 GB, free: 76.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/1.767, allocations: 23.98 kB / 1.059 GB, free: 76.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/1.767, allocations: 39.86 kB / 1.059 GB, free: 76.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/1.767, allocations: 35.98 kB / 1.059 GB, free: 76.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003153/1.767, allocations: 377.5 kB / 1.059 GB, free: 76.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.767, allocations: 0 / 1.059 GB, free: 76.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001773/1.769, allocations: 0.6162 MB / 1.06 GB, free: 75.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 35 * 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.001775/1.771, allocations: 1.196 MB / 1.061 GB, free: 74.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01051/1.781, allocations: 1.613 MB / 1.063 GB, free: 73.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/1.781, allocations: 4.062 kB / 1.063 GB, free: 73.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002803/1.784, allocations: 459.4 kB / 1.063 GB, free: 72.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/1.785, allocations: 244 kB / 1.063 GB, free: 72.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/1.791, allocations: 2.299 MB / 1.065 GB, free: 70.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/1.791, allocations: 0.9 MB / 1.066 GB, free: 69.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001321/1.793, allocations: 308.4 kB / 1.067 GB, free: 68.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/1.793, allocations: 87.39 kB / 1.067 GB, free: 68.71 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/1.793, allocations: 0 / 1.067 GB, free: 68.71 MB / 442.7 MB Notification: Performance of Templates: time 0.03141/1.824, allocations: 27.15 MB / 1.093 GB, free: 41.55 MB / 442.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)