Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.3 MB / 224.8 MB, free: 1.203 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004297, allocations: 8 kB / 282.5 MB, free: 9.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08701/0.08747, allocations: 48.71 MB / 331.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4318/0.5193, allocations: 145.6 MB / 476.8 MB, free: 3.848 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.5359, allocations: 9.145 MB / 485.9 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007806/0.5368, allocations: 19.81 kB / 486 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009725/0.5378, allocations: 274.6 kB / 486.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006473/0.5443, allocations: 1.831 MB / 488.1 MB, free: 8.562 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.5472, allocations: 0.7952 MB / 488.8 MB, free: 7.766 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.5494, allocations: 1.016 MB / 489.9 MB, free: 6.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007027/0.5501, allocations: 377.3 kB / 490.2 MB, free: 6.375 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.5519, allocations: 0.6789 MB / 490.9 MB, free: 5.695 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007112/0.5526, allocations: 386.6 kB / 491.3 MB, free: 5.316 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.5528, allocations: 24 kB / 491.3 MB, free: 5.293 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/0.5563, allocations: 1.249 MB / 492.6 MB, free: 4.043 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.5565, allocations: 139.5 kB / 492.7 MB, free: 3.906 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.5569, allocations: 161.4 kB / 492.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.5592, allocations: 1.142 MB / 494 MB, free: 2.598 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.5593, allocations: 0 / 494 MB, free: 2.598 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.359e-06/0.5593, allocations: 0 / 494 MB, free: 2.598 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.5593, allocations: 0 / 494 MB, free: 2.598 MB / 410.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.002216/0.5615, allocations: 0.9701 MB / 495 MB, free: 1.574 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.5616, allocations: 16.03 kB / 495 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.5631, allocations: 155.1 kB / 495.1 MB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/0.5641, allocations: 484.6 kB / 495.6 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/0.5641, allocations: 37 kB / 495.6 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5643, allocations: 40 kB / 495.7 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.5658, allocations: 0.6283 MB / 496.3 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.5658, allocations: 7.938 kB / 496.3 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.718e-05/0.5659, allocations: 24 kB / 496.3 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.566, allocations: 15.94 kB / 496.4 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2153/0.7813, allocations: 496.2 kB / 496.8 MB, free: 141.6 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003473/0.7848, allocations: 2.591 MB / 499.4 MB, free: 140 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008658/0.7857, allocations: 319.5 kB / 499.7 MB, free: 139.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/0.7861, allocations: 327.7 kB / 0.4883 GB, free: 139.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.7861, allocations: 41.5 kB / 0.4884 GB, free: 139.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.609e-06/0.7861, allocations: 1.375 kB / 0.4884 GB, free: 139.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.002029/0.7882, allocations: 0.6751 MB / 0.489 GB, free: 139.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.7882, allocations: 158.7 kB / 0.4892 GB, free: 139.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.7889, allocations: 452.4 kB / 0.4896 GB, free: 138.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.789, allocations: 32.02 kB / 0.4897 GB, free: 138.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.7892, allocations: 362.7 kB / 0.49 GB, free: 138.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.7893, allocations: 130.8 kB / 0.4901 GB, free: 138.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.7894, allocations: 10.12 kB / 0.4901 GB, free: 138.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.7895, allocations: 331 kB / 0.4905 GB, free: 138.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.7899, allocations: 142.4 kB / 0.4906 GB, free: 138 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/0.7904, allocations: 371.2 kB / 0.4909 GB, free: 137.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.7909, allocations: 203.9 kB / 0.4911 GB, free: 137.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.85e-06/0.7909, allocations: 2.031 kB / 0.4911 GB, free: 137.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001377/0.7923, allocations: 0.5724 MB / 0.4917 GB, free: 137.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.7923, allocations: 8.906 kB / 0.4917 GB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.7924, allocations: 11.08 kB / 0.4917 GB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.7943, allocations: 288 kB / 0.492 GB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.7948, allocations: 136.5 kB / 0.4921 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004414/0.7952, allocations: 0.5854 MB / 0.4927 GB, free: 136.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.7958, allocations: 69.89 kB / 0.4928 GB, free: 136.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.7959, allocations: 61.53 kB / 0.4928 GB, free: 136.8 MB / 410.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 () * Number of clocked 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.0003308/0.7962, allocations: 194.8 kB / 0.493 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.7964, allocations: 49.84 kB / 0.4931 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.7987, allocations: 0.7208 MB / 0.4938 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.749e-06/0.7987, allocations: 8.281 kB / 0.4938 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-06/0.7987, allocations: 0 / 0.4938 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.7988, allocations: 6.688 kB / 0.4938 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.8014, allocations: 1.552 MB / 0.4953 GB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.812e-06/0.8014, allocations: 2.406 kB / 0.4953 GB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.8018, allocations: 78.23 kB / 0.4954 GB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004422/0.8062, allocations: 0.5368 MB / 0.4959 GB, free: 135.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/0.8064, allocations: 16.78 kB / 0.4959 GB, free: 135.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004497/0.8068, allocations: 0.5917 MB / 0.4965 GB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.554e-06/0.8068, allocations: 6.484 kB / 0.4965 GB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.808, allocations: 0.6048 MB / 0.4971 GB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.8083, allocations: 181.6 kB / 0.4973 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.8084, allocations: 10.61 kB / 0.4973 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.8088, allocations: 32.84 kB / 0.4973 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/0.8089, allocations: 44.83 kB / 0.4973 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.809, allocations: 31 kB / 0.4974 GB, free: 134.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000473/0.8095, allocations: 315.6 kB / 0.4977 GB, free: 133.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.57e-07/0.8095, allocations: 3.844 kB / 0.4977 GB, free: 133.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001233/0.8108, allocations: 339.4 kB / 0.498 GB, free: 133.9 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.812, allocations: 471.9 kB / 0.4984 GB, free: 133.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.8131, allocations: 428.5 kB / 0.4989 GB, free: 133.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.107e-06/0.8132, allocations: 1.5 kB / 0.4989 GB, free: 133.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.8137, allocations: 215.9 kB / 0.4991 GB, free: 133.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.8153, allocations: 277.4 kB / 0.4993 GB, free: 133.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.8173, allocations: 1.231 MB / 0.5005 GB, free: 132.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.8178, allocations: 0.8799 MB / 0.5014 GB, free: 132 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.8183, allocations: 107.6 kB / 0.5015 GB, free: 131.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.656e-06/0.8183, allocations: 0 / 0.5015 GB, free: 131.9 MB / 410.7 MB Notification: Performance of Templates: time 0.02424/0.8425, allocations: 14.34 MB / 0.5155 GB, free: 124.9 MB / 410.7 MB