Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.mediums.2..T|pipe2.mediums.1..T|pipe2.mediums.2..T|pipe3.mediums.1..T|pipe3.mediums.2..T|pipe4.mediums.1..T|pipe4.mediums.2..T|pipe5.mediums.1..T|pipe5.mediums.2..T|pipe6.mediums.1..T|pipe6.mediums.2..T|pipe7.mediums.1..T|pipe7.mediums.2..T|pipe8.mediums.1..T|pipe8.mediums.2..T|pipe9.mediums.1..T|pipe9.mediums.2..T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.2 MB / 184.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.536e-05, allocations: 0 / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2075, allocations: 38.78 MB / 267.6 MB, free: 9.41 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7436/0.9512, allocations: 272 MB / 0.5269 GB, free: 74.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/0.9514, allocations: 69.41 kB / 0.527 GB, free: 74.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.438/9.39, allocations: 1.632 GB / 2.159 GB, free: 17 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.863e-06/9.39, allocations: 0 / 2.159 GB, free: 17 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000908/9.39, allocations: 194.6 kB / 2.16 GB, free: 16.94 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.03895/9.429, allocations: 10.1 MB / 2.169 GB, free: 8.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/9.43, allocations: 8.031 kB / 2.169 GB, free: 8.422 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/9.443, allocations: 1.232 MB / 2.171 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02401/9.467, allocations: 6.338 MB / 2.177 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007522/9.468, allocations: 422.3 kB / 2.177 GB, free: 360 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003291/9.471, allocations: 0.535 MB / 2.178 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03499/9.506, allocations: 9.313 MB / 2.187 GB, free: 6.004 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002901/9.506, allocations: 15.81 kB / 2.187 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003146/9.509, allocations: 247.9 kB / 2.187 GB, free: 5.746 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00124/9.511, allocations: 0.5917 MB / 2.188 GB, free: 5.152 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4247/9.935, allocations: 7.898 MB / 2.195 GB, free: 23.69 MB / 474.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.07851/10.01, allocations: 34.93 MB / 2.229 GB, free: 9.242 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01606/10.03, allocations: 6.022 MB / 2.235 GB, free: 9.168 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008677/10.04, allocations: 3.611 MB / 2.239 GB, free: 9.141 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008075/10.05, allocations: 4.762 MB / 2.244 GB, free: 20.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/10.05, allocations: 93.77 kB / 2.244 GB, free: 20.12 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009611/10.06, allocations: 1.671 MB / 2.245 GB, free: 19.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=500): time 3.261e-05/10.06, allocations: 1.062 kB / 2.245 GB, free: 19.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=632): time 0.1979/10.25, allocations: 43.12 MB / 2.287 GB, free: 17.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/10.25, allocations: 170.2 kB / 2.288 GB, free: 17.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/10.27, allocations: 4.134 MB / 2.292 GB, free: 17.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002132/10.27, allocations: 147.3 kB / 2.292 GB, free: 17.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00285/10.27, allocations: 2.63 MB / 2.294 GB, free: 16.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003806/10.28, allocations: 2.165 MB / 2.296 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002136/10.28, allocations: 147 kB / 2.297 GB, free: 15.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009017/10.28, allocations: 0.5944 MB / 2.297 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01005/10.29, allocations: 3.811 MB / 2.301 GB, free: 14.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/10.3, allocations: 5.49 MB / 2.306 GB, free: 11.63 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/10.31, allocations: 4.776 MB / 2.311 GB, free: 9.992 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-05/10.31, allocations: 15.12 kB / 2.311 GB, free: 9.992 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03894/10.35, allocations: 11.9 MB / 2.322 GB, free: 6.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.009345/10.36, allocations: 17.69 MB / 2.34 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001805/10.36, allocations: 42.94 kB / 2.34 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03947/10.4, allocations: 5.096 MB / 2.345 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008212/10.41, allocations: 1.367 MB / 2.346 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/10.43, allocations: 17.38 MB / 2.363 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/10.44, allocations: 0.5025 MB / 2.364 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002771/10.44, allocations: 419.6 kB / 2.364 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/10.44, allocations: 7.688 kB / 2.364 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.441/10.89, allocations: 11.76 MB / 2.375 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/10.89, allocations: 46.84 kB / 2.376 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01426/10.9, allocations: 2.965 MB / 2.378 GB, free: 67.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008745/10.91, allocations: 1.391 MB / 2.38 GB, free: 67.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02668/10.94, allocations: 21.71 MB / 2.401 GB, free: 54.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007847/10.94, allocations: 0.4886 MB / 2.401 GB, free: 54.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002808/10.95, allocations: 415.9 kB / 2.402 GB, free: 54.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 734 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.004692/10.95, allocations: 0.5056 MB / 2.402 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003586/10.95, allocations: 0.6441 MB / 2.403 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04594/11, allocations: 13.28 MB / 2.416 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/11, allocations: 66.47 kB / 2.416 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/11, allocations: 1.062 kB / 2.416 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02845/11.03, allocations: 9.45 MB / 2.425 GB, free: 53.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06998/11.1, allocations: 24.56 MB / 2.449 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001247/11.1, allocations: 20.86 kB / 2.449 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005673/11.11, allocations: 0.8705 MB / 2.45 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03788/11.14, allocations: 5.387 MB / 2.455 GB, free: 50.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001979/11.15, allocations: 230.2 kB / 2.456 GB, free: 50.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01708/11.16, allocations: 17.38 MB / 2.473 GB, free: 38.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-05/11.16, allocations: 23.78 kB / 2.473 GB, free: 38.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04321/11.21, allocations: 18.89 MB / 2.491 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006992/11.21, allocations: 1.728 MB / 2.493 GB, free: 30.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00354/11.22, allocations: 163.9 kB / 2.493 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008259/11.22, allocations: 329.5 kB / 2.493 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002231/11.23, allocations: 462.4 kB / 2.494 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002234/11.23, allocations: 321.7 kB / 2.494 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00843/11.24, allocations: 3.081 MB / 2.497 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.67e-07/11.24, allocations: 0 / 2.497 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02964/11.27, allocations: 5.859 MB / 2.503 GB, free: 28.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,12 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.01524/11.28, allocations: 3.738 MB / 2.506 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04026/11.32, allocations: 15.29 MB / 2.521 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.77e-05/11.32, allocations: 7.406 kB / 2.521 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01367/11.34, allocations: 4.792 MB / 2.526 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01683/11.35, allocations: 2.588 MB / 2.528 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/11.39, allocations: 14.5 MB / 2.543 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008828/11.4, allocations: 4.439 MB / 2.547 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005454/11.41, allocations: 0.6878 MB / 2.548 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of SimCode: time 2.099e-06/11.41, allocations: 0 / 2.548 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of Templates: time 2.595/14, allocations: 0.732 GB / 3.28 GB, free: 37.48 MB / 0.5417 GB