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.021/2.021, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003508, allocations: 12 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.08717, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.483/0.5702, allocations: 118.4 MB / 427.5 MB, free: 352 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1142/0.6844, allocations: 49.56 MB / 477.1 MB, free: 1.051 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008435/0.6929, allocations: 273.8 kB / 477.3 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.7032, allocations: 2.29 MB / 479.6 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04384/0.7471, allocations: 11.65 MB / 491.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.09083/0.8379, allocations: 13.83 MB / 0.4933 GB, free: 4.957 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04086/0.8788, allocations: 13.46 MB / 0.5064 GB, free: 7.473 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01454/0.8934, allocations: 4.776 MB / 0.5111 GB, free: 2.652 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0377/0.9312, allocations: 13.58 MB / 0.5243 GB, free: 5.047 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3768/1.308, allocations: 12 MB / 0.536 GB, free: 22.24 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003775/1.312, allocations: 387.8 kB / 0.5364 GB, free: 22.24 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03057/1.342, allocations: 10.17 MB / 0.5463 GB, free: 22.23 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006677/1.349, allocations: 2.784 MB / 0.5491 GB, free: 22.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004807/1.354, allocations: 1.448 MB / 0.5505 GB, free: 22.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02678/1.381, allocations: 11.77 MB / 0.562 GB, free: 21.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.381, allocations: 3.812 kB / 0.562 GB, free: 21.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.906e-06/1.381, allocations: 0 / 0.562 GB, free: 21.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004101/1.381, allocations: 0 / 0.562 GB, free: 21.29 MB / 426.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.03186/1.413, allocations: 7.941 MB / 0.5697 GB, free: 17.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/1.413, allocations: 8.781 kB / 0.5697 GB, free: 17.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/1.425, allocations: 1.242 MB / 0.5709 GB, free: 17.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/1.441, allocations: 4.533 MB / 0.5754 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007644/1.442, allocations: 428.5 kB / 0.5758 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002674/1.444, allocations: 0.5324 MB / 0.5763 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03132/1.476, allocations: 9.38 MB / 0.5855 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003748/1.476, allocations: 23.44 kB / 0.5855 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002809/1.479, allocations: 237.4 kB / 0.5857 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001523/1.481, allocations: 0.7009 MB / 0.5864 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02892/1.509, allocations: 8.227 MB / 0.5944 GB, free: 6.691 MB / 426.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.0953/1.605, allocations: 39.22 MB / 0.6327 GB, free: 4.199 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/1.625, allocations: 6.26 MB / 0.6388 GB, free: 168 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00998/1.635, allocations: 5.487 MB / 0.6442 GB, free: 9.617 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/1.635, allocations: 98.05 kB / 0.6443 GB, free: 9.551 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009432/1.645, allocations: 1.286 MB / 0.6455 GB, free: 8.395 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 2.557e-05/1.645, allocations: 0 / 0.6455 GB, free: 8.395 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.3327/1.978, allocations: 52.18 MB / 0.6965 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.978, allocations: 170 kB / 0.6967 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01122/1.989, allocations: 4.792 MB / 0.7013 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001971/1.991, allocations: 142 kB / 0.7015 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003837/1.995, allocations: 3.016 MB / 0.7044 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0041/1.999, allocations: 2.164 MB / 0.7065 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/2, allocations: 144.2 kB / 0.7067 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000632/2.001, allocations: 0.5986 MB / 0.7073 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01243/2.013, allocations: 3.95 MB / 0.7111 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2844/2.298, allocations: 5.706 MB / 0.7167 GB, free: 226.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01557/2.314, allocations: 4.911 MB / 0.7215 GB, free: 226.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/2.314, allocations: 13.53 kB / 0.7215 GB, free: 226.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=928) (initialization): time 0.04343/2.357, allocations: 12.63 MB / 0.7338 GB, free: 222.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009836/2.358, allocations: 1.509 MB / 0.7353 GB, free: 220.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/2.358, allocations: 51.06 kB / 0.7354 GB, free: 220.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04442/2.403, allocations: 5.072 MB / 0.7403 GB, free: 219.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/2.414, allocations: 1.397 MB / 0.7417 GB, free: 219.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/2.434, allocations: 17.42 MB / 0.7587 GB, free: 205.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01225/2.446, allocations: 497.3 kB / 0.7592 GB, free: 205.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002672/2.449, allocations: 458.6 kB / 0.7596 GB, free: 205.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/2.449, allocations: 8.766 kB / 0.7596 GB, free: 205.4 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04152/2.49, allocations: 12.15 MB / 0.7715 GB, free: 200.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/2.491, allocations: 48.94 kB / 0.7715 GB, free: 200.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01757/2.508, allocations: 3.39 MB / 0.7748 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/2.519, allocations: 1.426 MB / 0.7762 GB, free: 199.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03033/2.55, allocations: 22.24 MB / 0.7979 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/2.561, allocations: 485.5 kB / 0.7984 GB, free: 178.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002187/2.563, allocations: 447.8 kB / 0.7988 GB, free: 177.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * 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 (768): * Single equations (assignments): 745 * 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.006665/2.57, allocations: 1.937 MB / 0.8007 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002115/2.572, allocations: 0.6437 MB / 0.8013 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04155/2.614, allocations: 12.68 MB / 0.8137 GB, free: 163 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03028/2.644, allocations: 9.709 MB / 0.8232 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.231e-05/2.644, allocations: 0 / 0.8232 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00666/2.651, allocations: 1.667 MB / 0.8248 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003233/2.654, allocations: 144 kB / 0.825 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0088/2.663, allocations: 299.2 kB / 0.8253 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001996/2.665, allocations: 411.3 kB / 0.8257 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04484/2.71, allocations: 11.81 MB / 0.8372 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03894/2.749, allocations: 14.34 MB / 0.8512 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01009/2.759, allocations: 4.336 MB / 0.8554 GB, free: 120 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006874/2.766, allocations: 3.147 MB / 0.8585 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of Backend: time 9.82e-07/2.766, allocations: 0 / 0.8585 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.05577/2.822, allocations: 15.4 MB / 0.8735 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of SimCode: time 0.04183/2.863, allocations: 19.07 MB / 0.8922 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of Templates: time 1.037/3.901, allocations: 203.2 MB / 1.091 GB, free: 130.4 MB / 0.5105 GB