Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.00121, allocations: 201.5 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 226.5 MB / 245.4 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008379/0.0008378, allocations: 100.9 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4252/0.4252, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003312, allocations: 4 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4917, allocations: 62.96 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.27/1.762, allocations: 478.2 MB / 0.9855 GB, free: 139.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/1.762, allocations: 91.94 kB / 0.9856 GB, free: 139.4 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308: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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308: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.7657/2.528, allocations: 189.5 MB / 1.171 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.746e-06/2.528, allocations: 3.594 kB / 1.171 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.693e-05/2.528, allocations: 14.95 kB / 1.171 GB, free: 131.8 MB / 0.5417 GB 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.003074/2.531, allocations: 1.076 MB / 1.172 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/2.531, allocations: 11.19 kB / 1.172 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/2.533, allocations: 175.1 kB / 1.172 GB, free: 131.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/2.534, allocations: 0.5772 MB / 1.172 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/2.534, allocations: 34.22 kB / 1.172 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/2.535, allocations: 39.12 kB / 1.173 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/2.536, allocations: 0.6244 MB / 1.173 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/2.536, allocations: 6.281 kB / 1.173 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/2.536, allocations: 25.97 kB / 1.173 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/2.536, allocations: 18.25 kB / 1.173 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007835/2.537, allocations: 497 kB / 1.174 GB, free: 130.7 MB / 0.5417 GB 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.00345/2.54, allocations: 2.653 MB / 1.176 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/2.541, allocations: 292.2 kB / 1.177 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/2.541, allocations: 183.3 kB / 1.177 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003393/2.541, allocations: 346.3 kB / 1.177 GB, free: 128.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/2.542, allocations: 351.4 kB / 1.177 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 3.176e-06/2.542, allocations: 2.938 kB / 1.177 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.001209/2.543, allocations: 0.6446 MB / 1.178 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/2.543, allocations: 303.4 kB / 1.178 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000829/2.544, allocations: 0.6162 MB / 1.179 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/2.544, allocations: 34.23 kB / 1.179 GB, free: 128 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/2.544, allocations: 336.4 kB / 1.179 GB, free: 127.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/2.544, allocations: 116.9 kB / 1.179 GB, free: 127.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/2.544, allocations: 9.406 kB / 1.179 GB, free: 127.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000158/2.545, allocations: 374.8 kB / 1.18 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/2.545, allocations: 168.5 kB / 1.18 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/2.545, allocations: 388.8 kB / 1.18 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/2.546, allocations: 0.573 MB / 1.181 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/2.546, allocations: 0 / 1.181 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001087/2.547, allocations: 0.6709 MB / 1.181 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/2.547, allocations: 271.6 kB / 1.182 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/2.547, allocations: 7.719 kB / 1.182 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/2.547, allocations: 9.875 kB / 1.182 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005792/2.553, allocations: 0.6105 MB / 1.182 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004592/2.554, allocations: 0.6546 MB / 1.183 GB, free: 125.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007645/2.554, allocations: 81.62 kB / 1.183 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/2.554, allocations: 52.09 kB / 1.183 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/2.554, allocations: 8.469 kB / 1.183 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009409/2.555, allocations: 0.5638 MB / 1.184 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/2.555, allocations: 7.156 kB / 1.184 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/2.555, allocations: 7.844 kB / 1.184 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/2.556, allocations: 129.1 kB / 1.184 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/2.556, allocations: 7.156 kB / 1.184 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/2.557, allocations: 68.27 kB / 1.184 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/2.557, allocations: 52.47 kB / 1.184 GB, free: 125.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (55): * Single equations (assignments): 53 * 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.0004966/2.557, allocations: 305.8 kB / 1.184 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/2.557, allocations: 71.41 kB / 1.184 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/2.559, allocations: 1.197 MB / 1.185 GB, free: 124.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/2.559, allocations: 3.5 kB / 1.185 GB, free: 124.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/2.559, allocations: 0 / 1.185 GB, free: 124.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/2.56, allocations: 3.891 kB / 1.185 GB, free: 124.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/2.562, allocations: 2.31 MB / 1.188 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/2.562, allocations: 2.875 kB / 1.188 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/2.564, allocations: 214.3 kB / 1.188 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/2.564, allocations: 2.812 kB / 1.188 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/2.564, allocations: 29.61 kB / 1.188 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003537/2.565, allocations: 0.6449 MB / 1.189 GB, free: 122 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/2.565, allocations: 7.594 kB / 1.189 GB, free: 122 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009603/2.565, allocations: 0.718 MB / 1.189 GB, free: 121.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/2.566, allocations: 154 kB / 1.189 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/2.566, allocations: 15.72 kB / 1.189 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/2.566, allocations: 30.78 kB / 1.189 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/2.566, allocations: 37.16 kB / 1.19 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-05/2.567, allocations: 41.78 kB / 1.19 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005509/2.567, allocations: 451.2 kB / 1.19 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.4e-07/2.567, allocations: 0 / 1.19 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002115/2.569, allocations: 0.5815 MB / 1.191 GB, free: 121 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.002326/2.572, allocations: 1.108 MB / 1.192 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01038/2.582, allocations: 1.643 MB / 1.193 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/2.582, allocations: 7.516 kB / 1.193 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002666/2.585, allocations: 483.2 kB / 1.194 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/2.587, allocations: 314.1 kB / 1.194 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/2.589, allocations: 1.29 MB / 1.195 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/2.589, allocations: 0.8826 MB / 1.196 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002317/2.592, allocations: 0.9903 MB / 1.197 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/2.592, allocations: 107.7 kB / 1.197 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/2.592, allocations: 3.938 kB / 1.197 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.04346/2.636, allocations: 25.86 MB / 1.222 GB, free: 111.9 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1)