Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Fluid.Examples.NonCircularPipes.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) 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.1_cpp_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.693/1.693, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004738, allocations: 8 kB / 233.8 MB, free: 3.086 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08336/0.08386, allocations: 38.76 MB / 272.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.559/7.643, allocations: 2.518 GB / 2.784 GB, free: 3.379 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/7.644, allocations: 76.72 kB / 2.784 GB, free: 3.344 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025/10.67, allocations: 0.5353 GB / 3.32 GB, free: 27.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.524e-06/10.67, allocations: 0 / 3.32 GB, free: 27.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001544/10.67, allocations: 48.17 kB / 3.32 GB, free: 27.94 MB / 378.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.01359/10.68, allocations: 2.928 MB / 3.323 GB, free: 26.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/10.68, allocations: 10.22 kB / 3.323 GB, free: 26.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006629/10.69, allocations: 0.5846 MB / 3.323 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005744/10.69, allocations: 1.465 MB / 3.325 GB, free: 25.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/10.7, allocations: 134.4 kB / 3.325 GB, free: 25.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007115/10.7, allocations: 146.1 kB / 3.325 GB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/10.71, allocations: 2.842 MB / 3.328 GB, free: 24.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.59e-05/10.71, allocations: 7.5 kB / 3.328 GB, free: 24.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/10.71, allocations: 65.09 kB / 3.328 GB, free: 24.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002374/10.71, allocations: 124.5 kB / 3.328 GB, free: 24.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/10.72, allocations: 2.656 MB / 3.33 GB, free: 23.41 MB / 378.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.02277/10.74, allocations: 11.94 MB / 3.342 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007136/10.75, allocations: 1.742 MB / 3.344 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01423/10.76, allocations: 5.674 MB / 3.349 GB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/10.76, allocations: 47.56 kB / 3.349 GB, free: 8.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 2.886e-06/10.76, allocations: 0 / 3.349 GB, free: 8.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.03293/10.79, allocations: 7.131 MB / 3.356 GB, free: 1.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/10.8, allocations: 145.5 kB / 3.357 GB, free: 1.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/10.8, allocations: 1.15 MB / 3.358 GB, free: 15.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004215/10.8, allocations: 53.7 kB / 3.358 GB, free: 15.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/10.8, allocations: 0.7478 MB / 3.358 GB, free: 15.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006914/10.8, allocations: 436.2 kB / 3.359 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/10.8, allocations: 32 kB / 3.359 GB, free: 14.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002019/10.8, allocations: 378.8 kB / 3.359 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/10.8, allocations: 0.8744 MB / 3.36 GB, free: 13.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003764/10.81, allocations: 1.328 MB / 3.361 GB, free: 11.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.722/15.53, allocations: 377.7 MB / 3.73 GB, free: 73.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/15.53, allocations: 7.062 kB / 3.73 GB, free: 73.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.01017/15.54, allocations: 2.652 MB / 3.733 GB, free: 73.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002936/15.54, allocations: 481.3 kB / 3.733 GB, free: 73.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/15.54, allocations: 13.72 kB / 3.733 GB, free: 73.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002869/15.54, allocations: 0.4996 MB / 3.734 GB, free: 73.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/15.55, allocations: 395.5 kB / 3.734 GB, free: 73.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/15.55, allocations: 2.871 MB / 3.737 GB, free: 70.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/15.55, allocations: 206.1 kB / 3.737 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004078/15.55, allocations: 80.08 kB / 3.737 GB, free: 70.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/15.55, allocations: 4.844 kB / 3.737 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009263/15.56, allocations: 2.522 MB / 3.74 GB, free: 70.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-05/15.56, allocations: 10.41 kB / 3.74 GB, free: 70.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/15.56, allocations: 484 kB / 3.74 GB, free: 70.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/15.57, allocations: 396.6 kB / 3.741 GB, free: 70.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/15.57, allocations: 2.872 MB / 3.743 GB, free: 68.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/15.57, allocations: 204 kB / 3.744 GB, free: 68.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003476/15.57, allocations: 77.77 kB / 3.744 GB, free: 68.76 MB / 426.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.001833/15.58, allocations: 0.6 MB / 3.744 GB, free: 68.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004858/15.58, allocations: 136.3 kB / 3.744 GB, free: 68.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/15.59, allocations: 5.459 MB / 3.75 GB, free: 67.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.57e-05/15.59, allocations: 67.39 kB / 3.75 GB, free: 67.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/15.59, allocations: 0 / 3.75 GB, free: 67.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01094/15.6, allocations: 4.988 MB / 3.755 GB, free: 64.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/15.62, allocations: 8.008 MB / 3.762 GB, free: 60.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/15.62, allocations: 4.891 kB / 3.762 GB, free: 60.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/15.62, allocations: 294.3 kB / 3.763 GB, free: 60.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003329/15.62, allocations: 0.5645 MB / 3.763 GB, free: 60.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003516/15.62, allocations: 38.75 kB / 3.763 GB, free: 60.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/15.63, allocations: 2.941 MB / 3.766 GB, free: 57.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/15.63, allocations: 0 / 3.766 GB, free: 57.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/15.64, allocations: 5.324 MB / 3.771 GB, free: 54.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/15.64, allocations: 0.5119 MB / 3.772 GB, free: 54.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005416/15.64, allocations: 33.88 kB / 3.772 GB, free: 54.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002336/15.64, allocations: 160.5 kB / 3.772 GB, free: 54.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004192/15.64, allocations: 122.5 kB / 3.772 GB, free: 54.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/15.64, allocations: 43.33 kB / 3.772 GB, free: 54.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001784/15.65, allocations: 0.8201 MB / 3.773 GB, free: 53.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.82e-07/15.65, allocations: 0 / 3.773 GB, free: 53.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01005/15.66, allocations: 2.163 MB / 3.775 GB, free: 51.92 MB / 426.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.01326/15.67, allocations: 2.236 MB / 3.777 GB, free: 50.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01244/15.68, allocations: 3.869 MB / 3.781 GB, free: 48.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/15.68, allocations: 0 / 3.781 GB, free: 48.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004377/15.69, allocations: 1.701 MB / 3.783 GB, free: 47.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/15.69, allocations: 0.6108 MB / 3.783 GB, free: 47.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5758/16.27, allocations: 80.26 MB / 3.862 GB, free: 63.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/16.27, allocations: 1.779 MB / 3.863 GB, free: 62.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009417/16.27, allocations: 138 kB / 3.864 GB, free: 62.92 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/16.27, allocations: 0.5469 kB / 3.864 GB, free: 62.92 MB / 426.7 MB Notification: Performance of Templates: time 0.1607/16.43, allocations: 86.79 MB / 3.948 GB, free: 48.3 MB / 426.7 MB