Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004077/0.004077, allocations: 345.4 kB / 15.94 MB, free: 6.223 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.935/3.935, allocations: 341.5 MB / 358.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00528/0.00528, allocations: 218.2 kB / 397.9 MB, free: 4.891 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.486/0.486, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004886, allocations: 11.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9626/1.072, allocations: 277.4 MB / 0.8776 GB, free: 22.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.072, allocations: 86.64 kB / 0.8777 GB, free: 22.76 MB / 410.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/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 .... [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/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.6768/1.749, allocations: 115.5 MB / 0.9905 GB, free: 96.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.428e-06/1.749, allocations: 0 / 0.9905 GB, free: 96.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.555e-05/1.749, allocations: 15.94 kB / 0.9905 GB, free: 96.64 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002334/1.752, allocations: 0.9277 MB / 0.9914 GB, free: 95.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.752, allocations: 11.97 kB / 0.9914 GB, free: 95.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000549/1.752, allocations: 79.23 kB / 0.9915 GB, free: 95.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/1.754, allocations: 0.5529 MB / 0.992 GB, free: 95.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/1.754, allocations: 29 kB / 0.9921 GB, free: 94.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/1.754, allocations: 44 kB / 0.9921 GB, free: 94.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/1.755, allocations: 0.6472 MB / 0.9927 GB, free: 94.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/1.755, allocations: 0 / 0.9927 GB, free: 94.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/1.756, allocations: 24 kB / 0.9928 GB, free: 94.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/1.756, allocations: 12 kB / 0.9928 GB, free: 94.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/1.757, allocations: 0.5035 MB / 0.9933 GB, free: 93.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/1.761, allocations: 3.022 MB / 0.9962 GB, free: 90.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/1.762, allocations: 190.7 kB / 0.9964 GB, free: 90.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/1.762, allocations: 115.2 kB / 0.9965 GB, free: 90.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/1.764, allocations: 0.9778 MB / 0.9975 GB, free: 89.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003406/1.764, allocations: 169 kB / 0.9976 GB, free: 88.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.467e-06/1.764, allocations: 4 kB / 0.9976 GB, free: 88.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.001001/1.765, allocations: 371.5 kB / 0.998 GB, free: 88.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/1.765, allocations: 162.2 kB / 0.9981 GB, free: 88.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/1.766, allocations: 498.7 kB / 0.9986 GB, free: 87.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/1.766, allocations: 29.7 kB / 0.9986 GB, free: 87.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/1.766, allocations: 370.5 kB / 0.999 GB, free: 87.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/1.766, allocations: 78.94 kB / 0.9991 GB, free: 87.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/1.767, allocations: 12 kB / 0.9991 GB, free: 87.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/1.767, allocations: 358.8 kB / 0.9994 GB, free: 87.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/1.767, allocations: 105.1 kB / 0.9995 GB, free: 86.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/1.767, allocations: 398.4 kB / 0.9999 GB, free: 86.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/1.768, allocations: 201.7 kB / 1 GB, free: 86.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.768, allocations: 4 kB / 1 GB, free: 86.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001312/1.769, allocations: 0.5929 MB / 1.001 GB, free: 85.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002654/1.769, allocations: 397 kB / 1.001 GB, free: 85.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.769, allocations: 12 kB / 1.001 GB, free: 85.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/1.769, allocations: 15.94 kB / 1.001 GB, free: 85.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/1.771, allocations: 195.7 kB / 1.001 GB, free: 84.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005478/1.772, allocations: 0.6133 MB / 1.002 GB, free: 84.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008294/1.773, allocations: 83.31 kB / 1.002 GB, free: 84.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/1.773, allocations: 39.98 kB / 1.002 GB, free: 84.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.773, allocations: 4 kB / 1.002 GB, free: 84.07 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/1.774, allocations: 0.5189 MB / 1.002 GB, free: 83.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.774, allocations: 12 kB / 1.003 GB, free: 83.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.774, allocations: 12 kB / 1.003 GB, free: 83.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/1.775, allocations: 131.8 kB / 1.003 GB, free: 83.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/1.775, allocations: 23.92 kB / 1.003 GB, free: 83.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/1.776, allocations: 59.83 kB / 1.003 GB, free: 83.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/1.776, allocations: 32 kB / 1.003 GB, free: 83.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 61 * 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.0004994/1.776, allocations: 312.4 kB / 1.003 GB, free: 82.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/1.776, allocations: 59.3 kB / 1.003 GB, free: 82.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/1.778, allocations: 0.6311 MB / 1.004 GB, free: 82.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/1.778, allocations: 8.031 kB / 1.004 GB, free: 82.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.778, allocations: 0 / 1.004 GB, free: 82.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.778, allocations: 4 kB / 1.004 GB, free: 82.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007835/1.779, allocations: 472.8 kB / 1.004 GB, free: 81.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.779, allocations: 4 kB / 1.004 GB, free: 81.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009629/1.78, allocations: 107.8 kB / 1.004 GB, free: 81.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/1.78, allocations: 3.953 kB / 1.004 GB, free: 81.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/1.78, allocations: 16 kB / 1.004 GB, free: 81.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003147/1.78, allocations: 0.5822 MB / 1.005 GB, free: 81.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.78, allocations: 0 / 1.005 GB, free: 81.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008887/1.781, allocations: 428.3 kB / 1.005 GB, free: 80.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/1.782, allocations: 180.2 kB / 1.005 GB, free: 80.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.782, allocations: 8 kB / 1.005 GB, free: 80.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/1.782, allocations: 19.98 kB / 1.005 GB, free: 80.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/1.782, allocations: 23.91 kB / 1.006 GB, free: 80.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/1.782, allocations: 19.98 kB / 1.006 GB, free: 80.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005608/1.783, allocations: 350.8 kB / 1.006 GB, free: 79.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.783, allocations: 0 / 1.006 GB, free: 79.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001878/1.785, allocations: 431.2 kB / 1.006 GB, free: 79.56 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.001241/1.786, allocations: 429.6 kB / 1.007 GB, free: 79.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003131/1.789, allocations: 0.7714 MB / 1.007 GB, free: 78.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.789, allocations: 4 kB / 1.007 GB, free: 78.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/1.791, allocations: 295.7 kB / 1.008 GB, free: 78.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/1.792, allocations: 202 kB / 1.008 GB, free: 77.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/1.796, allocations: 1.454 MB / 1.009 GB, free: 76.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/1.796, allocations: 0.8996 MB / 1.01 GB, free: 75.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001194/1.797, allocations: 184.5 kB / 1.01 GB, free: 75.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/1.798, allocations: 71.34 kB / 1.01 GB, free: 75.24 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/1.798, allocations: 4 kB / 1.01 GB, free: 75.24 MB / 426.7 MB Notification: Performance of Templates: time 0.03196/1.83, allocations: 11.6 MB / 1.022 GB, free: 63.73 MB / 426.7 MB