Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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.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.2_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 194.9 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 12 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09846/0.09884, allocations: 44.5 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.136, allocations: 277.3 MB / 0.5725 GB, free: 88.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.136, allocations: 84.66 kB / 0.5726 GB, free: 88.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.19/11.33, allocations: 1.66 GB / 2.232 GB, free: 21.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.277e-06/11.33, allocations: 0 / 2.232 GB, free: 21.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001135/11.33, allocations: 192.4 kB / 2.233 GB, free: 21.3 MB / 0.4948 GB 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.05582/11.39, allocations: 11.08 MB / 2.243 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/11.39, allocations: 9.438 kB / 2.243 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02434/11.41, allocations: 1.249 MB / 2.245 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03119/11.44, allocations: 6.357 MB / 2.251 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008984/11.44, allocations: 424.6 kB / 2.251 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003727/11.45, allocations: 0.5311 MB / 2.252 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0377/11.48, allocations: 9.496 MB / 2.261 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002757/11.48, allocations: 19.81 kB / 2.261 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003597/11.49, allocations: 247.8 kB / 2.261 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001221/11.49, allocations: 0.5878 MB / 2.262 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0343/11.52, allocations: 8.132 MB / 2.27 GB, free: 8.629 MB / 0.5105 GB 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.6341/12.16, allocations: 34.91 MB / 2.304 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/12.18, allocations: 6.134 MB / 2.31 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/12.19, allocations: 4.757 MB / 2.315 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/12.19, allocations: 100.7 kB / 2.315 GB, free: 24.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01277/12.2, allocations: 1.676 MB / 2.316 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=500): time 3.718e-05/12.2, allocations: 0 / 2.316 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=632): time 0.3316/12.53, allocations: 51.53 MB / 2.367 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/12.53, allocations: 169.5 kB / 2.367 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0137/12.55, allocations: 4.779 MB / 2.371 GB, free: 21.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002988/12.55, allocations: 143.1 kB / 2.372 GB, free: 21.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003826/12.55, allocations: 2.642 MB / 2.374 GB, free: 20.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004944/12.56, allocations: 2.162 MB / 2.376 GB, free: 19.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/12.56, allocations: 144.9 kB / 2.376 GB, free: 19.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008001/12.56, allocations: 0.5977 MB / 2.377 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01295/12.57, allocations: 3.92 MB / 2.381 GB, free: 19.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01516/12.59, allocations: 5.642 MB / 2.386 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/12.61, allocations: 4.862 MB / 2.391 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.527e-05/12.61, allocations: 13.47 kB / 2.391 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04445/12.65, allocations: 12.15 MB / 2.403 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001075/12.65, allocations: 1.43 MB / 2.404 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.979e-05/12.65, allocations: 42.69 kB / 2.404 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05304/12.7, allocations: 5.187 MB / 2.41 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01171/12.72, allocations: 1.363 MB / 2.411 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0239/12.74, allocations: 17.42 MB / 2.428 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/12.75, allocations: 0.5064 MB / 2.428 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00322/12.76, allocations: 426.2 kB / 2.429 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/12.76, allocations: 4.562 kB / 2.429 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04688/12.8, allocations: 11.99 MB / 2.44 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/12.8, allocations: 48.59 kB / 2.441 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01709/12.82, allocations: 2.976 MB / 2.443 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/12.83, allocations: 1.388 MB / 2.445 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03864/12.87, allocations: 22.1 MB / 2.466 GB, free: 9.594 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/12.88, allocations: 499.7 kB / 2.467 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003195/12.89, allocations: 411.9 kB / 2.467 GB, free: 9.41 MB / 0.5573 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 () * Number of clocked 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.009787/12.9, allocations: 1.926 MB / 2.469 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003244/12.9, allocations: 0.6416 MB / 2.47 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5886/13.49, allocations: 13.84 MB / 2.483 GB, free: 72.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/13.49, allocations: 64.31 kB / 2.483 GB, free: 72.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.68e-05/13.49, allocations: 3.125 kB / 2.483 GB, free: 72.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04427/13.53, allocations: 9.658 MB / 2.493 GB, free: 71.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09732/13.63, allocations: 24.77 MB / 2.517 GB, free: 69.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001579/13.63, allocations: 17.36 kB / 2.517 GB, free: 69.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008216/13.64, allocations: 0.8611 MB / 2.518 GB, free: 69.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04667/13.69, allocations: 5.452 MB / 2.523 GB, free: 69.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002112/13.69, allocations: 226.3 kB / 2.523 GB, free: 69.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/13.71, allocations: 17.4 MB / 2.54 GB, free: 57.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.045e-05/13.71, allocations: 21.38 kB / 2.54 GB, free: 57.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04812/13.76, allocations: 16.82 MB / 2.557 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007702/13.76, allocations: 1.717 MB / 2.558 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003403/13.77, allocations: 172.1 kB / 2.559 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009928/13.78, allocations: 329.9 kB / 2.559 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002526/13.78, allocations: 458.6 kB / 2.559 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002113/13.78, allocations: 321 kB / 2.56 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008742/13.79, allocations: 3.14 MB / 2.563 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.42e-07/13.79, allocations: 2.25 kB / 2.563 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.03353/13.82, allocations: 5.858 MB / 2.568 GB, free: 55.2 MB / 0.5573 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 () * Number of clocked 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,10 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.0194/13.84, allocations: 3.735 MB / 2.572 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.05152/13.89, allocations: 15.65 MB / 2.587 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.207e-05/13.89, allocations: 6.031 kB / 2.587 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01715/13.91, allocations: 4.875 MB / 2.592 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02432/13.94, allocations: 2.588 MB / 2.595 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05117/13.99, allocations: 19.42 MB / 2.614 GB, free: 43.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009581/14, allocations: 4.438 MB / 2.618 GB, free: 42.26 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005644/14, allocations: 0.687 MB / 2.619 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of SimCode: time 1.352e-06/14, allocations: 0 / 2.619 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of Templates: time 3.388/17.39, allocations: 0.7323 GB / 3.351 GB, free: 102.6 MB / 0.5886 GB