Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes.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: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.742/1.742, allocations: 171.1 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.000473, allocations: 8 kB / 233.3 MB, free: 184 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09038, allocations: 38.77 MB / 272.1 MB, free: 9.328 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.89/10.98, allocations: 3.665 GB / 3.931 GB, free: 95.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/10.98, allocations: 80.3 kB / 3.931 GB, free: 95.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.553/16.54, allocations: 0.9658 GB / 4.897 GB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.805e-06/16.54, allocations: 192 / 4.897 GB, free: 14.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005555/16.54, allocations: 165.2 kB / 4.897 GB, free: 14.79 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: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.06394/16.6, allocations: 10.5 MB / 4.907 GB, free: 10.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/16.6, allocations: 14.62 kB / 4.907 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007687/16.61, allocations: 1.042 MB / 4.908 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009573/16.62, allocations: 0.8597 MB / 4.909 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02813/16.65, allocations: 5.723 MB / 4.914 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/16.65, allocations: 0.5322 MB / 4.915 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005826/16.66, allocations: 0.728 MB / 4.916 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05124/16.71, allocations: 14.26 MB / 4.93 GB, free: 6.824 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005955/16.71, allocations: 13.81 kB / 4.93 GB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006132/16.71, allocations: 289.1 kB / 4.93 GB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001203/16.71, allocations: 0.7123 MB / 4.931 GB, free: 6.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06067/16.78, allocations: 17.42 MB / 4.948 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5282/17.3, allocations: 43.34 MB / 4.99 GB, free: 17.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03293/17.34, allocations: 11.07 MB / 5.001 GB, free: 16.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005581/17.34, allocations: 4.185 MB / 5.005 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/17.34, allocations: 152.7 kB / 5.005 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009593/17.35, allocations: 0.8822 MB / 5.006 GB, free: 12.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=926): time 4.553e-05/17.35, allocations: 0 / 5.006 GB, free: 12.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=1188): time 0.5595/17.91, allocations: 99.94 MB / 5.103 GB, free: 5.477 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/17.91, allocations: 172.7 kB / 5.104 GB, free: 5.293 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009261/17.92, allocations: 3.304 MB / 5.107 GB, free: 2.535 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004523/17.93, allocations: 241.7 kB / 5.107 GB, free: 2.293 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002867/17.93, allocations: 2.319 MB / 5.109 GB, free: 452 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.008918/17.94, allocations: 4.139 MB / 5.113 GB, free: 12.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004566/17.94, allocations: 224 kB / 5.114 GB, free: 12.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001328/17.94, allocations: 0.7669 MB / 5.114 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03903/17.98, allocations: 10.44 MB / 5.125 GB, free: 3.434 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4472/18.43, allocations: 13.22 MB / 5.137 GB, free: 57.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04258/18.47, allocations: 11.51 MB / 5.149 GB, free: 57.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-05/18.47, allocations: 7.359 kB / 5.149 GB, free: 57.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.1335/18.61, allocations: 33.61 MB / 5.182 GB, free: 56.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002358/18.61, allocations: 10.95 MB / 5.192 GB, free: 45.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/18.61, allocations: 25.78 kB / 5.192 GB, free: 45.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.5038/19.11, allocations: 84.92 MB / 5.275 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00934/19.12, allocations: 1.084 MB / 5.276 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5511/19.67, allocations: 38.14 MB / 5.313 GB, free: 50.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02691/19.7, allocations: 1.846 MB / 5.315 GB, free: 50.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005606/19.71, allocations: 0.5988 MB / 5.316 GB, free: 50.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/19.71, allocations: 5.438 kB / 5.316 GB, free: 50.07 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1287/19.83, allocations: 32.11 MB / 5.347 GB, free: 49.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001743/19.83, allocations: 26.53 kB / 5.347 GB, free: 49.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4751/20.31, allocations: 77.8 MB / 5.423 GB, free: 30.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00971/20.32, allocations: 1.139 MB / 5.424 GB, free: 30.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.124/20.44, allocations: 34.79 MB / 5.458 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.026/20.47, allocations: 1.807 MB / 5.46 GB, free: 4.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005663/20.48, allocations: 0.5891 MB / 5.461 GB, free: 3.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (604): * Single equations (assignments): 603 * 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 {75 763} Notification: Performance of prepare postOptimizeDAE: time 0.01566/20.49, allocations: 2.607 MB / 5.463 GB, free: 1.652 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006072/20.5, allocations: 0.6502 MB / 5.464 GB, free: 1.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.525/21.02, allocations: 31.6 MB / 5.495 GB, free: 71.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001808/21.02, allocations: 123.9 kB / 5.495 GB, free: 71.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.284e-05/21.02, allocations: 3.906 kB / 5.495 GB, free: 71.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09268/21.12, allocations: 24.3 MB / 5.519 GB, free: 70.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1642/21.28, allocations: 44.52 MB / 5.562 GB, free: 66.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001812/21.28, allocations: 0 / 5.562 GB, free: 66.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03468/21.31, allocations: 3.414 MB / 5.565 GB, free: 66.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0815/21.4, allocations: 12.56 MB / 5.578 GB, free: 64.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005173/21.4, allocations: 0.629 MB / 5.578 GB, free: 64.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0678/21.47, allocations: 44.84 MB / 5.622 GB, free: 27.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/21.47, allocations: 5.656 kB / 5.622 GB, free: 27.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5847/22.05, allocations: 40.11 MB / 5.661 GB, free: 68.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003695/22.06, allocations: 0.7995 MB / 5.662 GB, free: 68.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00659/22.06, allocations: 484.9 kB / 5.662 GB, free: 68.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02483/22.09, allocations: 1.484 MB / 5.664 GB, free: 68.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005202/22.09, allocations: 0.8012 MB / 5.665 GB, free: 68.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004873/22.1, allocations: 0.5721 MB / 5.665 GB, free: 68.42 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00711/22.11, allocations: 2.506 MB / 5.668 GB, free: 68.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.823e-06/22.11, allocations: 0 / 5.668 GB, free: 68.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.04206/22.15, allocations: 7.044 MB / 5.675 GB, free: 68.23 MB / 474.7 MB 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.1653/22.31, allocations: 43.29 MB / 5.717 GB, free: 65.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1468/22.46, allocations: 38.5 MB / 5.754 GB, free: 63.33 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/22.46, allocations: 8.562 kB / 5.754 GB, free: 63.33 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05706/22.52, allocations: 14.15 MB / 5.768 GB, free: 58.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02962/22.55, allocations: 3.071 MB / 5.771 GB, free: 56.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5432/23.09, allocations: 63.11 MB / 5.833 GB, free: 58.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01318/23.1, allocations: 5.285 MB / 5.838 GB, free: 57.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.03439/23.14, allocations: 4.99 MB / 5.843 GB, free: 57.17 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0167/23.16, allocations: 3.658 MB / 5.846 GB, free: 57.17 MB / 474.7 MB Notification: Performance of SimCode: time 3.035e-06/23.16, allocations: 0 / 5.846 GB, free: 57.17 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.286/25.44, allocations: 491.7 MB / 6.327 GB, free: 27.48 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000303/25.44, allocations: 245.2 kB / 6.327 GB, free: 27.14 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.8/49.24, allocations: 0 / 6.327 GB, free: 27.14 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat