Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pressure1.p|pressure2.p|relativePressure.p_rel|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadModel(ModelicaTest): time 2.235/2.235, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.851e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2905, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.364/6.654, allocations: 2.595 GB / 2.945 GB, free: 108.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/6.654, allocations: 87.62 kB / 2.945 GB, free: 108.4 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.644/8.299, allocations: 405.7 MB / 3.341 GB, free: 55.41 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.147e-06/8.299, allocations: 2.5 kB / 3.341 GB, free: 55.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.201e-05/8.299, allocations: 7.625 kB / 3.341 GB, free: 55.41 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.005047/8.304, allocations: 1.527 MB / 3.342 GB, free: 54.53 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/8.304, allocations: 7.562 kB / 3.342 GB, free: 54.53 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/8.306, allocations: 247.2 kB / 3.343 GB, free: 54.49 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009868/8.307, allocations: 442.8 kB / 3.343 GB, free: 54.17 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/8.307, allocations: 19.66 kB / 3.343 GB, free: 54.17 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/8.307, allocations: 23.31 kB / 3.343 GB, free: 54.17 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007659/8.308, allocations: 347.3 kB / 3.343 GB, free: 54.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/8.309, allocations: 474 kB / 3.344 GB, free: 53.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/8.309, allocations: 0 / 3.344 GB, free: 53.76 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/8.309, allocations: 7.5 kB / 3.344 GB, free: 53.76 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/8.309, allocations: 13.75 kB / 3.344 GB, free: 53.76 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.1138/8.423, allocations: 39.56 MB / 3.383 GB, free: 34.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/8.424, allocations: 217.6 kB / 3.383 GB, free: 33.96 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/8.424, allocations: 93.08 kB / 3.383 GB, free: 33.87 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1043/8.528, allocations: 49.64 MB / 3.431 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/8.528, allocations: 34.56 kB / 3.431 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 4.267e-06/8.528, allocations: 0 / 3.431 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.002692/8.531, allocations: 0.5118 MB / 3.432 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/8.531, allocations: 106.8 kB / 3.432 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/8.532, allocations: 294.2 kB / 3.432 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/8.532, allocations: 25.7 kB / 3.432 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/8.532, allocations: 333.6 kB / 3.433 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.852e-05/8.532, allocations: 79 kB / 3.433 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/8.532, allocations: 0 / 3.433 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001669/8.532, allocations: 322.8 kB / 3.433 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/8.532, allocations: 92.8 kB / 3.433 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/8.533, allocations: 273.2 kB / 3.433 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/8.534, allocations: 244.8 kB / 3.434 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.889e-06/8.534, allocations: 0 / 3.434 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001989/8.536, allocations: 485.7 kB / 3.434 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001298/8.538, allocations: 2.446 MB / 3.436 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/8.538, allocations: 8 kB / 3.436 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/8.538, allocations: 48.73 kB / 3.436 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/8.538, allocations: 107.8 kB / 3.437 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/8.54, allocations: 0.6381 MB / 3.437 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/8.54, allocations: 67.44 kB / 3.437 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/8.54, allocations: 28.06 kB / 3.437 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/8.54, allocations: 8 kB / 3.437 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001348/8.542, allocations: 355.7 kB / 3.438 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/8.542, allocations: 8 kB / 3.438 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/8.542, allocations: 8 kB / 3.438 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/8.542, allocations: 119.8 kB / 3.438 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/8.542, allocations: 19.86 kB / 3.438 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/8.543, allocations: 51.95 kB / 3.438 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/8.543, allocations: 23.98 kB / 3.438 GB, free: 7.355 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000171/8.543, allocations: 128.8 kB / 3.438 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/8.543, allocations: 35.53 kB / 3.438 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/8.546, allocations: 1.442 MB / 3.439 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/8.546, allocations: 23.97 kB / 3.439 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/8.546, allocations: 0 / 3.439 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.661e-06/8.546, allocations: 7.922 kB / 3.439 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/8.55, allocations: 2.028 MB / 3.441 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.419e-06/8.55, allocations: 0 / 3.441 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/8.55, allocations: 51.97 kB / 3.441 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009024/8.551, allocations: 0.5796 MB / 3.442 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/8.551, allocations: 4 kB / 3.442 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/8.552, allocations: 1.077 MB / 3.443 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.069e-06/8.552, allocations: 4.031 kB / 3.443 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/8.555, allocations: 1.165 MB / 3.444 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/8.555, allocations: 179.9 kB / 3.444 GB, free: 500 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/8.555, allocations: 11.92 kB / 3.444 GB, free: 488 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/8.555, allocations: 19.98 kB / 3.444 GB, free: 468 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/8.556, allocations: 27.89 kB / 3.444 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/8.556, allocations: 12 kB / 3.444 GB, free: 428 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003397/8.556, allocations: 216.6 kB / 3.445 GB, free: 212 kB / 0.4948 GB Notification: Performance of sort global known variables: time 7.46e-07/8.556, allocations: 0 / 3.445 GB, free: 212 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.2999/8.856, allocations: 1.146 MB / 3.446 GB, free: 89.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008545/8.864, allocations: 1.727 MB / 3.447 GB, free: 89.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001402/8.866, allocations: 0.6116 MB / 3.448 GB, free: 89.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.276e-06/8.866, allocations: 1.266 kB / 3.448 GB, free: 89.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005635/8.866, allocations: 376 kB / 3.448 GB, free: 89.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/8.868, allocations: 152.8 kB / 3.449 GB, free: 89.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/8.869, allocations: 0.9634 MB / 3.449 GB, free: 88.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/8.87, allocations: 0.93 MB / 3.45 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/8.87, allocations: 45.42 kB / 3.45 GB, free: 88.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.643e-06/8.87, allocations: 0 / 3.45 GB, free: 88.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.04921/8.919, allocations: 30.79 MB / 3.481 GB, free: 86.62 MB / 0.4948 GB