Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadModel(Modelica): time 2.315/2.315, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 15.94 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1043, allocations: 44.51 MB / 309 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.135, allocations: 277.3 MB / 0.5726 GB, free: 88.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/1.135, allocations: 88.94 kB / 0.5727 GB, free: 88.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.791/10.93, allocations: 1.66 GB / 2.233 GB, free: 21.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.766e-06/10.93, allocations: 0 / 2.233 GB, free: 21.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001141/10.93, allocations: 193.5 kB / 2.233 GB, free: 21.08 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.0556/10.98, allocations: 11.09 MB / 2.244 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/10.98, allocations: 13.5 kB / 2.244 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/11, allocations: 1.245 MB / 2.245 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02923/11.03, allocations: 6.348 MB / 2.251 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008533/11.03, allocations: 440.8 kB / 2.251 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003679/11.03, allocations: 0.5261 MB / 2.252 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03584/11.07, allocations: 9.445 MB / 2.261 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002372/11.07, allocations: 23.75 kB / 2.261 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002986/11.07, allocations: 255.8 kB / 2.261 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/11.07, allocations: 0.5956 MB / 2.262 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0346/11.11, allocations: 8.12 MB / 2.27 GB, free: 8.512 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.7853/11.89, allocations: 34.9 MB / 2.304 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02749/11.92, allocations: 6.164 MB / 2.31 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01276/11.93, allocations: 4.759 MB / 2.315 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/11.93, allocations: 95.09 kB / 2.315 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01748/11.95, allocations: 1.68 MB / 2.316 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=500): time 6.449e-05/11.95, allocations: 0 / 2.316 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=632): time 0.4665/12.42, allocations: 51.53 MB / 2.367 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002185/12.42, allocations: 172.5 kB / 2.367 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01895/12.44, allocations: 4.773 MB / 2.372 GB, free: 21.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003196/12.44, allocations: 145.1 kB / 2.372 GB, free: 21.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00566/12.45, allocations: 2.971 MB / 2.375 GB, free: 20.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005866/12.45, allocations: 2.168 MB / 2.377 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002198/12.45, allocations: 143.7 kB / 2.377 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001016/12.45, allocations: 0.5878 MB / 2.377 GB, free: 19.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01788/12.47, allocations: 3.922 MB / 2.381 GB, free: 19.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02096/12.49, allocations: 5.613 MB / 2.387 GB, free: 17.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02135/12.52, allocations: 4.866 MB / 2.391 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/12.52, allocations: 14.38 kB / 2.391 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.06704/12.58, allocations: 12.5 MB / 2.404 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001565/12.58, allocations: 1.441 MB / 2.405 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002304/12.58, allocations: 43.84 kB / 2.405 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07746/12.66, allocations: 5.181 MB / 2.41 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01732/12.68, allocations: 1.37 MB / 2.412 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03659/12.72, allocations: 17.42 MB / 2.429 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02033/12.74, allocations: 0.5037 MB / 2.429 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004182/12.74, allocations: 422.2 kB / 2.429 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/12.74, allocations: 6.578 kB / 2.429 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06852/12.81, allocations: 12 MB / 2.441 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002066/12.81, allocations: 45.75 kB / 2.441 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02874/12.84, allocations: 3.281 MB / 2.444 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01719/12.86, allocations: 1.392 MB / 2.446 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05805/12.91, allocations: 22.17 MB / 2.467 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01679/12.93, allocations: 0.4931 MB / 2.468 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003615/12.93, allocations: 409.6 kB / 2.468 GB, free: 8.832 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.01181/12.95, allocations: 1.93 MB / 2.47 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00496/12.95, allocations: 0.6444 MB / 2.471 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6454/13.6, allocations: 14.24 MB / 2.485 GB, free: 72.77 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/13.6, allocations: 65.16 kB / 2.485 GB, free: 72.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.632e-05/13.6, allocations: 0 / 2.485 GB, free: 72.77 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03818/13.63, allocations: 9.661 MB / 2.494 GB, free: 72.15 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09578/13.73, allocations: 24.79 MB / 2.518 GB, free: 69.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001253/13.73, allocations: 13.56 kB / 2.518 GB, free: 69.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01176/13.74, allocations: 0.8707 MB / 2.519 GB, free: 69.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04658/13.79, allocations: 5.454 MB / 2.525 GB, free: 69.58 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00214/13.79, allocations: 225.5 kB / 2.525 GB, free: 69.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01945/13.81, allocations: 17.4 MB / 2.542 GB, free: 57.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.356e-05/13.81, allocations: 25.61 kB / 2.542 GB, free: 57.69 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05363/13.86, allocations: 16.82 MB / 2.558 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00802/13.87, allocations: 1.725 MB / 2.56 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004041/13.88, allocations: 163.6 kB / 2.56 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01031/13.89, allocations: 330.2 kB / 2.56 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002496/13.89, allocations: 462.3 kB / 2.561 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002248/13.89, allocations: 318.5 kB / 2.561 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009109/13.9, allocations: 3.139 MB / 2.564 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.22e-07/13.9, allocations: 2.438 kB / 2.564 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.03361/13.93, allocations: 5.872 MB / 2.57 GB, free: 55.57 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.01887/13.95, allocations: 3.733 MB / 2.574 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.05124/14, allocations: 15.66 MB / 2.589 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.039e-05/14, allocations: 5.969 kB / 2.589 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01686/14.02, allocations: 4.88 MB / 2.594 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02309/14.05, allocations: 2.574 MB / 2.596 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06081/14.11, allocations: 19.18 MB / 2.615 GB, free: 44.06 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01236/14.12, allocations: 4.514 MB / 2.619 GB, free: 42.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.03553/14.15, allocations: 4.834 MB / 2.624 GB, free: 42.29 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005158/14.16, allocations: 0.6048 MB / 2.625 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of SimCode: time 1.182e-06/14.16, allocations: 0 / 2.625 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of Templates: time 1.042/15.2, allocations: 184.6 MB / 2.805 GB, free: 60.35 MB / 0.5573 GB