Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001866/0.001866, allocations: 181.4 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.392/1.392, allocations: 194.3 MB / 207.5 MB, free: 3.441 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.001612/0.001612, allocations: 108.7 kB / 252.6 MB, free: 4.777 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.1866/0.1866, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.785e-05, allocations: 3.984 kB / 400.3 MB, free: 69.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09545, allocations: 54.86 MB / 455.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.233, allocations: 470 MB / 0.9034 GB, free: 149.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/1.233, allocations: 82.83 kB / 0.9035 GB, free: 149.1 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 .... Notification: Performance of FrontEnd - DAE generated: time 0.6305/1.863, allocations: 195.6 MB / 1.095 GB, free: 111.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.243e-06/1.863, allocations: 0 / 1.095 GB, free: 111.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.616e-05/1.863, allocations: 19.41 kB / 1.095 GB, free: 111.6 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001909/1.865, allocations: 1.025 MB / 1.096 GB, free: 111 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/1.865, allocations: 10.62 kB / 1.096 GB, free: 111 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/1.867, allocations: 175.7 kB / 1.096 GB, free: 111 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/1.868, allocations: 0.5834 MB / 1.096 GB, free: 110.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/1.868, allocations: 31.28 kB / 1.096 GB, free: 110.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/1.868, allocations: 40.81 kB / 1.096 GB, free: 110.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007732/1.868, allocations: 0.5939 MB / 1.097 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.868, allocations: 0 / 1.097 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/1.869, allocations: 24.56 kB / 1.097 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/1.869, allocations: 13.83 kB / 1.097 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/1.869, allocations: 475 kB / 1.097 GB, free: 110.6 MB / 490.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.00237/1.872, allocations: 2.6 MB / 1.1 GB, free: 109.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/1.872, allocations: 261.6 kB / 1.1 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/1.872, allocations: 179.2 kB / 1.1 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/1.872, allocations: 235.8 kB / 1.101 GB, free: 108.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/1.873, allocations: 265.9 kB / 1.101 GB, free: 108.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 2.365e-06/1.873, allocations: 5.609 kB / 1.101 GB, free: 108.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006382/1.873, allocations: 451.7 kB / 1.101 GB, free: 108.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/1.873, allocations: 159.5 kB / 1.101 GB, free: 108.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/1.874, allocations: 487.2 kB / 1.102 GB, free: 108.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/1.874, allocations: 36.64 kB / 1.102 GB, free: 108.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/1.874, allocations: 361.5 kB / 1.102 GB, free: 108.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/1.874, allocations: 111.9 kB / 1.102 GB, free: 108.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/1.874, allocations: 7.875 kB / 1.102 GB, free: 108.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/1.874, allocations: 381 kB / 1.103 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/1.875, allocations: 152.2 kB / 1.103 GB, free: 107.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/1.875, allocations: 382.8 kB / 1.103 GB, free: 107.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/1.875, allocations: 253.5 kB / 1.104 GB, free: 107.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.875, allocations: 2.094 kB / 1.104 GB, free: 107.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007955/1.876, allocations: 0.6443 MB / 1.104 GB, free: 107.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004355/1.876, allocations: 2.736 MB / 1.107 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.876, allocations: 3.875 kB / 1.107 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.876, allocations: 11.44 kB / 1.107 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005959/1.882, allocations: 0.6179 MB / 1.107 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004007/1.883, allocations: 0.6554 MB / 1.108 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/1.883, allocations: 72.11 kB / 1.108 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-05/1.883, allocations: 55.2 kB / 1.108 GB, free: 103.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/1.883, allocations: 3.938 kB / 1.108 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007057/1.884, allocations: 0.5441 MB / 1.109 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.884, allocations: 6.375 kB / 1.109 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/1.884, allocations: 12.56 kB / 1.109 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/1.884, allocations: 131.3 kB / 1.109 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.884, allocations: 19.22 kB / 1.109 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/1.885, allocations: 68.95 kB / 1.109 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/1.885, allocations: 56.56 kB / 1.109 GB, free: 103.9 MB / 490.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: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * 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.0001439/1.885, allocations: 178.2 kB / 1.109 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/1.885, allocations: 54.53 kB / 1.109 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/1.886, allocations: 0.7525 MB / 1.11 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.887, allocations: 3.938 kB / 1.11 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.887, allocations: 0 / 1.11 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.887, allocations: 7.406 kB / 1.11 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/1.888, allocations: 1.658 MB / 1.112 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.888, allocations: 3.906 kB / 1.112 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/1.89, allocations: 210 kB / 1.112 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/1.89, allocations: 3.812 kB / 1.112 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/1.89, allocations: 25.23 kB / 1.112 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002947/1.89, allocations: 0.6409 MB / 1.112 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.89, allocations: 1.312 kB / 1.112 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/1.891, allocations: 0.7426 MB / 1.113 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/1.891, allocations: 143.4 kB / 1.113 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/1.891, allocations: 10.44 kB / 1.113 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/1.891, allocations: 30.59 kB / 1.113 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/1.892, allocations: 37.17 kB / 1.113 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/1.892, allocations: 32.45 kB / 1.113 GB, free: 101.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003325/1.892, allocations: 387.3 kB / 1.114 GB, free: 101.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.892, allocations: 2.438 kB / 1.114 GB, free: 101.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001879/1.894, allocations: 0.6105 MB / 1.114 GB, free: 101.5 MB / 490.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,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.001776/1.896, allocations: 1.207 MB / 1.116 GB, free: 101.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01068/1.906, allocations: 1.667 MB / 1.117 GB, free: 101.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.906, allocations: 5.969 kB / 1.117 GB, free: 101.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002856/1.909, allocations: 487.3 kB / 1.118 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/1.911, allocations: 246.1 kB / 1.118 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/1.917, allocations: 2.308 MB / 1.12 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.917, allocations: 0.9021 MB / 1.121 GB, free: 99.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001236/1.918, allocations: 301.4 kB / 1.121 GB, free: 99.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/1.918, allocations: 87.45 kB / 1.121 GB, free: 99.95 MB / 490.7 MB Notification: Performance of SimCode: time 7.12e-07/1.918, allocations: 5.375 kB / 1.121 GB, free: 99.95 MB / 490.7 MB Notification: Performance of Templates: time 0.031/1.949, allocations: 27.33 MB / 1.148 GB, free: 93.47 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1)