Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.069/2.069, allocations: 209.2 MB / 225.4 MB, free: 1.227 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006429/0.0006429, allocations: 12 kB / 283.1 MB, free: 9.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1406, allocations: 48.7 MB / 331.8 MB, free: 8.965 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.082/2.223, allocations: 0.6025 GB / 0.9266 GB, free: 80.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/2.223, allocations: 94.33 kB / 0.9266 GB, free: 80.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.54/3.763, allocations: 270 MB / 1.19 GB, free: 68.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.344e-06/3.763, allocations: 2.078 kB / 1.19 GB, free: 68.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.528e-05/3.763, allocations: 18.36 kB / 1.19 GB, free: 68.48 MB / 442.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.004342/3.768, allocations: 1.281 MB / 1.192 GB, free: 68.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/3.768, allocations: 9.406 kB / 1.192 GB, free: 68.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/3.77, allocations: 158.9 kB / 1.192 GB, free: 68.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/3.771, allocations: 0.5323 MB / 1.192 GB, free: 67.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/3.771, allocations: 37.5 kB / 1.192 GB, free: 67.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/3.772, allocations: 40.5 kB / 1.192 GB, free: 67.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/3.773, allocations: 0.6376 MB / 1.193 GB, free: 67.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/3.773, allocations: 2.469 kB / 1.193 GB, free: 67.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/3.773, allocations: 21.16 kB / 1.193 GB, free: 67.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/3.774, allocations: 11.31 kB / 1.193 GB, free: 67.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/3.775, allocations: 0.5004 MB / 1.193 GB, free: 67.64 MB / 442.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.004389/3.779, allocations: 2.571 MB / 1.196 GB, free: 65.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/3.78, allocations: 316.6 kB / 1.196 GB, free: 65.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005166/3.781, allocations: 324.5 kB / 1.197 GB, free: 65.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/3.781, allocations: 38.86 kB / 1.197 GB, free: 65.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/3.781, allocations: 3.938 kB / 1.197 GB, free: 65.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002503/3.784, allocations: 0.6771 MB / 1.197 GB, free: 65.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/3.784, allocations: 160.3 kB / 1.197 GB, free: 65.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/3.785, allocations: 455.5 kB / 1.198 GB, free: 65.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.605e-05/3.785, allocations: 31.61 kB / 1.198 GB, free: 65.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/3.785, allocations: 361.7 kB / 1.198 GB, free: 64.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/3.785, allocations: 128.8 kB / 1.198 GB, free: 64.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/3.785, allocations: 9.062 kB / 1.198 GB, free: 64.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.5e-05/3.785, allocations: 335.8 kB / 1.199 GB, free: 64.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/3.786, allocations: 149.9 kB / 1.199 GB, free: 64.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/3.786, allocations: 366.7 kB / 1.199 GB, free: 64.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/3.787, allocations: 199.9 kB / 1.199 GB, free: 64.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/3.787, allocations: 1.031 kB / 1.199 GB, free: 64.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001686/3.789, allocations: 0.5683 MB / 1.2 GB, free: 64.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/3.789, allocations: 9 kB / 1.2 GB, free: 64.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/3.789, allocations: 6.75 kB / 1.2 GB, free: 64.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/3.791, allocations: 237.6 kB / 1.2 GB, free: 64.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/3.792, allocations: 134.5 kB / 1.2 GB, free: 64.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005707/3.792, allocations: 0.5946 MB / 1.201 GB, free: 63.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/3.793, allocations: 62.05 kB / 1.201 GB, free: 63.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/3.793, allocations: 60.2 kB / 1.201 GB, free: 63.67 MB / 442.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.0004635/3.794, allocations: 193.5 kB / 1.201 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/3.794, allocations: 56.5 kB / 1.201 GB, free: 63.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/3.797, allocations: 0.679 MB / 1.202 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/3.797, allocations: 3.844 kB / 1.202 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/3.797, allocations: 0 / 1.202 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/3.797, allocations: 0 / 1.202 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/3.8, allocations: 1.519 MB / 1.203 GB, free: 62.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/3.8, allocations: 0 / 1.203 GB, free: 62.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/3.8, allocations: 74.7 kB / 1.203 GB, free: 62.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/3.802, allocations: 231.7 kB / 1.204 GB, free: 62.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/3.802, allocations: 20.05 kB / 1.204 GB, free: 62.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004821/3.803, allocations: 0.5853 MB / 1.204 GB, free: 62.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/3.803, allocations: 3.562 kB / 1.204 GB, free: 62.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/3.804, allocations: 0.58 MB / 1.205 GB, free: 61.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/3.805, allocations: 198.7 kB / 1.205 GB, free: 61.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/3.805, allocations: 6.781 kB / 1.205 GB, free: 61.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/3.806, allocations: 25.52 kB / 1.205 GB, free: 61.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/3.806, allocations: 40.16 kB / 1.205 GB, free: 61.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/3.806, allocations: 30.34 kB / 1.205 GB, free: 61.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005833/3.806, allocations: 313.4 kB / 1.205 GB, free: 61.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.72e-07/3.806, allocations: 3.625 kB / 1.205 GB, free: 61.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002325/3.809, allocations: 445 kB / 1.206 GB, free: 61.72 MB / 442.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 (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.003126/3.812, allocations: 1.289 MB / 1.207 GB, free: 61.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001497/3.813, allocations: 428.2 kB / 1.208 GB, free: 61.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/3.813, allocations: 1.094 kB / 1.208 GB, free: 61.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/3.814, allocations: 193.7 kB / 1.208 GB, free: 61.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/3.817, allocations: 270.5 kB / 1.208 GB, free: 61.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/3.827, allocations: 2.684 MB / 1.211 GB, free: 60.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/3.827, allocations: 0.8783 MB / 1.211 GB, free: 60.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006435/3.828, allocations: 103 kB / 1.212 GB, free: 60.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/3.828, allocations: 3.562 kB / 1.212 GB, free: 60.09 MB / 442.7 MB Notification: Performance of Templates: time 0.03788/3.866, allocations: 18.56 MB / 1.23 GB, free: 59.32 MB / 442.7 MB