Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|annulus_pipe.mediums.1..h|annulus_pipe.mediums.2..h|annulus_pipe.mediums.2..p|circular_pipe.mediums.1..h|circular_pipe.mediums.2..h|circular_pipe.mediums.2..p",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 2.146/2.146, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003971, allocations: 11.94 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 44.5 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.285/8.399, allocations: 2.628 GB / 2.93 GB, free: 73.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/8.399, allocations: 82.52 kB / 2.93 GB, free: 73.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337/11.74, allocations: 0.5476 GB / 3.477 GB, free: 3.691 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.903e-06/11.74, allocations: 0 / 3.477 GB, free: 3.691 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002947/11.74, allocations: 53.81 kB / 3.477 GB, free: 3.641 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.02187/11.76, allocations: 2.99 MB / 3.48 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/11.76, allocations: 8.031 kB / 3.48 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/11.77, allocations: 0.598 MB / 3.481 GB, free: 8 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4196/12.19, allocations: 1.454 MB / 3.482 GB, free: 27.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002776/12.19, allocations: 147.1 kB / 3.482 GB, free: 27.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006507/12.19, allocations: 144.3 kB / 3.483 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/12.2, allocations: 2.815 MB / 3.485 GB, free: 27.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/12.2, allocations: 9.438 kB / 3.485 GB, free: 27.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005179/12.2, allocations: 70.83 kB / 3.485 GB, free: 27.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003074/12.2, allocations: 128.8 kB / 3.486 GB, free: 27.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/12.21, allocations: 2.644 MB / 3.488 GB, free: 27.34 MB / 426.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.02566/12.24, allocations: 11.95 MB / 3.5 GB, free: 20.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/12.25, allocations: 1.729 MB / 3.501 GB, free: 20.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02042/12.27, allocations: 5.736 MB / 3.507 GB, free: 16.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.737e-05/12.27, allocations: 47.78 kB / 3.507 GB, free: 15.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 7.975e-06/12.27, allocations: 3.422 kB / 3.507 GB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.03482/12.31, allocations: 7.133 MB / 3.514 GB, free: 15.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/12.31, allocations: 145.4 kB / 3.514 GB, free: 15.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/12.31, allocations: 1.148 MB / 3.515 GB, free: 14.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004121/12.31, allocations: 49.77 kB / 3.515 GB, free: 14.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/12.31, allocations: 0.759 MB / 3.516 GB, free: 14.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00064/12.31, allocations: 431.3 kB / 3.517 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/12.31, allocations: 33.53 kB / 3.517 GB, free: 14.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/12.31, allocations: 374.1 kB / 3.517 GB, free: 14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/12.32, allocations: 0.8752 MB / 3.518 GB, free: 14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003507/12.32, allocations: 1.322 MB / 3.519 GB, free: 13.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.486/16.8, allocations: 378.7 MB / 3.889 GB, free: 72.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/16.8, allocations: 3.625 kB / 3.889 GB, free: 72.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.009507/16.81, allocations: 2.715 MB / 3.892 GB, free: 72.19 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000298/16.81, allocations: 479.4 kB / 3.892 GB, free: 71.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/16.81, allocations: 13.94 kB / 3.892 GB, free: 71.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/16.82, allocations: 0.5102 MB / 3.893 GB, free: 71.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/16.82, allocations: 393.6 kB / 3.893 GB, free: 71.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/16.82, allocations: 2.868 MB / 3.896 GB, free: 69.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/16.83, allocations: 215.1 kB / 3.896 GB, free: 69.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/16.83, allocations: 79.31 kB / 3.896 GB, free: 69.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/16.83, allocations: 3.25 kB / 3.896 GB, free: 69.48 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008616/16.83, allocations: 2.518 MB / 3.898 GB, free: 68.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.021e-05/16.84, allocations: 18.3 kB / 3.899 GB, free: 68.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/16.84, allocations: 0.5032 MB / 3.899 GB, free: 68.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/16.84, allocations: 393.8 kB / 3.899 GB, free: 67.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/16.84, allocations: 2.866 MB / 3.902 GB, free: 65.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/16.85, allocations: 204.2 kB / 3.902 GB, free: 65.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/16.85, allocations: 79.84 kB / 3.902 GB, free: 65.29 MB / 474.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: circular_pipe.mediums[1].p = 1000000.0 annulus_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 11 (boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase,annulus_pipe.state_b.phase,annulus_pipe.state_a.phase,circular_pipe.state_b.phase,circular_pipe.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 182 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001538/16.85, allocations: 0.6085 MB / 3.903 GB, free: 64.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004625/16.85, allocations: 136.3 kB / 3.903 GB, free: 64.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/16.86, allocations: 5.454 MB / 3.908 GB, free: 62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.288e-05/16.86, allocations: 57.41 kB / 3.909 GB, free: 61.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/16.86, allocations: 1.75 kB / 3.909 GB, free: 61.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01317/16.87, allocations: 5.005 MB / 3.913 GB, free: 58.99 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/16.9, allocations: 8.01 MB / 3.921 GB, free: 54.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-05/16.9, allocations: 1 kB / 3.921 GB, free: 54.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002969/16.9, allocations: 283.5 kB / 3.922 GB, free: 54.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004482/16.9, allocations: 0.5652 MB / 3.922 GB, free: 54.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004148/16.91, allocations: 41.25 kB / 3.922 GB, free: 54.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00395/16.91, allocations: 2.948 MB / 3.925 GB, free: 51.81 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/16.91, allocations: 3.953 kB / 3.925 GB, free: 51.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/16.93, allocations: 5.32 MB / 3.93 GB, free: 48.87 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/16.93, allocations: 0.5166 MB / 3.931 GB, free: 48.51 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007684/16.93, allocations: 33.14 kB / 3.931 GB, free: 48.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003309/16.93, allocations: 160.5 kB / 3.931 GB, free: 48.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000656/16.93, allocations: 112.9 kB / 3.931 GB, free: 48.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/16.93, allocations: 50.27 kB / 3.931 GB, free: 48.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002553/16.94, allocations: 0.8213 MB / 3.932 GB, free: 47.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.42e-07/16.94, allocations: 0 / 3.932 GB, free: 47.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01366/16.95, allocations: 2.174 MB / 3.934 GB, free: 46.14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (circular_pipe.mediums[1].h,circular_pipe.mediums[2].p,circular_pipe.mediums[2].h,annulus_pipe.mediums[1].h,annulus_pipe.mediums[2].p,annulus_pipe.mediums[2].h) * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.014/16.96, allocations: 2.238 MB / 3.936 GB, free: 44.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01237/16.98, allocations: 3.85 MB / 3.94 GB, free: 42.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/16.98, allocations: 4 kB / 3.94 GB, free: 42.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004481/16.98, allocations: 1.707 MB / 3.942 GB, free: 41.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005869/16.99, allocations: 0.6282 MB / 3.942 GB, free: 41.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6143/17.6, allocations: 81.47 MB / 4.022 GB, free: 61.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/17.6, allocations: 1.799 MB / 4.024 GB, free: 61 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00568/17.61, allocations: 1.924 MB / 4.025 GB, free: 60.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00074/17.61, allocations: 128.9 kB / 4.026 GB, free: 60.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.222e-06/17.61, allocations: 0 / 4.026 GB, free: 60.97 MB / 474.7 MB Notification: Performance of Templates: time 0.1505/17.76, allocations: 68.28 MB / 4.092 GB, free: 57.59 MB / 474.7 MB