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.598/1.598, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 8 kB / 233.2 MB, free: 0.9414 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06899/0.06937, allocations: 38.77 MB / 272 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6977/0.7671, allocations: 272.1 MB / 0.5313 GB, free: 5.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.7673, allocations: 81.08 kB / 0.5314 GB, free: 5.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.713/9.481, allocations: 1.636 GB / 2.167 GB, free: 19.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.993e-06/9.481, allocations: 0 / 2.167 GB, free: 19.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000958/9.482, allocations: 196.4 kB / 2.167 GB, free: 19.19 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.04356/9.525, allocations: 11.08 MB / 2.178 GB, free: 13.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/9.525, allocations: 12.38 kB / 2.178 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/9.538, allocations: 1.244 MB / 2.179 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02444/9.563, allocations: 6.357 MB / 2.186 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007509/9.564, allocations: 424.9 kB / 2.186 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003034/9.567, allocations: 0.5314 MB / 2.186 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03112/9.598, allocations: 9.454 MB / 2.196 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002706/9.598, allocations: 22 kB / 2.196 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003005/9.601, allocations: 244.9 kB / 2.196 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001002/9.602, allocations: 0.5944 MB / 2.197 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02615/9.628, allocations: 8.128 MB / 2.204 GB, free: 8.957 MB / 458.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.4938/10.12, allocations: 34.94 MB / 2.239 GB, free: 18.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0177/10.14, allocations: 6.159 MB / 2.245 GB, free: 18.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006596/10.15, allocations: 4.757 MB / 2.249 GB, free: 13.87 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/10.15, allocations: 95.66 kB / 2.249 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01007/10.16, allocations: 1.673 MB / 2.251 GB, free: 13.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 3.647e-05/10.16, allocations: 0 / 2.251 GB, free: 13.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.2403/10.4, allocations: 50.78 MB / 2.301 GB, free: 11.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.872e-05/10.4, allocations: 169.9 kB / 2.301 GB, free: 11.64 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/10.41, allocations: 4.177 MB / 2.305 GB, free: 11.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002122/10.41, allocations: 144 kB / 2.305 GB, free: 11.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002841/10.41, allocations: 2.648 MB / 2.308 GB, free: 10.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003853/10.42, allocations: 2.164 MB / 2.31 GB, free: 9.328 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002178/10.42, allocations: 141.5 kB / 2.31 GB, free: 9.328 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007381/10.42, allocations: 0.5954 MB / 2.31 GB, free: 9.004 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01048/10.43, allocations: 3.921 MB / 2.314 GB, free: 8.988 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01244/10.44, allocations: 5.604 MB / 2.32 GB, free: 7.301 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/10.46, allocations: 4.867 MB / 2.324 GB, free: 7.211 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.393e-05/10.46, allocations: 12.47 kB / 2.324 GB, free: 7.211 MB / 474.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03853/10.5, allocations: 12.15 MB / 2.336 GB, free: 6.652 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.007611/10.5, allocations: 17.69 MB / 2.354 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/10.5, allocations: 41.75 kB / 2.354 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04006/10.54, allocations: 5.182 MB / 2.359 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007946/10.55, allocations: 1.365 MB / 2.36 GB, free: 3.059 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/10.57, allocations: 17.42 MB / 2.377 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/10.58, allocations: 0.5008 MB / 2.378 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002859/10.59, allocations: 424.4 kB / 2.378 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/10.59, allocations: 6.406 kB / 2.378 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03906/10.63, allocations: 12 MB / 2.39 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001552/10.63, allocations: 46.77 kB / 2.39 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01369/10.64, allocations: 2.987 MB / 2.393 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008379/10.65, allocations: 1.392 MB / 2.394 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03342/10.68, allocations: 22.1 MB / 2.416 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008193/10.69, allocations: 0.4919 MB / 2.416 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002864/10.69, allocations: 406.9 kB / 2.416 GB, free: 9.348 MB / 0.5261 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.00944/10.7, allocations: 1.93 MB / 2.418 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003858/10.71, allocations: 0.6367 MB / 2.419 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4729/11.18, allocations: 14.38 MB / 2.433 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001102/11.18, allocations: 67.77 kB / 2.433 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.253e-05/11.18, allocations: 0 / 2.433 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03116/11.21, allocations: 9.657 MB / 2.442 GB, free: 85.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07297/11.28, allocations: 24.81 MB / 2.467 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001141/11.28, allocations: 13.03 kB / 2.467 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005618/11.29, allocations: 0.8679 MB / 2.468 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03828/11.33, allocations: 5.446 MB / 2.473 GB, free: 82.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002016/11.33, allocations: 233.8 kB / 2.473 GB, free: 82.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01728/11.35, allocations: 17.39 MB / 2.49 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.473e-05/11.35, allocations: 26.91 kB / 2.49 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04587/11.39, allocations: 19.16 MB / 2.509 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007349/11.4, allocations: 1.721 MB / 2.51 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003788/11.4, allocations: 166.3 kB / 2.511 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008381/11.41, allocations: 336.7 kB / 2.511 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002299/11.42, allocations: 459 kB / 2.511 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002239/11.42, allocations: 322.4 kB / 2.512 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008918/11.43, allocations: 3.14 MB / 2.515 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.201e-06/11.43, allocations: 0 / 2.515 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03097/11.46, allocations: 5.86 MB / 2.52 GB, free: 66.25 MB / 0.5261 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.016/11.47, allocations: 3.74 MB / 2.524 GB, free: 66.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04304/11.52, allocations: 15.65 MB / 2.539 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.954e-05/11.52, allocations: 7.188 kB / 2.539 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01437/11.53, allocations: 4.878 MB / 2.544 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01817/11.55, allocations: 2.577 MB / 2.547 GB, free: 60.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04431/11.59, allocations: 19.4 MB / 2.566 GB, free: 51.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008909/11.6, allocations: 4.439 MB / 2.57 GB, free: 50.51 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00521/11.61, allocations: 0.6805 MB / 2.571 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of SimCode: time 1.943e-06/11.61, allocations: 0 / 2.571 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of Templates: time 2.659/14.27, allocations: 0.7323 GB / 3.303 GB, free: 74.85 MB / 0.5417 GB