Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.828/1.828, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 8 kB / 263.9 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.083/0.08342, allocations: 44.51 MB / 308.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8274/0.9109, allocations: 277.3 MB / 0.572 GB, free: 87.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.9112, allocations: 80.19 kB / 0.5721 GB, free: 87.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.509/9.42, allocations: 1.66 GB / 2.232 GB, free: 21.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.173e-06/9.42, allocations: 0 / 2.232 GB, free: 21.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008747/9.421, allocations: 190.2 kB / 2.232 GB, free: 21.59 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.04238/9.464, allocations: 11.08 MB / 2.243 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/9.464, allocations: 8.812 kB / 2.243 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/9.476, allocations: 1.257 MB / 2.244 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02369/9.5, allocations: 6.345 MB / 2.25 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007191/9.501, allocations: 430 kB / 2.251 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002966/9.504, allocations: 0.5341 MB / 2.251 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03091/9.535, allocations: 9.449 MB / 2.261 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002733/9.535, allocations: 19.81 kB / 2.261 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002946/9.538, allocations: 247.8 kB / 2.261 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009742/9.539, allocations: 0.5917 MB / 2.261 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02826/9.567, allocations: 8.132 MB / 2.269 GB, free: 9.652 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.497/10.06, allocations: 34.9 MB / 2.303 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01687/10.08, allocations: 6.16 MB / 2.309 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007638/10.09, allocations: 4.759 MB / 2.314 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/10.09, allocations: 101.5 kB / 2.314 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009433/10.1, allocations: 1.675 MB / 2.316 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=500): time 3.207e-05/10.1, allocations: 0 / 2.316 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=632): time 0.2327/10.33, allocations: 50.78 MB / 2.365 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/10.33, allocations: 176.8 kB / 2.366 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.011/10.34, allocations: 4.183 MB / 2.37 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001991/10.34, allocations: 143.6 kB / 2.37 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002857/10.35, allocations: 2.63 MB / 2.372 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003533/10.35, allocations: 2.164 MB / 2.374 GB, free: 20.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00176/10.35, allocations: 147.2 kB / 2.375 GB, free: 20.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008309/10.35, allocations: 0.5944 MB / 2.375 GB, free: 19.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01039/10.36, allocations: 3.922 MB / 2.379 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/10.38, allocations: 5.606 MB / 2.385 GB, free: 18.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/10.39, allocations: 4.869 MB / 2.389 GB, free: 17.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.954e-05/10.39, allocations: 13.41 kB / 2.389 GB, free: 17.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03762/10.43, allocations: 12.15 MB / 2.401 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.008839/10.44, allocations: 17.68 MB / 2.418 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/10.44, allocations: 43.06 kB / 2.418 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0407/10.48, allocations: 5.187 MB / 2.424 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007784/10.48, allocations: 1.369 MB / 2.425 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/10.51, allocations: 17.42 MB / 2.442 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/10.52, allocations: 0.512 MB / 2.442 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00269/10.52, allocations: 424.2 kB / 2.443 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/10.52, allocations: 3.906 kB / 2.443 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04004/10.56, allocations: 11.99 MB / 2.454 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001769/10.56, allocations: 44.75 kB / 2.455 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01388/10.57, allocations: 2.979 MB / 2.457 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008221/10.58, allocations: 1.384 MB / 2.459 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03274/10.62, allocations: 22.1 MB / 2.48 GB, free: 9.449 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007817/10.62, allocations: 0.4925 MB / 2.481 GB, free: 9.309 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002599/10.63, allocations: 412.6 kB / 2.481 GB, free: 9.246 MB / 0.573 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.008709/10.63, allocations: 1.923 MB / 2.483 GB, free: 8.293 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003481/10.64, allocations: 0.641 MB / 2.484 GB, free: 7.961 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4781/11.12, allocations: 13.67 MB / 2.497 GB, free: 88.16 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.124e-05/11.12, allocations: 67.91 kB / 2.497 GB, free: 88.16 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/11.12, allocations: 4.125 kB / 2.497 GB, free: 88.16 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03072/11.15, allocations: 9.658 MB / 2.507 GB, free: 87.54 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06718/11.21, allocations: 24.79 MB / 2.531 GB, free: 85.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000103/11.21, allocations: 16.31 kB / 2.531 GB, free: 85.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005364/11.22, allocations: 0.8685 MB / 2.532 GB, free: 85.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03621/11.26, allocations: 5.448 MB / 2.537 GB, free: 84.96 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001897/11.26, allocations: 227.5 kB / 2.537 GB, free: 84.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/11.27, allocations: 17.4 MB / 2.554 GB, free: 73.07 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.321e-05/11.27, allocations: 26.5 kB / 2.554 GB, free: 73.07 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04353/11.32, allocations: 19.16 MB / 2.573 GB, free: 68.67 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006747/11.32, allocations: 1.725 MB / 2.575 GB, free: 68.53 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003255/11.33, allocations: 166.8 kB / 2.575 GB, free: 68.53 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008028/11.34, allocations: 334.4 kB / 2.575 GB, free: 68.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002346/11.34, allocations: 466.2 kB / 2.576 GB, free: 68.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00235/11.34, allocations: 317 kB / 2.576 GB, free: 68.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009188/11.35, allocations: 3.135 MB / 2.579 GB, free: 68.32 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.017e-06/11.35, allocations: 0.6562 kB / 2.579 GB, free: 68.32 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03014/11.38, allocations: 5.866 MB / 2.585 GB, free: 68.32 MB / 0.573 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.01582/11.4, allocations: 3.734 MB / 2.588 GB, free: 68.16 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04239/11.44, allocations: 15.65 MB / 2.604 GB, free: 67.71 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.452e-05/11.44, allocations: 7.406 kB / 2.604 GB, free: 67.71 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01375/11.45, allocations: 4.877 MB / 2.608 GB, free: 66.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01696/11.47, allocations: 2.583 MB / 2.611 GB, free: 65.72 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04283/11.51, allocations: 19.39 MB / 2.63 GB, free: 56.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008904/11.52, allocations: 4.438 MB / 2.634 GB, free: 55.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005139/11.53, allocations: 0.6797 MB / 2.635 GB, free: 55.46 MB / 0.573 GB Notification: Performance of SimCode: time 1.871e-06/11.53, allocations: 0 / 2.635 GB, free: 55.46 MB / 0.573 GB Notification: Performance of Templates: time 2.723/14.25, allocations: 0.7324 GB / 3.367 GB, free: 102.2 MB / 0.5886 GB