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.Dissipation.TestCases.PressureLoss.Orifice.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadModel(ModelicaTest): time 2.244/2.244, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.494e-05, allocations: 0 / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.368, allocations: 54.85 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.453/1.821, allocations: 0.6092 GB / 0.9652 GB, free: 122.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.821, allocations: 93.42 kB / 0.9653 GB, free: 122.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.177/2.998, allocations: 269.4 MB / 1.228 GB, free: 55.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.787e-06/2.998, allocations: 0 / 1.228 GB, free: 55.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.584e-05/2.998, allocations: 23.92 kB / 1.228 GB, free: 55.19 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002808/3.001, allocations: 1.193 MB / 1.23 GB, free: 53.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/3.001, allocations: 16.03 kB / 1.23 GB, free: 53.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/3.003, allocations: 151.1 kB / 1.23 GB, free: 53.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/3.004, allocations: 0.5286 MB / 1.23 GB, free: 53.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/3.004, allocations: 33 kB / 1.23 GB, free: 53.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/3.004, allocations: 44 kB / 1.23 GB, free: 53.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/3.005, allocations: 0.6261 MB / 1.231 GB, free: 52.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/3.005, allocations: 0 / 1.231 GB, free: 52.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/3.005, allocations: 24 kB / 1.231 GB, free: 52.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/3.005, allocations: 12 kB / 1.231 GB, free: 52.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/3.006, allocations: 479.7 kB / 1.231 GB, free: 51.96 MB / 490.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.002968/3.009, allocations: 2.575 MB / 1.234 GB, free: 49.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/3.01, allocations: 290.9 kB / 1.234 GB, free: 48.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/3.01, allocations: 168.8 kB / 1.234 GB, free: 48.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/3.011, allocations: 325.5 kB / 1.235 GB, free: 48.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/3.011, allocations: 34.56 kB / 1.235 GB, free: 48.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.602e-06/3.011, allocations: 0 / 1.235 GB, free: 48.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001277/3.012, allocations: 446.1 kB / 1.235 GB, free: 47.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/3.012, allocations: 162.2 kB / 1.235 GB, free: 47.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/3.013, allocations: 391.8 kB / 1.236 GB, free: 47.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/3.013, allocations: 33.7 kB / 1.236 GB, free: 47.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/3.013, allocations: 361.7 kB / 1.236 GB, free: 46.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/3.013, allocations: 126.1 kB / 1.236 GB, free: 46.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/3.013, allocations: 12 kB / 1.236 GB, free: 46.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.553e-05/3.013, allocations: 330.8 kB / 1.236 GB, free: 46.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/3.014, allocations: 137.1 kB / 1.237 GB, free: 46.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/3.014, allocations: 358.7 kB / 1.237 GB, free: 45.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/3.014, allocations: 187.9 kB / 1.237 GB, free: 45.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.965e-06/3.014, allocations: 11.95 kB / 1.237 GB, free: 45.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001145/3.016, allocations: 0.5448 MB / 1.238 GB, free: 45.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/3.016, allocations: 8 kB / 1.238 GB, free: 45.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/3.016, allocations: 8 kB / 1.238 GB, free: 45.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/3.017, allocations: 233 kB / 1.238 GB, free: 44.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/3.018, allocations: 135.7 kB / 1.238 GB, free: 44.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004464/3.018, allocations: 0.5913 MB / 1.239 GB, free: 44.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/3.019, allocations: 67.58 kB / 1.239 GB, free: 44.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/3.019, allocations: 59.94 kB / 1.239 GB, free: 43.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0001507/3.019, allocations: 136.8 kB / 1.239 GB, free: 43.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/3.019, allocations: 55.34 kB / 1.239 GB, free: 43.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/3.021, allocations: 0.6634 MB / 1.24 GB, free: 43.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.59e-06/3.021, allocations: 4 kB / 1.24 GB, free: 43.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.037e-06/3.021, allocations: 4 kB / 1.24 GB, free: 43.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.909e-06/3.021, allocations: 7.938 kB / 1.24 GB, free: 43.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/3.024, allocations: 1.5 MB / 1.241 GB, free: 41.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-06/3.024, allocations: 4 kB / 1.241 GB, free: 41.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/3.024, allocations: 71.91 kB / 1.241 GB, free: 41.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/3.026, allocations: 232.8 kB / 1.241 GB, free: 41.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/3.026, allocations: 19.98 kB / 1.241 GB, free: 41.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003961/3.026, allocations: 0.5874 MB / 1.242 GB, free: 40.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.858e-06/3.026, allocations: 4.031 kB / 1.242 GB, free: 40.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009265/3.027, allocations: 0.6773 MB / 1.243 GB, free: 39.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/3.027, allocations: 144.3 kB / 1.243 GB, free: 39.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/3.027, allocations: 8 kB / 1.243 GB, free: 39.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/3.028, allocations: 31.97 kB / 1.243 GB, free: 39.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/3.028, allocations: 39.86 kB / 1.243 GB, free: 39.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/3.028, allocations: 27.98 kB / 1.243 GB, free: 39.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004373/3.028, allocations: 309.6 kB / 1.243 GB, free: 39.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.13e-07/3.028, allocations: 0 / 1.243 GB, free: 39.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001671/3.03, allocations: 443.4 kB / 1.244 GB, free: 38.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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 Backend phase and start with SimCode phase: time 0.002176/3.032, allocations: 1.283 MB / 1.245 GB, free: 37.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000971/3.033, allocations: 396.8 kB / 1.245 GB, free: 37.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.41e-06/3.033, allocations: 4 kB / 1.245 GB, free: 37.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000381/3.034, allocations: 183.7 kB / 1.245 GB, free: 36.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/3.035, allocations: 287 kB / 1.246 GB, free: 36.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007093/3.042, allocations: 2.119 MB / 1.248 GB, free: 34.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/3.043, allocations: 0.8716 MB / 1.249 GB, free: 33.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004953/3.043, allocations: 103.4 kB / 1.249 GB, free: 33.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.898e-06/3.043, allocations: 4 kB / 1.249 GB, free: 33.39 MB / 490.7 MB Notification: Performance of Templates: time 0.02613/3.069, allocations: 18.52 MB / 1.267 GB, free: 14.86 MB / 490.7 MB