Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003588, allocations: 8 kB / 233.8 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0862/0.08658, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8934/0.98, allocations: 272.1 MB / 0.5319 GB, free: 44.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.9803, allocations: 83.38 kB / 0.532 GB, free: 44.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.21/11.19, allocations: 1.636 GB / 2.168 GB, free: 14.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.985e-06/11.19, allocations: 2.156 kB / 2.168 GB, free: 14.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001179/11.19, allocations: 197.9 kB / 2.168 GB, free: 14.37 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.05645/11.25, allocations: 11.09 MB / 2.179 GB, free: 9.578 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/11.25, allocations: 10.66 kB / 2.179 GB, free: 9.578 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/11.26, allocations: 1.247 MB / 2.18 GB, free: 9.176 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04225/11.31, allocations: 6.351 MB / 2.186 GB, free: 8.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/11.31, allocations: 428.1 kB / 2.187 GB, free: 8.148 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004563/11.31, allocations: 0.5345 MB / 2.187 GB, free: 8.145 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0558/11.37, allocations: 9.452 MB / 2.196 GB, free: 6.695 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004243/11.37, allocations: 19.44 kB / 2.196 GB, free: 6.695 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005015/11.37, allocations: 246.1 kB / 2.197 GB, free: 6.695 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0022/11.37, allocations: 0.5946 MB / 2.197 GB, free: 6.684 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04238/11.42, allocations: 8.124 MB / 2.205 GB, free: 6.637 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.145/11.56, allocations: 34.91 MB / 2.239 GB, free: 7.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02033/11.58, allocations: 6.166 MB / 2.245 GB, free: 7.555 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/11.59, allocations: 4.766 MB / 2.25 GB, free: 2.578 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/11.59, allocations: 96.33 kB / 2.25 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01356/11.61, allocations: 1.672 MB / 2.252 GB, free: 2.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 3.551e-05/11.61, allocations: 0 / 2.252 GB, free: 2.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.3245/11.93, allocations: 51.7 MB / 2.302 GB, free: 10.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/11.93, allocations: 172.7 kB / 2.302 GB, free: 10.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/11.95, allocations: 4.779 MB / 2.307 GB, free: 6.703 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002753/11.95, allocations: 141.7 kB / 2.307 GB, free: 6.559 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005204/11.95, allocations: 2.979 MB / 2.31 GB, free: 3.863 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005329/11.96, allocations: 2.157 MB / 2.312 GB, free: 1.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002286/11.96, allocations: 148 kB / 2.312 GB, free: 1.766 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008836/11.96, allocations: 0.5967 MB / 2.313 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02636/11.99, allocations: 4.702 MB / 2.317 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4904/12.48, allocations: 5.606 MB / 2.323 GB, free: 38.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01668/12.5, allocations: 4.86 MB / 2.328 GB, free: 38.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/12.5, allocations: 14.84 kB / 2.328 GB, free: 38.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04764/12.54, allocations: 12.5 MB / 2.34 GB, free: 38.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001298/12.55, allocations: 1.446 MB / 2.341 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/12.55, allocations: 49.23 kB / 2.341 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.052/12.6, allocations: 5.176 MB / 2.346 GB, free: 36.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/12.61, allocations: 1.364 MB / 2.348 GB, free: 36.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/12.63, allocations: 17.42 MB / 2.365 GB, free: 24.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/12.64, allocations: 0.5066 MB / 2.365 GB, free: 24.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00309/12.65, allocations: 424.1 kB / 2.366 GB, free: 24.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/12.65, allocations: 6.75 kB / 2.366 GB, free: 24.28 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0434/12.69, allocations: 11.99 MB / 2.377 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/12.69, allocations: 45.31 kB / 2.377 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0181/12.71, allocations: 3.288 MB / 2.381 GB, free: 23.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01173/12.72, allocations: 1.391 MB / 2.382 GB, free: 23.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03373/12.75, allocations: 22.16 MB / 2.404 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01314/12.77, allocations: 0.4926 MB / 2.404 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003198/12.77, allocations: 412.4 kB / 2.404 GB, free: 10.84 MB / 490.7 MB 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.009448/12.78, allocations: 1.934 MB / 2.406 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00373/12.78, allocations: 0.643 MB / 2.407 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05507/12.84, allocations: 13.48 MB / 2.42 GB, free: 9.945 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001259/12.84, allocations: 69.83 kB / 2.42 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.354e-05/12.84, allocations: 6.031 kB / 2.42 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03451/12.87, allocations: 9.662 MB / 2.43 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08493/12.96, allocations: 24.98 MB / 2.454 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.644e-05/12.96, allocations: 14.53 kB / 2.454 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007924/12.97, allocations: 0.8752 MB / 2.455 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04579/13.01, allocations: 5.459 MB / 2.46 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002095/13.01, allocations: 232.8 kB / 2.46 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/13.04, allocations: 17.4 MB / 2.477 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.166e-05/13.04, allocations: 27.02 kB / 2.477 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05148/13.09, allocations: 16.81 MB / 2.494 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008188/13.1, allocations: 1.721 MB / 2.495 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003484/13.1, allocations: 168.1 kB / 2.496 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01017/13.11, allocations: 330.7 kB / 2.496 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002378/13.11, allocations: 461.6 kB / 2.496 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001557/13.11, allocations: 325.6 kB / 2.497 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.513/13.63, allocations: 3.491 MB / 2.5 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.383e-06/13.63, allocations: 0.5625 kB / 2.5 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.05118/13.68, allocations: 5.87 MB / 2.506 GB, free: 66.84 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 () * 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.02711/13.71, allocations: 3.726 MB / 2.51 GB, free: 66.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.07015/13.78, allocations: 15.66 MB / 2.525 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.277e-05/13.78, allocations: 6.75 kB / 2.525 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02243/13.8, allocations: 4.88 MB / 2.53 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0242/13.82, allocations: 2.583 MB / 2.532 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04771/13.87, allocations: 19.18 MB / 2.551 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009502/13.88, allocations: 4.508 MB / 2.555 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02818/13.91, allocations: 4.841 MB / 2.56 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005277/13.91, allocations: 0.6032 MB / 2.561 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of SimCode: time 1.713e-06/13.91, allocations: 0 / 2.561 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.9421/14.86, allocations: 184.6 MB / 2.741 GB, free: 63.09 MB / 0.5105 GB