Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 209.2 MB / 224.8 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004439, allocations: 12 kB / 282.6 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3554, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 0.7094/1.065, allocations: 215.5 MB / 0.534 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05299/1.118, allocations: 26.4 MB / 0.5598 GB, free: 8.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004509/1.122, allocations: 104.5 kB / 0.5599 GB, free: 8.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005132/1.128, allocations: 1.018 MB / 0.5609 GB, free: 7.312 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03027/1.158, allocations: 5.113 MB / 0.5659 GB, free: 3.336 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03426/1.192, allocations: 6.403 MB / 0.5721 GB, free: 13.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0253/1.218, allocations: 10.35 MB / 0.5822 GB, free: 2.906 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008102/1.226, allocations: 3.64 MB / 0.5858 GB, free: 15.27 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.014/1.24, allocations: 4.811 MB / 0.5905 GB, free: 10.94 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01225/1.252, allocations: 4.671 MB / 0.595 GB, free: 6.668 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003521/1.256, allocations: 380 kB / 0.5954 GB, free: 6.297 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03338/1.289, allocations: 10.42 MB / 0.6056 GB, free: 11.89 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00731/1.296, allocations: 3.414 MB / 0.6089 GB, free: 8.469 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004735/1.301, allocations: 1.564 MB / 0.6104 GB, free: 6.895 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03025/1.332, allocations: 13.1 MB / 0.6232 GB, free: 9.77 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/1.332, allocations: 0 / 0.6232 GB, free: 9.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.332, allocations: 3.938 kB / 0.6232 GB, free: 9.766 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003994/1.332, allocations: 4 kB / 0.6232 GB, free: 9.762 MB / 474.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.05984/1.392, allocations: 9.917 MB / 0.6329 GB, free: 15.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/1.392, allocations: 12.03 kB / 0.6329 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004871/1.397, allocations: 1.014 MB / 0.6339 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006011/1.403, allocations: 0.8305 MB / 0.6347 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01463/1.418, allocations: 4.195 MB / 0.6388 GB, free: 9.637 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009212/1.419, allocations: 491.4 kB / 0.6393 GB, free: 9.156 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00378/1.422, allocations: 0.6322 MB / 0.6399 GB, free: 8.523 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3358/1.758, allocations: 14.23 MB / 0.6538 GB, free: 195.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003455/1.759, allocations: 26.66 kB / 0.6538 GB, free: 195.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003067/1.762, allocations: 252.8 kB / 0.6541 GB, free: 195.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002427/1.764, allocations: 1.27 MB / 0.6553 GB, free: 195.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04836/1.813, allocations: 16.52 MB / 0.6714 GB, free: 188.4 MB / 490.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.128/1.941, allocations: 48 MB / 0.7183 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02817/1.969, allocations: 10.92 MB / 0.729 GB, free: 135.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004884/1.974, allocations: 4.151 MB / 0.733 GB, free: 130.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/1.974, allocations: 145.3 kB / 0.7332 GB, free: 130.1 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00673/1.981, allocations: 0.769 MB / 0.7339 GB, free: 129.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=882): time 3.606e-05/1.981, allocations: 0 / 0.7339 GB, free: 129.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=1122): time 0.5422/2.523, allocations: 97.02 MB / 0.8287 GB, free: 32.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/2.523, allocations: 164.2 kB / 0.8288 GB, free: 32.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007271/2.531, allocations: 3.723 MB / 0.8325 GB, free: 28.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003424/2.534, allocations: 225.7 kB / 0.8327 GB, free: 28.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001751/2.536, allocations: 2.271 MB / 0.8349 GB, free: 26.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006065/2.542, allocations: 3.897 MB / 0.8387 GB, free: 22.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003136/2.545, allocations: 216 kB / 0.8389 GB, free: 22.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001032/2.546, allocations: 0.7575 MB / 0.8396 GB, free: 21.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03409/2.58, allocations: 10.12 MB / 0.8495 GB, free: 11.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3278/2.908, allocations: 11.74 MB / 0.861 GB, free: 180.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03993/2.948, allocations: 11.22 MB / 0.872 GB, free: 177.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-05/2.948, allocations: 9.344 kB / 0.872 GB, free: 177.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=1397) (initialization): time 0.1176/3.066, allocations: 32.47 MB / 0.9037 GB, free: 166.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007265/3.067, allocations: 1.162 MB / 0.9048 GB, free: 164.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.31e-05/3.067, allocations: 35.78 kB / 0.9048 GB, free: 164.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4586/3.525, allocations: 77.66 MB / 0.9807 GB, free: 91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00859/3.534, allocations: 1.112 MB / 0.9818 GB, free: 89.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1285/3.663, allocations: 35.26 MB / 1.016 GB, free: 54.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.024/3.687, allocations: 1.782 MB / 1.018 GB, free: 52.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00391/3.691, allocations: 0.5973 MB / 1.019 GB, free: 52.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/3.691, allocations: 8 kB / 1.019 GB, free: 52.38 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1075/3.798, allocations: 30.91 MB / 1.049 GB, free: 21.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/3.798, allocations: 36 kB / 1.049 GB, free: 21.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.6706/4.469, allocations: 53.76 MB / 1.101 GB, free: 161.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/4.483, allocations: 1.217 MB / 1.102 GB, free: 160.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1452/4.628, allocations: 32.17 MB / 1.134 GB, free: 128 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02208/4.65, allocations: 1.748 MB / 1.136 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003837/4.654, allocations: 0.5934 MB / 1.136 GB, free: 125.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * 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 (610): * Single equations (assignments): 609 * 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 {73 715} Notification: Performance of prepare postOptimizeDAE: time 0.01118/4.665, allocations: 2.587 MB / 1.139 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004468/4.67, allocations: 0.6375 MB / 1.139 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1068/4.777, allocations: 30.25 MB / 1.169 GB, free: 92.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001518/4.777, allocations: 120 kB / 1.169 GB, free: 92.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.713e-05/4.777, allocations: 3.953 kB / 1.169 GB, free: 92.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08225/4.859, allocations: 23.93 MB / 1.192 GB, free: 68.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1334/4.993, allocations: 42.07 MB / 1.233 GB, free: 26.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001609/4.993, allocations: 3.938 kB / 1.233 GB, free: 26.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02026/5.013, allocations: 2.134 MB / 1.235 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.4056/5.419, allocations: 14.12 MB / 1.249 GB, free: 175.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004219/5.423, allocations: 0.6029 MB / 1.25 GB, free: 175.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06874/5.492, allocations: 33.19 MB / 1.282 GB, free: 155 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/5.492, allocations: 1.781 kB / 1.282 GB, free: 155 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1476/5.639, allocations: 37.03 MB / 1.318 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002643/5.642, allocations: 0.7808 MB / 1.319 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005648/5.648, allocations: 463.7 kB / 1.32 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02195/5.67, allocations: 1.433 MB / 1.321 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004004/5.674, allocations: 0.7699 MB / 1.322 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003822/5.678, allocations: 0.5464 MB / 1.322 GB, free: 129.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005709/5.683, allocations: 2.532 MB / 1.325 GB, free: 127 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.31e-07/5.684, allocations: 0 / 1.325 GB, free: 127 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02917/5.713, allocations: 6.556 MB / 1.331 GB, free: 120.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (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,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,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,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) * 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 (1057): * Single equations (assignments): 1030 * 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: 27 * Mixed (continuous/discrete) equation systems: 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: 22 {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,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.1375/5.85, allocations: 40.29 MB / 1.371 GB, free: 80.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1324/5.983, allocations: 37.05 MB / 1.407 GB, free: 43.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/5.983, allocations: 5 kB / 1.407 GB, free: 43.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04352/6.026, allocations: 12.72 MB / 1.419 GB, free: 30.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02586/6.052, allocations: 3.066 MB / 1.422 GB, free: 27.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4645/6.517, allocations: 43.16 MB / 1.464 GB, free: 156.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01177/6.529, allocations: 5.203 MB / 1.469 GB, free: 155.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01307/6.542, allocations: 3.536 MB / 1.473 GB, free: 153.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.774e-06/6.542, allocations: 3.594 kB / 1.473 GB, free: 153.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.69/16.23, allocations: 0.5725 GB / 2.045 GB, free: 128.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat