Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.2 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 11.98 kB / 233.8 MB, free: 3.098 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08942/0.0898, allocations: 38.77 MB / 272.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8821/0.9719, allocations: 272 MB / 0.5318 GB, free: 45.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.9723, allocations: 84.77 kB / 0.5319 GB, free: 45.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.974/10.95, allocations: 1.636 GB / 2.168 GB, free: 14.76 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.525e-06/10.95, allocations: 0 / 2.168 GB, free: 14.76 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0011/10.95, allocations: 196.7 kB / 2.168 GB, free: 14.73 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.05408/11, allocations: 11.08 MB / 2.179 GB, free: 9.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/11, allocations: 11.28 kB / 2.179 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/11.02, allocations: 1.247 MB / 2.18 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02883/11.04, allocations: 6.353 MB / 2.186 GB, free: 8.504 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008163/11.05, allocations: 430.9 kB / 2.186 GB, free: 8.492 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/11.05, allocations: 0.5355 MB / 2.187 GB, free: 8.492 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03584/11.08, allocations: 9.491 MB / 2.196 GB, free: 7.043 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003542/11.09, allocations: 24.12 kB / 2.196 GB, free: 7.043 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003781/11.09, allocations: 246.6 kB / 2.197 GB, free: 7.043 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001365/11.09, allocations: 0.5913 MB / 2.197 GB, free: 7.031 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03164/11.12, allocations: 8.121 MB / 2.205 GB, free: 6.984 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.1008/11.22, allocations: 34.91 MB / 2.239 GB, free: 7.996 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02035/11.24, allocations: 6.154 MB / 2.245 GB, free: 7.883 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/11.25, allocations: 4.758 MB / 2.25 GB, free: 2.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/11.25, allocations: 95.89 kB / 2.25 GB, free: 2.867 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01282/11.27, allocations: 1.675 MB / 2.251 GB, free: 2.605 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 3.367e-05/11.27, allocations: 0 / 2.251 GB, free: 2.605 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.3299/11.6, allocations: 51.63 MB / 2.302 GB, free: 10.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/11.6, allocations: 171.5 kB / 2.302 GB, free: 10.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01351/11.61, allocations: 4.776 MB / 2.307 GB, free: 6.535 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002563/11.61, allocations: 145.7 kB / 2.307 GB, free: 6.387 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003808/11.62, allocations: 2.63 MB / 2.309 GB, free: 3.926 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004821/11.62, allocations: 2.169 MB / 2.312 GB, free: 1.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/11.62, allocations: 140 kB / 2.312 GB, free: 1.824 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007142/11.62, allocations: 0.6004 MB / 2.312 GB, free: 1.301 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02621/11.65, allocations: 4.685 MB / 2.317 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0156/11.67, allocations: 5.642 MB / 2.322 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/11.68, allocations: 4.869 MB / 2.327 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.819e-05/11.68, allocations: 12 kB / 2.327 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.525/12.21, allocations: 12.98 MB / 2.34 GB, free: 51.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0011/12.21, allocations: 1.431 MB / 2.341 GB, free: 49.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.055e-05/12.21, allocations: 45.53 kB / 2.341 GB, free: 49.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05374/12.26, allocations: 5.174 MB / 2.346 GB, free: 49.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01227/12.27, allocations: 1.366 MB / 2.348 GB, free: 49.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/12.3, allocations: 17.41 MB / 2.365 GB, free: 37.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01373/12.31, allocations: 0.5021 MB / 2.365 GB, free: 37.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003377/12.31, allocations: 423.8 kB / 2.366 GB, free: 37.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/12.31, allocations: 7.734 kB / 2.366 GB, free: 37.63 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04701/12.36, allocations: 12 MB / 2.377 GB, free: 37.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001857/12.36, allocations: 47.34 kB / 2.377 GB, free: 37.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01688/12.38, allocations: 2.973 MB / 2.38 GB, free: 37.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01191/12.39, allocations: 1.39 MB / 2.382 GB, free: 37.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0334/12.42, allocations: 22.1 MB / 2.403 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/12.43, allocations: 496.3 kB / 2.404 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002825/12.44, allocations: 415.9 kB / 2.404 GB, free: 24.32 MB / 0.4948 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.009061/12.44, allocations: 1.924 MB / 2.406 GB, free: 24.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002976/12.45, allocations: 0.6465 MB / 2.407 GB, free: 24.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05202/12.5, allocations: 13.49 MB / 2.42 GB, free: 23.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/12.5, allocations: 64.81 kB / 2.42 GB, free: 23.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/12.5, allocations: 3.734 kB / 2.42 GB, free: 23.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03266/12.53, allocations: 9.662 MB / 2.429 GB, free: 22.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07866/12.61, allocations: 24.78 MB / 2.453 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.645e-05/12.61, allocations: 13.94 kB / 2.453 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007872/12.62, allocations: 0.867 MB / 2.454 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04668/12.67, allocations: 5.456 MB / 2.46 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002133/12.67, allocations: 226.7 kB / 2.46 GB, free: 16.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/12.69, allocations: 17.39 MB / 2.477 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.055e-05/12.69, allocations: 27.75 kB / 2.477 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05228/12.74, allocations: 16.9 MB / 2.493 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007778/12.75, allocations: 1.723 MB / 2.495 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003642/12.75, allocations: 161.9 kB / 2.495 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01023/12.76, allocations: 335.9 kB / 2.495 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002365/12.76, allocations: 465.2 kB / 2.496 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001441/12.77, allocations: 319.5 kB / 2.496 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008776/12.77, allocations: 3.137 MB / 2.499 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.62e-07/12.77, allocations: 0.7656 kB / 2.499 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03268/12.81, allocations: 5.855 MB / 2.505 GB, free: 8.863 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.01898/12.83, allocations: 3.75 MB / 2.509 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.05508/12.88, allocations: 15.65 MB / 2.524 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.853e-05/12.88, allocations: 9.688 kB / 2.524 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0184/12.9, allocations: 4.872 MB / 2.529 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02351/12.92, allocations: 2.565 MB / 2.531 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5288/13.45, allocations: 19.42 MB / 2.55 GB, free: 72.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01057/13.46, allocations: 4.432 MB / 2.555 GB, free: 71.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00597/13.47, allocations: 0.6864 MB / 2.555 GB, free: 71.59 MB / 0.5261 GB Notification: Performance of SimCode: time 2.394e-06/13.47, allocations: 0 / 2.555 GB, free: 71.59 MB / 0.5261 GB Notification: Performance of Templates: time 3.17/16.64, allocations: 0.7323 GB / 3.288 GB, free: 92.69 MB / 0.5417 GB