Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00277/0.002774, allocations: 363.1 kB / 15.95 MB, free: 6.203 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 3.998/3.998, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.003499/0.003499, allocations: 226.8 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.5872/0.5872, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004863, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.224, allocations: 283.9 MB / 0.9573 GB, free: 136.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.224, allocations: 90.08 kB / 0.9574 GB, free: 136.7 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 0.3742/1.598, allocations: 115.6 MB / 1.07 GB, free: 28.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.598, allocations: 0 / 1.07 GB, free: 28.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.099e-05/1.598, allocations: 16 kB / 1.07 GB, free: 28.3 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002411/1.601, allocations: 0.9327 MB / 1.071 GB, free: 27.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.601, allocations: 8.031 kB / 1.071 GB, free: 27.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004722/1.601, allocations: 83.14 kB / 1.071 GB, free: 27.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/1.603, allocations: 0.5405 MB / 1.072 GB, free: 26.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/1.603, allocations: 36.98 kB / 1.072 GB, free: 26.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-05/1.603, allocations: 44 kB / 1.072 GB, free: 26.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/1.604, allocations: 0.655 MB / 1.073 GB, free: 25.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/1.604, allocations: 3.938 kB / 1.073 GB, free: 25.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.387e-05/1.604, allocations: 24 kB / 1.073 GB, free: 25.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/1.604, allocations: 12 kB / 1.073 GB, free: 25.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/1.606, allocations: 0.5074 MB / 1.073 GB, free: 25.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004375/1.61, allocations: 3.041 MB / 1.076 GB, free: 22.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/1.61, allocations: 191.1 kB / 1.076 GB, free: 21.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/1.611, allocations: 120 kB / 1.076 GB, free: 21.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/1.612, allocations: 0.9937 MB / 1.077 GB, free: 20.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/1.613, allocations: 181 kB / 1.077 GB, free: 20.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.056e-06/1.613, allocations: 0 / 1.077 GB, free: 20.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009851/1.614, allocations: 370.6 kB / 1.078 GB, free: 20.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/1.614, allocations: 158.2 kB / 1.078 GB, free: 19.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007046/1.615, allocations: 498.7 kB / 1.078 GB, free: 19.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/1.615, allocations: 29.7 kB / 1.078 GB, free: 19.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/1.615, allocations: 374.5 kB / 1.079 GB, free: 19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/1.615, allocations: 90.83 kB / 1.079 GB, free: 18.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/1.615, allocations: 12 kB / 1.079 GB, free: 18.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/1.615, allocations: 362.8 kB / 1.079 GB, free: 18.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/1.616, allocations: 109.1 kB / 1.079 GB, free: 18.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/1.616, allocations: 397.5 kB / 1.08 GB, free: 17.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/1.616, allocations: 209.5 kB / 1.08 GB, free: 17.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.616, allocations: 4 kB / 1.08 GB, free: 17.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001279/1.618, allocations: 0.5848 MB / 1.081 GB, free: 17.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002237/1.618, allocations: 400.6 kB / 1.081 GB, free: 16.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/1.618, allocations: 12 kB / 1.081 GB, free: 16.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.378e-05/1.618, allocations: 16.03 kB / 1.081 GB, free: 16.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/1.62, allocations: 195.6 kB / 1.081 GB, free: 16.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005053/1.621, allocations: 0.6211 MB / 1.082 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/1.621, allocations: 79.3 kB / 1.082 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/1.621, allocations: 44.08 kB / 1.082 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.621, allocations: 4 kB / 1.082 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001069/1.623, allocations: 0.5094 MB / 1.082 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.623, allocations: 12 kB / 1.082 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.623, allocations: 16.16 kB / 1.082 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/1.623, allocations: 135.8 kB / 1.082 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/1.623, allocations: 15.94 kB / 1.083 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/1.624, allocations: 59.52 kB / 1.083 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/1.624, allocations: 39.98 kB / 1.083 GB, free: 14.8 MB / 490.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: 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 (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.0004615/1.625, allocations: 311.3 kB / 1.083 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/1.625, allocations: 59.3 kB / 1.083 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/1.626, allocations: 0.6367 MB / 1.084 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/1.626, allocations: 4 kB / 1.084 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.626, allocations: 8 kB / 1.084 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/1.626, allocations: 4 kB / 1.084 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007432/1.627, allocations: 485 kB / 1.084 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.627, allocations: 0 / 1.084 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009406/1.628, allocations: 99.86 kB / 1.084 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/1.628, allocations: 4 kB / 1.084 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/1.628, allocations: 19.98 kB / 1.084 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003091/1.629, allocations: 0.586 MB / 1.085 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.629, allocations: 0 / 1.085 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/1.629, allocations: 410.8 kB / 1.085 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/1.63, allocations: 180.3 kB / 1.085 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.63, allocations: 16 kB / 1.085 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/1.63, allocations: 15.98 kB / 1.085 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/1.63, allocations: 27.92 kB / 1.085 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/1.63, allocations: 27.86 kB / 1.085 GB, free: 11.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005263/1.631, allocations: 346.8 kB / 1.086 GB, free: 11.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.631, allocations: 0 / 1.086 GB, free: 11.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001784/1.633, allocations: 439.3 kB / 1.086 GB, free: 11.02 MB / 490.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: 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 (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.00109/1.634, allocations: 444.5 kB / 1.087 GB, free: 10.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003017/1.637, allocations: 0.8264 MB / 1.087 GB, free: 9.738 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.637, allocations: 0 / 1.087 GB, free: 9.738 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/1.638, allocations: 325 kB / 1.088 GB, free: 9.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/1.64, allocations: 198.4 kB / 1.088 GB, free: 9.215 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/1.643, allocations: 1.479 MB / 1.089 GB, free: 7.711 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/1.644, allocations: 0.9039 MB / 1.09 GB, free: 6.781 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00116/1.645, allocations: 184.5 kB / 1.09 GB, free: 6.598 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/1.645, allocations: 63.41 kB / 1.09 GB, free: 6.535 MB / 490.7 MB Notification: Performance of SimCode: time 1.302e-06/1.645, allocations: 0 / 1.09 GB, free: 6.535 MB / 490.7 MB Notification: Performance of Templates: time 0.3527/1.998, allocations: 11.75 MB / 1.102 GB, free: 123.8 MB / 490.7 MB