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.625/1.625, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003516, allocations: 8 kB / 233.9 MB, free: 2.41 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07928/0.07965, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.4136/0.4933, allocations: 118.4 MB / 391 MB, free: 7.371 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1194/0.6128, allocations: 49.59 MB / 440.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.6229, allocations: 277.8 kB / 440.9 MB, free: 5.422 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01324/0.6362, allocations: 2.29 MB / 443.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3791/1.015, allocations: 11.66 MB / 454.8 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05005/1.065, allocations: 13.85 MB / 468.7 MB, free: 4.812 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.02691/1.092, allocations: 13.47 MB / 482.2 MB, free: 2.316 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01002/1.102, allocations: 4.758 MB / 486.9 MB, free: 16.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03395/1.136, allocations: 12.96 MB / 499.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04254/1.179, allocations: 11.47 MB / 0.4994 GB, free: 4.613 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004812/1.184, allocations: 380 kB / 0.4997 GB, free: 4.242 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04654/1.231, allocations: 9.954 MB / 0.5094 GB, free: 12.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009579/1.24, allocations: 2.784 MB / 0.5122 GB, free: 10.53 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007113/1.247, allocations: 1.447 MB / 0.5136 GB, free: 9.734 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04115/1.289, allocations: 11.77 MB / 0.5251 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.289, allocations: 5.25 kB / 0.5251 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.218e-06/1.289, allocations: 0 / 0.5251 GB, free: 15.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004237/1.289, allocations: 2.516 kB / 0.5251 GB, free: 15.63 MB / 410.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.04712/1.336, allocations: 7.936 MB / 0.5328 GB, free: 8.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/1.336, allocations: 16.03 kB / 0.5328 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/1.348, allocations: 1.237 MB / 0.5341 GB, free: 7.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/1.364, allocations: 4.533 MB / 0.5385 GB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006111/1.364, allocations: 426.1 kB / 0.5389 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002345/1.367, allocations: 0.5317 MB / 0.5394 GB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03204/1.399, allocations: 9.388 MB / 0.5486 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002069/1.399, allocations: 19.72 kB / 0.5486 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00202/1.401, allocations: 238.8 kB / 0.5488 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001619/1.403, allocations: 0.7094 MB / 0.5495 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03138/1.434, allocations: 8.224 MB / 0.5575 GB, free: 5.742 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.09262/1.527, allocations: 39.22 MB / 0.5958 GB, free: 3.246 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2567/1.783, allocations: 6.246 MB / 0.6019 GB, free: 203.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008508/1.792, allocations: 5.485 MB / 0.6073 GB, free: 197.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/1.792, allocations: 100.9 kB / 0.6074 GB, free: 197.5 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009105/1.801, allocations: 1.277 MB / 0.6086 GB, free: 197.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=500): time 2.721e-05/1.801, allocations: 0 / 0.6086 GB, free: 197.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=632): time 0.3236/2.125, allocations: 52.2 MB / 0.6596 GB, free: 172 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/2.125, allocations: 171.8 kB / 0.6598 GB, free: 171.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008867/2.134, allocations: 4.799 MB / 0.6645 GB, free: 167.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001844/2.136, allocations: 141.7 kB / 0.6646 GB, free: 167 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002824/2.139, allocations: 3.019 MB / 0.6675 GB, free: 163.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003314/2.142, allocations: 2.162 MB / 0.6697 GB, free: 161.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009285/2.143, allocations: 147.9 kB / 0.6698 GB, free: 161.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004461/2.143, allocations: 0.592 MB / 0.6704 GB, free: 161.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01009/2.154, allocations: 3.957 MB / 0.6742 GB, free: 157.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01114/2.165, allocations: 5.7 MB / 0.6798 GB, free: 150.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/2.176, allocations: 4.913 MB / 0.6846 GB, free: 145.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-05/2.177, allocations: 12 kB / 0.6846 GB, free: 145.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=928) (initialization): time 0.03358/2.21, allocations: 12.62 MB / 0.6969 GB, free: 133 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000775/2.211, allocations: 1.517 MB / 0.6984 GB, free: 130.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.517e-05/2.211, allocations: 48 kB / 0.6985 GB, free: 130.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04275/2.254, allocations: 5.07 MB / 0.7034 GB, free: 125.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/2.264, allocations: 1.4 MB / 0.7048 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/2.283, allocations: 17.42 MB / 0.7218 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/2.294, allocations: 495.3 kB / 0.7223 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001948/2.296, allocations: 459.8 kB / 0.7227 GB, free: 105.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/2.296, allocations: 4 kB / 0.7227 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03551/2.332, allocations: 12.16 MB / 0.7346 GB, free: 93.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/2.332, allocations: 44 kB / 0.7346 GB, free: 92.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0175/2.349, allocations: 3.393 MB / 0.7379 GB, free: 89.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01077/2.36, allocations: 1.427 MB / 0.7393 GB, free: 88.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02956/2.39, allocations: 22.24 MB / 0.7611 GB, free: 65.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/2.4, allocations: 495.3 kB / 0.7615 GB, free: 64.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/2.402, allocations: 444 kB / 0.762 GB, free: 64.23 MB / 458.7 MB 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.005588/2.408, allocations: 1.932 MB / 0.7638 GB, free: 62.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002008/2.41, allocations: 0.6483 MB / 0.7645 GB, free: 61.63 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03728/2.447, allocations: 12.67 MB / 0.7768 GB, free: 48.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02533/2.472, allocations: 9.706 MB / 0.7863 GB, free: 39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.327e-05/2.472, allocations: 0 / 0.7863 GB, free: 39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006407/2.479, allocations: 1.664 MB / 0.7879 GB, free: 37.31 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002634/2.481, allocations: 144 kB / 0.7881 GB, free: 37.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008105/2.49, allocations: 307.4 kB / 0.7884 GB, free: 36.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001656/2.491, allocations: 412.8 kB / 0.7888 GB, free: 36.46 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04014/2.531, allocations: 11.81 MB / 0.8003 GB, free: 24.66 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03457/2.566, allocations: 14.34 MB / 0.8143 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0097/2.576, allocations: 4.339 MB / 0.8185 GB, free: 5.852 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006037/2.582, allocations: 3.143 MB / 0.8216 GB, free: 2.738 MB / 458.7 MB Notification: Performance of Backend: time 6.11e-07/2.582, allocations: 0 / 0.8216 GB, free: 2.738 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2881/2.87, allocations: 15.41 MB / 0.8367 GB, free: 190.8 MB / 458.7 MB Notification: Performance of SimCode: time 0.04097/2.911, allocations: 19.06 MB / 0.8553 GB, free: 182 MB / 458.7 MB Notification: Performance of Templates: time 0.6806/3.592, allocations: 203.2 MB / 1.054 GB, free: 172.5 MB / 458.7 MB