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.006085/0.006085, allocations: 165.4 kB / 15.11 MB, free: 5.973 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.379/1.379, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001914/0.001914, allocations: 115.3 kB / 226.2 MB, free: 10.1 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.3809/0.3809, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.000403, allocations: 8 kB / 362.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1259, allocations: 48.7 MB / 411.6 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.384/1.51, allocations: 463.2 MB / 0.8542 GB, free: 74.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.511, allocations: 94.05 kB / 0.8543 GB, free: 74.86 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.7325/2.243, allocations: 196.7 MB / 1.046 GB, free: 63.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.735e-06/2.243, allocations: 8 kB / 1.046 GB, free: 63.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.299e-05/2.243, allocations: 12 kB / 1.046 GB, free: 63.29 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.002753/2.246, allocations: 1.108 MB / 1.048 GB, free: 62.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/2.246, allocations: 8.031 kB / 1.048 GB, free: 62.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/2.247, allocations: 175 kB / 1.048 GB, free: 61.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/2.248, allocations: 0.5793 MB / 1.048 GB, free: 61.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/2.248, allocations: 33 kB / 1.048 GB, free: 61.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/2.248, allocations: 36 kB / 1.048 GB, free: 61.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008928/2.249, allocations: 0.6001 MB / 1.049 GB, free: 60.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/2.249, allocations: 0 / 1.049 GB, free: 60.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/2.249, allocations: 24 kB / 1.049 GB, free: 60.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/2.249, allocations: 8 kB / 1.049 GB, free: 60.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006204/2.25, allocations: 483.6 kB / 1.049 GB, free: 60.11 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002804/2.253, allocations: 2.587 MB / 1.052 GB, free: 57.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/2.253, allocations: 270.7 kB / 1.052 GB, free: 57.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/2.254, allocations: 236.4 kB / 1.052 GB, free: 56.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/2.254, allocations: 269.8 kB / 1.053 GB, free: 56.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.887e-06/2.254, allocations: 0 / 1.053 GB, free: 56.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009369/2.255, allocations: 0.6517 MB / 1.053 GB, free: 55.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/2.255, allocations: 166.2 kB / 1.053 GB, free: 55.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/2.256, allocations: 498 kB / 1.054 GB, free: 55.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/2.256, allocations: 29.7 kB / 1.054 GB, free: 55.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/2.256, allocations: 351.1 kB / 1.054 GB, free: 54.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/2.256, allocations: 106.5 kB / 1.054 GB, free: 54.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/2.256, allocations: 12 kB / 1.054 GB, free: 54.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/2.256, allocations: 362.8 kB / 1.055 GB, free: 54.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/2.256, allocations: 161 kB / 1.055 GB, free: 54.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/2.257, allocations: 380.1 kB / 1.055 GB, free: 53.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/2.257, allocations: 241.4 kB / 1.056 GB, free: 53.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/2.257, allocations: 7.953 kB / 1.056 GB, free: 53.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008772/2.258, allocations: 0.6548 MB / 1.056 GB, free: 52.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009631/2.259, allocations: 2.735 MB / 1.059 GB, free: 49.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/2.259, allocations: 4 kB / 1.059 GB, free: 49.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/2.259, allocations: 12 kB / 1.059 GB, free: 49.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006736/2.266, allocations: 0.6126 MB / 1.059 GB, free: 49.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004968/2.266, allocations: 0.6678 MB / 1.06 GB, free: 48.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000617/2.267, allocations: 71.36 kB / 1.06 GB, free: 48.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/2.267, allocations: 55.98 kB / 1.06 GB, free: 48.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/2.267, allocations: 7.938 kB / 1.06 GB, free: 48.32 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007914/2.268, allocations: 0.5564 MB / 1.061 GB, free: 47.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/2.268, allocations: 8.031 kB / 1.061 GB, free: 47.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/2.268, allocations: 12 kB / 1.061 GB, free: 47.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/2.268, allocations: 139.7 kB / 1.061 GB, free: 47.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/2.268, allocations: 15.98 kB / 1.061 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/2.269, allocations: 51.66 kB / 1.061 GB, free: 47.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/2.269, allocations: 60 kB / 1.061 GB, free: 47.48 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 () * Number of clocked 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.0003874/2.269, allocations: 317.6 kB / 1.061 GB, free: 47.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/2.269, allocations: 59.25 kB / 1.061 GB, free: 47.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/2.271, allocations: 0.7661 MB / 1.062 GB, free: 46.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/2.271, allocations: 4 kB / 1.062 GB, free: 46.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/2.271, allocations: 3.938 kB / 1.062 GB, free: 46.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/2.271, allocations: 3.984 kB / 1.062 GB, free: 46.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/2.272, allocations: 1.657 MB / 1.064 GB, free: 44.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/2.272, allocations: 4 kB / 1.064 GB, free: 44.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/2.274, allocations: 204 kB / 1.064 GB, free: 44.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/2.274, allocations: 4 kB / 1.064 GB, free: 44.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/2.274, allocations: 23.98 kB / 1.064 GB, free: 44.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002796/2.275, allocations: 0.6367 MB / 1.065 GB, free: 43.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/2.275, allocations: 7.969 kB / 1.065 GB, free: 43.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/2.275, allocations: 0.7389 MB / 1.065 GB, free: 42.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/2.275, allocations: 144.2 kB / 1.065 GB, free: 42.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/2.276, allocations: 15.95 kB / 1.066 GB, free: 42.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/2.276, allocations: 19.98 kB / 1.066 GB, free: 42.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/2.276, allocations: 39.95 kB / 1.066 GB, free: 42.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/2.276, allocations: 36 kB / 1.066 GB, free: 42.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004738/2.277, allocations: 382.8 kB / 1.066 GB, free: 42.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.277, allocations: 0 / 1.066 GB, free: 42.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00312/2.28, allocations: 0.6084 MB / 1.067 GB, free: 41.5 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) * Number of clocked states: 0 () * 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.002572/2.282, allocations: 1.2 MB / 1.068 GB, free: 40.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01225/2.294, allocations: 1.613 MB / 1.069 GB, free: 38.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/2.295, allocations: 3.938 kB / 1.069 GB, free: 38.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003215/2.298, allocations: 464.8 kB / 1.07 GB, free: 38.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/2.299, allocations: 241.9 kB / 1.07 GB, free: 37.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006585/2.306, allocations: 2.865 MB / 1.073 GB, free: 35.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/2.306, allocations: 0.8994 MB / 1.074 GB, free: 34.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001316/2.308, allocations: 272.5 kB / 1.074 GB, free: 33.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/2.308, allocations: 95.39 kB / 1.074 GB, free: 33.76 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/2.308, allocations: 0 / 1.074 GB, free: 33.76 MB / 442.7 MB Notification: Performance of Templates: time 0.03222/2.34, allocations: 23.58 MB / 1.097 GB, free: 10.2 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)