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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 2.046/2.046, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.879e-05, allocations: 3.984 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2657, allocations: 48.69 MB / 320 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.493/1.759, allocations: 0.6018 GB / 0.9143 GB, free: 13.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.759, allocations: 87.94 kB / 0.9144 GB, free: 13.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352/3.111, allocations: 266.3 MB / 1.174 GB, free: 76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.418e-06/3.111, allocations: 0 / 1.174 GB, free: 76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.835e-05/3.112, allocations: 11.56 kB / 1.174 GB, free: 76 MB / 426.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.003134/3.115, allocations: 1.19 MB / 1.176 GB, free: 75.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/3.115, allocations: 13.91 kB / 1.176 GB, free: 75.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/3.116, allocations: 156.7 kB / 1.176 GB, free: 75.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/3.118, allocations: 0.5282 MB / 1.176 GB, free: 74.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/3.118, allocations: 11.78 kB / 1.176 GB, free: 74.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/3.118, allocations: 34.3 kB / 1.176 GB, free: 74.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008759/3.119, allocations: 425.1 kB / 1.177 GB, free: 74.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/3.12, allocations: 0.5358 MB / 1.177 GB, free: 74.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/3.12, allocations: 0 / 1.177 GB, free: 74.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/3.12, allocations: 2.531 kB / 1.177 GB, free: 74.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/3.12, allocations: 11.53 kB / 1.177 GB, free: 74.02 MB / 426.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.003065/3.123, allocations: 2.57 MB / 1.18 GB, free: 71.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/3.123, allocations: 225.9 kB / 1.18 GB, free: 71.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/3.124, allocations: 130.3 kB / 1.18 GB, free: 71.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003434/3.124, allocations: 317.1 kB / 1.18 GB, free: 71.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/3.124, allocations: 46.11 kB / 1.18 GB, free: 71.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 4.033e-06/3.124, allocations: 3.938 kB / 1.18 GB, free: 71.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003747/3.128, allocations: 0.7589 MB / 1.181 GB, free: 70.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/3.128, allocations: 164.3 kB / 1.181 GB, free: 70.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005483/3.128, allocations: 384.2 kB / 1.182 GB, free: 70.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/3.128, allocations: 29.45 kB / 1.182 GB, free: 70.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/3.129, allocations: 377.2 kB / 1.182 GB, free: 70.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/3.129, allocations: 107.8 kB / 1.182 GB, free: 69.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/3.129, allocations: 0 / 1.182 GB, free: 69.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.578e-05/3.129, allocations: 335.5 kB / 1.183 GB, free: 69.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/3.129, allocations: 127.3 kB / 1.183 GB, free: 69.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/3.13, allocations: 336.8 kB / 1.183 GB, free: 69.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/3.133, allocations: 0.6156 MB / 1.184 GB, free: 68.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.881e-06/3.133, allocations: 0 / 1.184 GB, free: 68.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003683/3.136, allocations: 0.9188 MB / 1.184 GB, free: 67.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/3.136, allocations: 18.08 kB / 1.184 GB, free: 67.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/3.136, allocations: 8 kB / 1.185 GB, free: 67.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/3.137, allocations: 44.84 kB / 1.185 GB, free: 67.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/3.137, allocations: 135.8 kB / 1.185 GB, free: 67.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005972/3.138, allocations: 0.6051 MB / 1.185 GB, free: 66.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/3.138, allocations: 57.86 kB / 1.185 GB, free: 66.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/3.139, allocations: 59.98 kB / 1.185 GB, free: 66.86 MB / 426.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.0001641/3.139, allocations: 125.2 kB / 1.185 GB, free: 66.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/3.139, allocations: 55.34 kB / 1.186 GB, free: 66.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/3.141, allocations: 0.6062 MB / 1.186 GB, free: 66.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.531e-06/3.141, allocations: 4 kB / 1.186 GB, free: 66.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-06/3.141, allocations: 1.188 kB / 1.186 GB, free: 66.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.097e-06/3.141, allocations: 3.984 kB / 1.186 GB, free: 66.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/3.144, allocations: 1.098 MB / 1.187 GB, free: 64.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.794e-06/3.144, allocations: 1.906 kB / 1.187 GB, free: 64.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/3.144, allocations: 55.23 kB / 1.187 GB, free: 64.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/3.144, allocations: 44.83 kB / 1.187 GB, free: 64.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/3.144, allocations: 4 kB / 1.187 GB, free: 64.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005404/3.145, allocations: 0.6017 MB / 1.188 GB, free: 64.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.861e-06/3.145, allocations: 11.95 kB / 1.188 GB, free: 64.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/3.146, allocations: 0.6327 MB / 1.189 GB, free: 63.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/3.147, allocations: 192.3 kB / 1.189 GB, free: 63.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/3.147, allocations: 7.953 kB / 1.189 GB, free: 63.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/3.147, allocations: 18.3 kB / 1.189 GB, free: 63.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/3.147, allocations: 25.88 kB / 1.189 GB, free: 63.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/3.147, allocations: 16 kB / 1.189 GB, free: 63.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004408/3.148, allocations: 318.9 kB / 1.189 GB, free: 62.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.34e-07/3.148, allocations: 0 / 1.189 GB, free: 62.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001522/3.149, allocations: 406.7 kB / 1.189 GB, free: 62.45 MB / 426.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.002249/3.152, allocations: 1.436 MB / 1.191 GB, free: 61.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008652/3.152, allocations: 327.5 kB / 1.191 GB, free: 61.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.805e-06/3.152, allocations: 2.844 kB / 1.191 GB, free: 61.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002925/3.153, allocations: 123.8 kB / 1.191 GB, free: 60.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/3.154, allocations: 246.7 kB / 1.192 GB, free: 60.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00763/3.162, allocations: 2.413 MB / 1.194 GB, free: 58.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/3.162, allocations: 0.8798 MB / 1.195 GB, free: 57.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/3.163, allocations: 104.2 kB / 1.195 GB, free: 57.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.456e-06/3.163, allocations: 0 / 1.195 GB, free: 57.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02774/3.191, allocations: 18.59 MB / 1.213 GB, free: 39.05 MB / 426.7 MB