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/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.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.29/2.29, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.272e-05, allocations: 7.938 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2759, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.509/1.785, allocations: 0.6085 GB / 0.9582 GB, free: 22.89 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/1.785, allocations: 91.25 kB / 0.9583 GB, free: 22.84 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372/3.158, allocations: 266.4 MB / 1.218 GB, free: 87.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.233e-06/3.158, allocations: 0 / 1.218 GB, free: 87.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.934e-05/3.158, allocations: 15.73 kB / 1.218 GB, free: 87.77 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003246/3.161, allocations: 1.196 MB / 1.22 GB, free: 87.13 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/3.161, allocations: 11.06 kB / 1.22 GB, free: 87.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/3.163, allocations: 147.8 kB / 1.22 GB, free: 87.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/3.164, allocations: 0.5328 MB / 1.22 GB, free: 86.86 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/3.164, allocations: 11.28 kB / 1.22 GB, free: 86.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.759e-05/3.164, allocations: 25.47 kB / 1.22 GB, free: 86.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008676/3.165, allocations: 433 kB / 1.221 GB, free: 86.85 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009365/3.166, allocations: 0.5423 MB / 1.221 GB, free: 86.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/3.166, allocations: 1.031 kB / 1.221 GB, free: 86.69 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/3.166, allocations: 3.938 kB / 1.221 GB, free: 86.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/3.166, allocations: 11.62 kB / 1.221 GB, free: 86.69 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.003316/3.17, allocations: 2.553 MB / 1.224 GB, free: 85.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/3.17, allocations: 226 kB / 1.224 GB, free: 85.03 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/3.17, allocations: 127.1 kB / 1.224 GB, free: 85.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/3.171, allocations: 325.8 kB / 1.224 GB, free: 84.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/3.171, allocations: 45.72 kB / 1.224 GB, free: 84.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 5.156e-06/3.171, allocations: 0 / 1.224 GB, free: 84.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.004255/3.175, allocations: 0.7673 MB / 1.225 GB, free: 84.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/3.175, allocations: 161.4 kB / 1.225 GB, free: 84.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/3.176, allocations: 386.8 kB / 1.226 GB, free: 84.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/3.176, allocations: 25.7 kB / 1.226 GB, free: 84.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/3.176, allocations: 381.4 kB / 1.226 GB, free: 84.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/3.176, allocations: 111.1 kB / 1.226 GB, free: 83.95 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/3.176, allocations: 0 / 1.226 GB, free: 83.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.539e-05/3.176, allocations: 326.6 kB / 1.227 GB, free: 83.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/3.176, allocations: 122.3 kB / 1.227 GB, free: 83.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/3.177, allocations: 345.8 kB / 1.227 GB, free: 83.38 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/3.18, allocations: 0.6 MB / 1.228 GB, free: 83.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/3.18, allocations: 3.625 kB / 1.228 GB, free: 83.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004081/3.184, allocations: 0.9346 MB / 1.228 GB, free: 83.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/3.184, allocations: 7.188 kB / 1.228 GB, free: 83.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/3.184, allocations: 7.594 kB / 1.228 GB, free: 83.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/3.185, allocations: 52.36 kB / 1.229 GB, free: 83.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/3.185, allocations: 135.7 kB / 1.229 GB, free: 83.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006271/3.186, allocations: 0.6133 MB / 1.229 GB, free: 82.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/3.186, allocations: 55.39 kB / 1.229 GB, free: 82.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/3.186, allocations: 58.48 kB / 1.229 GB, free: 82.75 MB / 474.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.0001531/3.187, allocations: 124.4 kB / 1.229 GB, free: 82.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/3.187, allocations: 52.34 kB / 1.23 GB, free: 82.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/3.189, allocations: 0.6082 MB / 1.23 GB, free: 82.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.637e-06/3.189, allocations: 2.25 kB / 1.23 GB, free: 82.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.053e-06/3.189, allocations: 3.125 kB / 1.23 GB, free: 82.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.606e-06/3.189, allocations: 6.031 kB / 1.23 GB, free: 82.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/3.192, allocations: 1.107 MB / 1.231 GB, free: 81.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.027e-06/3.192, allocations: 7.25 kB / 1.231 GB, free: 81.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/3.192, allocations: 47.08 kB / 1.231 GB, free: 81.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001998/3.192, allocations: 43.67 kB / 1.231 GB, free: 81.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/3.192, allocations: 12.62 kB / 1.231 GB, free: 81.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005536/3.193, allocations: 0.598 MB / 1.232 GB, free: 81.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.776e-06/3.193, allocations: 3.688 kB / 1.232 GB, free: 81.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/3.194, allocations: 0.6287 MB / 1.233 GB, free: 81.06 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/3.195, allocations: 145.9 kB / 1.233 GB, free: 80.94 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/3.195, allocations: 8.031 kB / 1.233 GB, free: 80.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/3.195, allocations: 17.7 kB / 1.233 GB, free: 80.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/3.195, allocations: 31.98 kB / 1.233 GB, free: 80.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/3.195, allocations: 15.72 kB / 1.233 GB, free: 80.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000434/3.196, allocations: 315.1 kB / 1.233 GB, free: 80.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.41e-07/3.196, allocations: 0 / 1.233 GB, free: 80.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001528/3.197, allocations: 411.4 kB / 1.233 GB, free: 80.77 MB / 474.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.002373/3.2, allocations: 1.435 MB / 1.235 GB, free: 80.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008831/3.201, allocations: 328.3 kB / 1.235 GB, free: 80.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.323e-06/3.201, allocations: 0 / 1.235 GB, free: 80.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/3.201, allocations: 125.6 kB / 1.235 GB, free: 80.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/3.203, allocations: 243.1 kB / 1.235 GB, free: 80.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007546/3.21, allocations: 2.406 MB / 1.238 GB, free: 80.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/3.21, allocations: 0.8804 MB / 1.239 GB, free: 79.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/3.211, allocations: 96.41 kB / 1.239 GB, free: 79.46 MB / 474.7 MB Notification: Performance of SimCode: time 1.674e-06/3.211, allocations: 0 / 1.239 GB, free: 79.46 MB / 474.7 MB Notification: Performance of Templates: time 0.02877/3.24, allocations: 18.62 MB / 1.257 GB, free: 78.09 MB / 474.7 MB