Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.919/1.919, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 8 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08202/0.08243, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.069/8.151, allocations: 2.518 GB / 2.784 GB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/8.151, allocations: 81.53 kB / 2.785 GB, free: 3.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.914/11.07, allocations: 0.5353 GB / 3.32 GB, free: 27.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/11.07, allocations: 0 / 3.32 GB, free: 27.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002048/11.07, allocations: 45.3 kB / 3.32 GB, free: 27.98 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.01395/11.08, allocations: 2.929 MB / 3.323 GB, free: 26.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/11.08, allocations: 7.125 kB / 3.323 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006808/11.09, allocations: 0.5972 MB / 3.323 GB, free: 26.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005489/11.09, allocations: 1.456 MB / 3.325 GB, free: 25.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/11.09, allocations: 143.4 kB / 3.325 GB, free: 25.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005233/11.09, allocations: 147.9 kB / 3.325 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009849/11.1, allocations: 2.816 MB / 3.328 GB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.36e-05/11.1, allocations: 15.78 kB / 3.328 GB, free: 24.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003315/11.1, allocations: 67.75 kB / 3.328 GB, free: 24.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000226/11.1, allocations: 124.4 kB / 3.328 GB, free: 24.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/11.11, allocations: 2.648 MB / 3.331 GB, free: 23.46 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.02201/11.14, allocations: 11.95 MB / 3.342 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007362/11.14, allocations: 1.739 MB / 3.344 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/11.16, allocations: 5.682 MB / 3.349 GB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/11.16, allocations: 47.56 kB / 3.35 GB, free: 8.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 3.406e-06/11.16, allocations: 0 / 3.35 GB, free: 8.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.03412/11.19, allocations: 7.129 MB / 3.356 GB, free: 1.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/11.19, allocations: 141.5 kB / 3.357 GB, free: 1.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/11.19, allocations: 1.146 MB / 3.358 GB, free: 80 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004208/11.2, allocations: 53.7 kB / 3.358 GB, free: 20 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009991/11.2, allocations: 0.7625 MB / 3.359 GB, free: 15.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009316/11.2, allocations: 428.1 kB / 3.359 GB, free: 14.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/11.2, allocations: 36 kB / 3.359 GB, free: 14.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002641/11.2, allocations: 369.9 kB / 3.359 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003364/11.2, allocations: 0.8783 MB / 3.36 GB, free: 13.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004013/11.21, allocations: 1.324 MB / 3.361 GB, free: 12.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.855/16.06, allocations: 377.7 MB / 3.73 GB, free: 73.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/16.06, allocations: 3.094 kB / 3.73 GB, free: 73.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.009861/16.07, allocations: 2.719 MB / 3.733 GB, free: 73.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003024/16.07, allocations: 484.6 kB / 3.733 GB, free: 73.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/16.07, allocations: 13.62 kB / 3.733 GB, free: 73.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002761/16.07, allocations: 0.5011 MB / 3.734 GB, free: 73.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/16.08, allocations: 398.4 kB / 3.734 GB, free: 73.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/16.08, allocations: 2.868 MB / 3.737 GB, free: 71.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/16.08, allocations: 211.4 kB / 3.737 GB, free: 71.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004296/16.08, allocations: 80.16 kB / 3.737 GB, free: 71.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/16.08, allocations: 6.25 kB / 3.737 GB, free: 71.12 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008957/16.09, allocations: 2.517 MB / 3.74 GB, free: 71.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/16.09, allocations: 13.72 kB / 3.74 GB, free: 71.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002543/16.09, allocations: 0.501 MB / 3.74 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/16.1, allocations: 392.5 kB / 3.741 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/16.1, allocations: 2.878 MB / 3.744 GB, free: 68.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/16.1, allocations: 201.8 kB / 3.744 GB, free: 68.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/16.1, allocations: 76.58 kB / 3.744 GB, free: 68.89 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.001511/16.11, allocations: 0.5918 MB / 3.744 GB, free: 68.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/16.11, allocations: 143.6 kB / 3.745 GB, free: 68.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/16.12, allocations: 5.457 MB / 3.75 GB, free: 68.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.903e-05/16.12, allocations: 64.88 kB / 3.75 GB, free: 67.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/16.12, allocations: 0 / 3.75 GB, free: 67.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01083/16.13, allocations: 4.995 MB / 3.755 GB, free: 65.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/16.15, allocations: 8.008 MB / 3.763 GB, free: 60.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/16.15, allocations: 7.609 kB / 3.763 GB, free: 60.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/16.15, allocations: 293.1 kB / 3.763 GB, free: 60.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003231/16.15, allocations: 0.5629 MB / 3.763 GB, free: 60.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000377/16.15, allocations: 39.5 kB / 3.764 GB, free: 60.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/16.16, allocations: 2.939 MB / 3.766 GB, free: 57.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/16.16, allocations: 224 / 3.766 GB, free: 57.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/16.17, allocations: 5.329 MB / 3.772 GB, free: 54.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/16.17, allocations: 0.512 MB / 3.772 GB, free: 54.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006007/16.17, allocations: 36.17 kB / 3.772 GB, free: 54.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/16.17, allocations: 160.1 kB / 3.772 GB, free: 54.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004358/16.17, allocations: 121.4 kB / 3.772 GB, free: 54.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/16.17, allocations: 44.44 kB / 3.772 GB, free: 54.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001766/16.18, allocations: 0.8232 MB / 3.773 GB, free: 53.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/16.18, allocations: 0 / 3.773 GB, free: 53.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01062/16.19, allocations: 2.162 MB / 3.775 GB, free: 52.17 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.01335/16.2, allocations: 2.235 MB / 3.778 GB, free: 50.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01205/16.21, allocations: 3.86 MB / 3.781 GB, free: 48.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/16.21, allocations: 0 / 3.781 GB, free: 48.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004301/16.22, allocations: 1.709 MB / 3.783 GB, free: 47.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005648/16.22, allocations: 0.623 MB / 3.784 GB, free: 47.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5571/16.78, allocations: 80.17 MB / 3.862 GB, free: 63.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/16.78, allocations: 1.798 MB / 3.864 GB, free: 63.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006836/16.79, allocations: 1.933 MB / 3.866 GB, free: 63.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/16.79, allocations: 127.3 kB / 3.866 GB, free: 63.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.655e-06/16.79, allocations: 2.094 kB / 3.866 GB, free: 63.2 MB / 426.7 MB Notification: Performance of Templates: time 0.1897/16.98, allocations: 68 MB / 3.932 GB, free: 58.1 MB / 426.7 MB