Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes.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: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003637, allocations: 8 kB / 264 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3041, allocations: 44.52 MB / 308.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.BranchingDynamicPipes): time 0.674/0.9781, allocations: 215.8 MB / 0.512 GB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05888/1.037, allocations: 26.54 MB / 0.538 GB, free: 5.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003655/1.041, allocations: 111.2 kB / 0.5381 GB, free: 4.965 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005069/1.046, allocations: 1.042 MB / 0.5391 GB, free: 3.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02204/1.068, allocations: 5.135 MB / 0.5441 GB, free: 14.77 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03044/1.098, allocations: 6.424 MB / 0.5504 GB, free: 8.332 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02022/1.119, allocations: 10.46 MB / 0.5606 GB, free: 13.85 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008087/1.127, allocations: 3.657 MB / 0.5642 GB, free: 10.16 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/1.141, allocations: 4.922 MB / 0.569 GB, free: 5.227 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01293/1.154, allocations: 4.758 MB / 0.5736 GB, free: 468 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003318/1.158, allocations: 380 kB / 0.574 GB, free: 88 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4022/1.56, allocations: 10.55 MB / 0.5843 GB, free: 12.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007134/1.567, allocations: 3.507 MB / 0.5877 GB, free: 12.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005324/1.572, allocations: 1.572 MB / 0.5892 GB, free: 12.2 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02756/1.6, allocations: 13.18 MB / 0.6021 GB, free: 11.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.6, allocations: 0 / 0.6021 GB, free: 11.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.935e-06/1.6, allocations: 1.406 kB / 0.6021 GB, free: 11.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004626/1.601, allocations: 0.6875 kB / 0.6021 GB, free: 11.29 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.06251/1.663, allocations: 10.15 MB / 0.612 GB, free: 7.332 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.663, allocations: 9.875 kB / 0.612 GB, free: 7.332 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005669/1.669, allocations: 1.01 MB / 0.613 GB, free: 7.059 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0075/1.676, allocations: 0.839 MB / 0.6138 GB, free: 6.645 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/1.692, allocations: 4.252 MB / 0.618 GB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008299/1.692, allocations: 490.2 kB / 0.6185 GB, free: 5.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004469/1.697, allocations: 0.6589 MB / 0.6191 GB, free: 5.125 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04462/1.742, allocations: 14.45 MB / 0.6332 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005419/1.742, allocations: 24.12 kB / 0.6332 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004147/1.746, allocations: 259.1 kB / 0.6335 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002728/1.749, allocations: 1.279 MB / 0.6347 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05461/1.804, allocations: 17.01 MB / 0.6513 GB, free: 2.871 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.1522/1.956, allocations: 54.58 MB / 0.7047 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03397/1.99, allocations: 11.34 MB / 0.7157 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006317/1.996, allocations: 4.161 MB / 0.7198 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/1.997, allocations: 157.2 kB / 0.7199 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00764/2.004, allocations: 0.791 MB / 0.7207 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=926): time 3.987e-05/2.005, allocations: 0 / 0.7207 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1188): time 0.871/2.875, allocations: 102.1 MB / 0.8204 GB, free: 247.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/2.876, allocations: 176.7 kB / 0.8206 GB, free: 247.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00861/2.884, allocations: 3.641 MB / 0.8241 GB, free: 243.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.004033/2.888, allocations: 241.7 kB / 0.8244 GB, free: 243.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00208/2.89, allocations: 2.352 MB / 0.8267 GB, free: 241.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.007412/2.898, allocations: 4.133 MB / 0.8307 GB, free: 237 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003832/2.902, allocations: 228 kB / 0.8309 GB, free: 236.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001123/2.903, allocations: 0.7774 MB / 0.8317 GB, free: 236 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03573/2.939, allocations: 10.57 MB / 0.842 GB, free: 225.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03809/2.977, allocations: 12.06 MB / 0.8538 GB, free: 212.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04046/3.017, allocations: 11.68 MB / 0.8652 GB, free: 201.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.37e-05/3.018, allocations: 12 kB / 0.8652 GB, free: 201.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1463) (initialization): time 0.1242/3.142, allocations: 34.06 MB / 0.8985 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005869/3.142, allocations: 1.041 MB / 0.8995 GB, free: 165.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.296e-05/3.142, allocations: 31.94 kB / 0.8995 GB, free: 165.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4894/3.632, allocations: 87.04 MB / 0.9845 GB, free: 78.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00886/3.641, allocations: 1.131 MB / 0.9856 GB, free: 77.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1286/3.769, allocations: 37.13 MB / 1.022 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02535/3.795, allocations: 1.852 MB / 1.024 GB, free: 38.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004718/3.799, allocations: 0.6051 MB / 1.024 GB, free: 37.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/3.8, allocations: 7.953 kB / 1.024 GB, free: 37.69 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.415/4.215, allocations: 32.58 MB / 1.056 GB, free: 252.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/4.215, allocations: 31.09 kB / 1.056 GB, free: 252.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.619/4.834, allocations: 77.74 MB / 1.132 GB, free: 196.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01/4.844, allocations: 1.173 MB / 1.133 GB, free: 195.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1236/4.967, allocations: 35.06 MB / 1.167 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0252/4.993, allocations: 1.812 MB / 1.169 GB, free: 159 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004738/4.998, allocations: 0.5934 MB / 1.17 GB, free: 158.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 (626): * Single equations (assignments): 625 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {77 761} Notification: Performance of prepare postOptimizeDAE: time 0.014/5.012, allocations: 2.625 MB / 1.172 GB, free: 155.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005773/5.017, allocations: 0.653 MB / 1.173 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.118/5.135, allocations: 30.97 MB / 1.203 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001652/5.136, allocations: 124 kB / 1.203 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.402e-05/5.136, allocations: 0 / 1.203 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1294/5.265, allocations: 24.52 MB / 1.227 GB, free: 99.63 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1832/5.448, allocations: 44.02 MB / 1.27 GB, free: 55.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001652/5.449, allocations: 0 / 1.27 GB, free: 55.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03444/5.483, allocations: 3.414 MB / 1.274 GB, free: 52.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08325/5.566, allocations: 12.58 MB / 1.286 GB, free: 39.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00473/5.571, allocations: 0.6309 MB / 1.287 GB, free: 39.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3788/5.95, allocations: 44.87 MB / 1.33 GB, free: 249.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/5.95, allocations: 4.906 kB / 1.33 GB, free: 249.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1362/6.086, allocations: 38.07 MB / 1.368 GB, free: 240.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003054/6.089, allocations: 0.7982 MB / 1.368 GB, free: 239.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006077/6.096, allocations: 482.7 kB / 1.369 GB, free: 239.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02909/6.125, allocations: 1.487 MB / 1.37 GB, free: 239.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005239/6.13, allocations: 0.8026 MB / 1.371 GB, free: 239.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00526/6.135, allocations: 0.5629 MB / 1.372 GB, free: 239 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006026/6.141, allocations: 2.482 MB / 1.374 GB, free: 237 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.031e-06/6.141, allocations: 0 / 1.374 GB, free: 237 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03531/6.177, allocations: 6.729 MB / 1.381 GB, free: 230.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 82 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * 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 (1169): * Single equations (assignments): 1122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 22 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 20 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.1693/6.346, allocations: 41.38 MB / 1.421 GB, free: 192.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.1722/6.518, allocations: 39.04 MB / 1.459 GB, free: 153.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/6.518, allocations: 9 kB / 1.459 GB, free: 153.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.05805/6.577, allocations: 14.35 MB / 1.473 GB, free: 139 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02835/6.605, allocations: 3.08 MB / 1.476 GB, free: 136 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1336/6.739, allocations: 45.5 MB / 1.521 GB, free: 89.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009784/6.748, allocations: 5.28 MB / 1.526 GB, free: 83.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03091/6.779, allocations: 5.054 MB / 1.531 GB, free: 78.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01316/6.793, allocations: 3.651 MB / 1.534 GB, free: 75.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.343e-06/6.793, allocations: 0 / 1.534 GB, free: 75.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.559/8.351, allocations: 478.2 MB / 2.001 GB, free: 121.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/8.352, allocations: 253.6 kB / 2.001 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.33/31.69, allocations: 0 / 2.001 GB, free: 121.4 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat