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.00991/0.00991, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.819/1.819, allocations: 194.5 MB / 210.3 MB, free: 7.547 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.00188/0.00188, allocations: 132.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3922/0.3922, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005816/0.0005817, allocations: 15.28 kB / 406.2 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1609, allocations: 54.86 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.476/1.637, allocations: 470 MB / 0.9093 GB, free: 130.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/1.638, allocations: 84.78 kB / 0.9093 GB, free: 130.8 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.7589/2.396, allocations: 196.2 MB / 1.101 GB, free: 101.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.475e-06/2.396, allocations: 3.656 kB / 1.101 GB, free: 101.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.993e-05/2.397, allocations: 17.44 kB / 1.101 GB, free: 101.1 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.002798/2.399, allocations: 1.117 MB / 1.102 GB, free: 100.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/2.399, allocations: 8.375 kB / 1.102 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/2.401, allocations: 173 kB / 1.102 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/2.402, allocations: 0.5766 MB / 1.103 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/2.402, allocations: 41.22 kB / 1.103 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.132e-05/2.402, allocations: 43.16 kB / 1.103 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/2.403, allocations: 0.5961 MB / 1.103 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/2.403, allocations: 1.219 kB / 1.103 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/2.403, allocations: 21.06 kB / 1.103 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/2.403, allocations: 10.06 kB / 1.103 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/2.404, allocations: 485.2 kB / 1.104 GB, free: 100.3 MB / 490.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.002973/2.407, allocations: 2.613 MB / 1.106 GB, free: 98.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/2.408, allocations: 261.2 kB / 1.107 GB, free: 98.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/2.408, allocations: 238.8 kB / 1.107 GB, free: 98.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/2.408, allocations: 269.4 kB / 1.107 GB, free: 98.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.546e-06/2.408, allocations: 0.7812 kB / 1.107 GB, free: 98.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001217/2.41, allocations: 0.6615 MB / 1.108 GB, free: 98.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/2.41, allocations: 163.8 kB / 1.108 GB, free: 98.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/2.41, allocations: 491.8 kB / 1.108 GB, free: 97.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/2.41, allocations: 36.92 kB / 1.109 GB, free: 97.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/2.411, allocations: 344.5 kB / 1.109 GB, free: 97.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/2.411, allocations: 122.9 kB / 1.109 GB, free: 97.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/2.411, allocations: 11.5 kB / 1.109 GB, free: 97.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/2.411, allocations: 375.8 kB / 1.109 GB, free: 97.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/2.411, allocations: 157.7 kB / 1.109 GB, free: 97.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/2.412, allocations: 386.1 kB / 1.11 GB, free: 97.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/2.412, allocations: 245.3 kB / 1.11 GB, free: 97.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/2.412, allocations: 3.938 kB / 1.11 GB, free: 97.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008883/2.413, allocations: 0.655 MB / 1.111 GB, free: 96.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006058/2.413, allocations: 2.742 MB / 1.113 GB, free: 94.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/2.413, allocations: 9.438 kB / 1.113 GB, free: 94.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/2.413, allocations: 11.16 kB / 1.113 GB, free: 94.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006671/2.42, allocations: 0.6077 MB / 1.114 GB, free: 94.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005181/2.421, allocations: 0.6622 MB / 1.115 GB, free: 93.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/2.421, allocations: 64.22 kB / 1.115 GB, free: 93.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.737e-05/2.422, allocations: 55.58 kB / 1.115 GB, free: 93.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/2.422, allocations: 8 kB / 1.115 GB, free: 93.53 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008466/2.422, allocations: 0.5515 MB / 1.115 GB, free: 93.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/2.422, allocations: 5.688 kB / 1.115 GB, free: 93.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/2.422, allocations: 11.69 kB / 1.115 GB, free: 93.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/2.423, allocations: 134.9 kB / 1.115 GB, free: 93.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/2.423, allocations: 20.27 kB / 1.115 GB, free: 93.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/2.423, allocations: 57.62 kB / 1.116 GB, free: 93.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/2.423, allocations: 59.3 kB / 1.116 GB, free: 93.48 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 () * 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.0004239/2.424, allocations: 311.3 kB / 1.116 GB, free: 93.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/2.424, allocations: 61.2 kB / 1.116 GB, free: 93.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/2.425, allocations: 0.7581 MB / 1.117 GB, free: 93.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/2.425, allocations: 8.844 kB / 1.117 GB, free: 93.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/2.425, allocations: 3.25 kB / 1.117 GB, free: 93.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/2.425, allocations: 3.75 kB / 1.117 GB, free: 93.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/2.427, allocations: 1.665 MB / 1.118 GB, free: 92.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/2.427, allocations: 7.641 kB / 1.118 GB, free: 92.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001894/2.429, allocations: 213 kB / 1.119 GB, free: 92.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/2.429, allocations: 3.469 kB / 1.119 GB, free: 92.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/2.429, allocations: 16.91 kB / 1.119 GB, free: 92.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002827/2.429, allocations: 0.6391 MB / 1.119 GB, free: 91.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/2.429, allocations: 6.438 kB / 1.119 GB, free: 91.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/2.43, allocations: 0.7495 MB / 1.12 GB, free: 91.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/2.43, allocations: 142.2 kB / 1.12 GB, free: 91.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/2.43, allocations: 13.75 kB / 1.12 GB, free: 91.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/2.431, allocations: 32.61 kB / 1.12 GB, free: 91.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/2.431, allocations: 40.86 kB / 1.12 GB, free: 91.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/2.431, allocations: 33.86 kB / 1.12 GB, free: 91.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003982/2.431, allocations: 381.3 kB / 1.121 GB, free: 91.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.431, allocations: 5.562 kB / 1.121 GB, free: 91.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002397/2.434, allocations: 0.6162 MB / 1.121 GB, free: 91.09 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) * 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.002365/2.436, allocations: 1.201 MB / 1.122 GB, free: 90.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01201/2.448, allocations: 1.661 MB / 1.124 GB, free: 90.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/2.448, allocations: 0 / 1.124 GB, free: 90.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003123/2.451, allocations: 496.1 kB / 1.124 GB, free: 90.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/2.453, allocations: 243 kB / 1.125 GB, free: 90.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007747/2.461, allocations: 2.883 MB / 1.127 GB, free: 90.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/2.461, allocations: 0.9038 MB / 1.128 GB, free: 89.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001487/2.463, allocations: 278.5 kB / 1.129 GB, free: 89.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/2.463, allocations: 94.86 kB / 1.129 GB, free: 89.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.463e-06/2.463, allocations: 3.188 kB / 1.129 GB, free: 89.3 MB / 490.7 MB Notification: Performance of Templates: time 0.0359/2.499, allocations: 23.73 MB / 1.152 GB, free: 88.41 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)