Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.325/2.325, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004396, allocations: 12 kB / 314.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3369, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 0.6938/1.031, allocations: 215.8 MB / 0.5714 GB, free: 14.85 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.05546/1.086, allocations: 26.53 MB / 0.5973 GB, free: 4.27 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/1.09, allocations: 111.2 kB / 0.5974 GB, free: 4.16 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004825/1.095, allocations: 1.046 MB / 0.5984 GB, free: 3.109 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0212/1.116, allocations: 5.13 MB / 0.6034 GB, free: 13.96 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02459/1.14, allocations: 6.424 MB / 0.6097 GB, free: 7.527 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01949/1.16, allocations: 10.45 MB / 0.6199 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007522/1.167, allocations: 3.626 MB / 0.6235 GB, free: 9.398 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01363/1.181, allocations: 4.906 MB / 0.6282 GB, free: 4.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01212/1.193, allocations: 4.742 MB / 0.6329 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.003186/1.197, allocations: 376 kB / 0.6332 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03176/1.228, allocations: 10.56 MB / 0.6436 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.007309/1.236, allocations: 3.473 MB / 0.6469 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00481/1.241, allocations: 1.568 MB / 0.6485 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.02924/1.27, allocations: 13.11 MB / 0.6613 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/1.27, allocations: 0 / 0.6613 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.445e-06/1.27, allocations: 0 / 0.6613 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003993/1.27, allocations: 0 / 0.6613 GB, free: 2.59 MB / 0.5105 GB 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.3626/1.633, allocations: 9.92 MB / 0.671 GB, free: 208.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.633, allocations: 9.781 kB / 0.671 GB, free: 208.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004689/1.638, allocations: 1.017 MB / 0.672 GB, free: 207.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00638/1.644, allocations: 0.8448 MB / 0.6728 GB, free: 207.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/1.658, allocations: 4.199 MB / 0.6769 GB, free: 204.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006567/1.658, allocations: 485.3 kB / 0.6774 GB, free: 204.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003472/1.662, allocations: 0.6311 MB / 0.678 GB, free: 204.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0379/1.7, allocations: 14.23 MB / 0.6919 GB, free: 194.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002774/1.7, allocations: 27.73 kB / 0.6919 GB, free: 194.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002441/1.702, allocations: 259.2 kB / 0.6921 GB, free: 194.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/1.704, allocations: 1.259 MB / 0.6934 GB, free: 192.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04239/1.747, allocations: 16.53 MB / 0.7095 GB, free: 176.4 MB / 0.5105 GB 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.1219/1.869, allocations: 53.44 MB / 0.7617 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02833/1.897, allocations: 10.92 MB / 0.7724 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004809/1.902, allocations: 4.154 MB / 0.7764 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/1.902, allocations: 150.4 kB / 0.7766 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006726/1.909, allocations: 0.7619 MB / 0.7773 GB, free: 103 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=882): time 2.385e-05/1.909, allocations: 0 / 0.7773 GB, free: 103 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1122): time 0.5288/2.438, allocations: 97.02 MB / 0.8721 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/2.438, allocations: 166.4 kB / 0.8722 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007324/2.445, allocations: 3.723 MB / 0.8758 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003608/2.449, allocations: 225.7 kB / 0.8761 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.3115/2.76, allocations: 2.267 MB / 0.8783 GB, free: 194.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006995/2.768, allocations: 3.902 MB / 0.8821 GB, free: 192.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002169/2.77, allocations: 218.3 kB / 0.8823 GB, free: 192.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009439/2.771, allocations: 0.7591 MB / 0.883 GB, free: 192.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03462/2.805, allocations: 10.12 MB / 0.8929 GB, free: 189.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03534/2.841, allocations: 11.75 MB / 0.9044 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0366/2.877, allocations: 11.22 MB / 0.9154 GB, free: 179.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.523e-05/2.877, allocations: 8 kB / 0.9154 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 0.1212/2.999, allocations: 32.46 MB / 0.9471 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006199/2.999, allocations: 1.163 MB / 0.9482 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.641e-05/2.999, allocations: 36 kB / 0.9482 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4687/3.468, allocations: 79.13 MB / 1.026 GB, free: 66.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008721/3.477, allocations: 1.104 MB / 1.027 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1231/3.6, allocations: 35.26 MB / 1.061 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02446/3.625, allocations: 1.786 MB / 1.063 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00409/3.629, allocations: 0.6051 MB / 1.063 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/3.629, allocations: 4 kB / 1.063 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.434/4.063, allocations: 30.9 MB / 1.094 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/4.063, allocations: 34.88 kB / 1.094 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3823/4.445, allocations: 54.39 MB / 1.147 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009553/4.455, allocations: 1.219 MB / 1.148 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1326/4.587, allocations: 32.17 MB / 1.179 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02248/4.61, allocations: 1.75 MB / 1.181 GB, free: 94.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003936/4.614, allocations: 0.5855 MB / 1.182 GB, free: 94.27 MB / 0.5105 GB 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.01132/4.625, allocations: 2.589 MB / 1.184 GB, free: 91.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004446/4.63, allocations: 0.6391 MB / 1.185 GB, free: 91.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1084/4.738, allocations: 30.25 MB / 1.214 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001474/4.738, allocations: 120 kB / 1.214 GB, free: 60.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.473e-05/4.739, allocations: 0 / 1.214 GB, free: 60.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.084/4.823, allocations: 23.94 MB / 1.238 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4572/5.28, allocations: 42.05 MB / 1.279 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001632/5.28, allocations: 0 / 1.279 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02075/5.301, allocations: 2.13 MB / 1.281 GB, free: 177.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1302/5.431, allocations: 14.12 MB / 1.295 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.011/5.442, allocations: 0.6127 MB / 1.295 GB, free: 166.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08896/5.531, allocations: 33.19 MB / 1.328 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/5.531, allocations: 0 / 1.328 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1244/5.656, allocations: 37.02 MB / 1.364 GB, free: 95.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003419/5.659, allocations: 0.7834 MB / 1.365 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006993/5.666, allocations: 463.7 kB / 1.365 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0226/5.689, allocations: 1.436 MB / 1.366 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003989/5.693, allocations: 0.7583 MB / 1.367 GB, free: 92.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003803/5.697, allocations: 0.5504 MB / 1.368 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00567/5.702, allocations: 2.528 MB / 1.37 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.142e-06/5.702, allocations: 0 / 1.37 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02973/5.732, allocations: 6.584 MB / 1.377 GB, free: 82.75 MB / 0.5105 GB 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.1401/5.872, allocations: 40.28 MB / 1.416 GB, free: 42.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.4644/6.337, allocations: 37.03 MB / 1.452 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/6.337, allocations: 7.656 kB / 1.452 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.04567/6.382, allocations: 12.72 MB / 1.465 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0263/6.409, allocations: 3.065 MB / 1.468 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1233/6.532, allocations: 43.19 MB / 1.51 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009174/6.541, allocations: 5.211 MB / 1.515 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01223/6.554, allocations: 3.533 MB / 1.518 GB, free: 142 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/6.554, allocations: 0 / 1.518 GB, free: 142 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.566/16.12, allocations: 0.5725 GB / 2.091 GB, free: 138.7 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat