Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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="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_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004284/0.004291, allocations: 361.8 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.12/4.12, allocations: 388.9 MB / 405.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003581/0.003581, allocations: 228.9 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5799/0.5799, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.0005033, allocations: 16 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.123, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.761/1.884, allocations: 470 MB / 1.139 GB, free: 139 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004252/1.885, allocations: 89.2 kB / 1.139 GB, free: 138.9 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/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 .... [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/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 1.066/2.95, allocations: 194.9 MB / 1.33 GB, free: 112 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.266e-06/2.95, allocations: 7.562 kB / 1.33 GB, free: 112 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.132e-05/2.951, allocations: 13.91 kB / 1.33 GB, free: 112 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.003282/2.954, allocations: 1.115 MB / 1.331 GB, free: 111.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/2.954, allocations: 11.69 kB / 1.331 GB, free: 111.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/2.956, allocations: 182.4 kB / 1.331 GB, free: 111.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/2.958, allocations: 0.5798 MB / 1.331 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/2.958, allocations: 32.53 kB / 1.331 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/2.958, allocations: 39.69 kB / 1.331 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/2.959, allocations: 0.6064 MB / 1.332 GB, free: 110.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/2.959, allocations: 0 / 1.332 GB, free: 110.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/2.959, allocations: 25.53 kB / 1.332 GB, free: 110.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/2.959, allocations: 9.344 kB / 1.332 GB, free: 110.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/2.961, allocations: 487.4 kB / 1.333 GB, free: 110.9 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.004604/2.965, allocations: 2.612 MB / 1.335 GB, free: 109.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/2.966, allocations: 267.5 kB / 1.335 GB, free: 109.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/2.966, allocations: 183.1 kB / 1.336 GB, free: 109.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/2.968, allocations: 1.227 MB / 1.337 GB, free: 108.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005987/2.969, allocations: 277.1 kB / 1.337 GB, free: 108.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 4.408e-06/2.969, allocations: 0 / 1.337 GB, free: 108.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001557/2.97, allocations: 0.575 MB / 1.338 GB, free: 108.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/2.97, allocations: 161.7 kB / 1.338 GB, free: 107.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008844/2.971, allocations: 0.5462 MB / 1.338 GB, free: 107.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.464e-05/2.971, allocations: 36.55 kB / 1.338 GB, free: 107.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/2.972, allocations: 348.4 kB / 1.339 GB, free: 107.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/2.972, allocations: 120.7 kB / 1.339 GB, free: 107.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/2.972, allocations: 6.812 kB / 1.339 GB, free: 107.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/2.972, allocations: 374.7 kB / 1.339 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/2.973, allocations: 158.3 kB / 1.339 GB, free: 107.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/2.973, allocations: 395 kB / 1.34 GB, free: 106.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/2.974, allocations: 251.2 kB / 1.34 GB, free: 106.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/2.974, allocations: 0 / 1.34 GB, free: 106.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00163/2.975, allocations: 0.6549 MB / 1.34 GB, free: 106.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002319/2.976, allocations: 329.2 kB / 1.341 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/2.976, allocations: 11.08 kB / 1.341 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/2.976, allocations: 10.81 kB / 1.341 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01266/2.988, allocations: 0.6221 MB / 1.341 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006578/2.989, allocations: 0.6582 MB / 1.342 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/2.99, allocations: 74.8 kB / 1.342 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/2.99, allocations: 56.39 kB / 1.342 GB, free: 105.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/2.99, allocations: 3.875 kB / 1.342 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001326/2.991, allocations: 0.5515 MB / 1.343 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/2.991, allocations: 3.906 kB / 1.343 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/2.991, allocations: 15.5 kB / 1.343 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/2.992, allocations: 139.5 kB / 1.343 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/2.992, allocations: 13.53 kB / 1.343 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/2.993, allocations: 57.27 kB / 1.343 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/2.993, allocations: 56.02 kB / 1.343 GB, free: 105.8 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.0005467/2.994, allocations: 318.3 kB / 1.343 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/2.994, allocations: 58.03 kB / 1.343 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/2.996, allocations: 0.7648 MB / 1.344 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/2.996, allocations: 7.766 kB / 1.344 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/2.996, allocations: 3.953 kB / 1.344 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/2.996, allocations: 0 / 1.344 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004952/3.001, allocations: 2.999 MB / 1.347 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/3.001, allocations: 0 / 1.347 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003462/3.005, allocations: 210.7 kB / 1.347 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.15e-05/3.005, allocations: 6.531 kB / 1.347 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/3.005, allocations: 23.75 kB / 1.347 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004917/3.006, allocations: 0.6343 MB / 1.348 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/3.006, allocations: 3.938 kB / 1.348 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/3.007, allocations: 0.6548 MB / 1.349 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/3.007, allocations: 143.9 kB / 1.349 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/3.007, allocations: 16.52 kB / 1.349 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/3.008, allocations: 32.12 kB / 1.349 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/3.008, allocations: 37.64 kB / 1.349 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.391e-05/3.008, allocations: 36.5 kB / 1.349 GB, free: 102.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000637/3.009, allocations: 388.2 kB / 1.349 GB, free: 102.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/3.009, allocations: 0 / 1.349 GB, free: 102.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002864/3.012, allocations: 0.6085 MB / 1.35 GB, free: 102.1 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.003338/3.015, allocations: 1.216 MB / 1.351 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02168/3.037, allocations: 1.677 MB / 1.353 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/3.037, allocations: 2.219 kB / 1.353 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005555/3.043, allocations: 490.8 kB / 1.353 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/3.045, allocations: 249 kB / 1.353 GB, free: 101.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/3.05, allocations: 1.812 MB / 1.355 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/3.05, allocations: 0.9034 MB / 1.356 GB, free: 99.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002238/3.052, allocations: 278 kB / 1.356 GB, free: 99.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/3.053, allocations: 91.33 kB / 1.356 GB, free: 99.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.173e-06/3.053, allocations: 0 / 1.356 GB, free: 99.57 MB / 490.7 MB Notification: Performance of Templates: time 0.05524/3.108, allocations: 24.09 MB / 1.38 GB, free: 89.41 MB / 490.7 MB