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.669/2.669, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006184/0.0006185, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3615, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.63/11.99, allocations: 3.68 GB / 4.041 GB, free: 120.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/11.99, allocations: 84.25 kB / 4.041 GB, free: 120.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.985/17.97, allocations: 0.9756 GB / 5.016 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.296e-06/17.97, allocations: 3.281 kB / 5.016 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005707/17.97, allocations: 162.8 kB / 5.016 GB, free: 29.57 MB / 0.5261 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.06321/18.04, allocations: 10.32 MB / 5.026 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.366e-05/18.04, allocations: 10.47 kB / 5.026 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007478/18.04, allocations: 1.041 MB / 5.028 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009298/18.05, allocations: 0.866 MB / 5.028 GB, free: 25.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02842/18.08, allocations: 5.771 MB / 5.034 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001078/18.08, allocations: 0.5177 MB / 5.034 GB, free: 24.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005648/18.09, allocations: 0.693 MB / 5.035 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05194/18.14, allocations: 14 MB / 5.049 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006167/18.14, allocations: 27.19 kB / 5.049 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005586/18.15, allocations: 284.3 kB / 5.049 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001156/18.15, allocations: 0.7064 MB / 5.05 GB, free: 23.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05262/18.2, allocations: 16.46 MB / 5.066 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1432/18.34, allocations: 47.6 MB / 5.112 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0317/18.38, allocations: 10.64 MB / 5.123 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006536/18.38, allocations: 4.184 MB / 5.127 GB, free: 16.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/18.38, allocations: 143.8 kB / 5.127 GB, free: 16.01 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009365/18.39, allocations: 0.8568 MB / 5.128 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=882): time 3.348e-05/18.39, allocations: 0 / 5.128 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1122): time 1.136/19.53, allocations: 101.1 MB / 5.227 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/19.53, allocations: 172.9 kB / 5.227 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009623/19.54, allocations: 3.367 MB / 5.23 GB, free: 52.47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00486/19.54, allocations: 223.2 kB / 5.23 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002567/19.55, allocations: 2.235 MB / 5.232 GB, free: 51.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.008402/19.55, allocations: 3.895 MB / 5.236 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004675/19.56, allocations: 215.6 kB / 5.236 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00139/19.56, allocations: 0.7551 MB / 5.237 GB, free: 49.26 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03664/19.6, allocations: 9.982 MB / 5.247 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03851/19.64, allocations: 11.44 MB / 5.258 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03897/19.68, allocations: 11.04 MB / 5.269 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.873e-05/19.68, allocations: 10.31 kB / 5.269 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1292/19.8, allocations: 32 MB / 5.3 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002754/19.81, allocations: 11.88 MB / 5.312 GB, free: 33.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001667/19.81, allocations: 32.34 kB / 5.312 GB, free: 33.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5255/20.33, allocations: 78.49 MB / 5.388 GB, free: 12.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009461/20.34, allocations: 1.077 MB / 5.39 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6568/21, allocations: 38.24 MB / 5.427 GB, free: 82.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02726/21.03, allocations: 1.79 MB / 5.429 GB, free: 82.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005648/21.03, allocations: 0.5894 MB / 5.429 GB, free: 82.46 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/21.03, allocations: 6.719 kB / 5.429 GB, free: 82.46 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1409/21.17, allocations: 32.31 MB / 5.461 GB, free: 82.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001961/21.17, allocations: 28.06 kB / 5.461 GB, free: 82.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4023/21.58, allocations: 55.73 MB / 5.515 GB, free: 81.81 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/21.59, allocations: 1.177 MB / 5.516 GB, free: 81.81 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1403/21.73, allocations: 31.93 MB / 5.548 GB, free: 81 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02476/21.75, allocations: 1.751 MB / 5.549 GB, free: 81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005288/21.76, allocations: 0.5876 MB / 5.55 GB, free: 81 MB / 0.5886 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 (588): * Single equations (assignments): 587 * 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 {72 716} Notification: Performance of prepare postOptimizeDAE: time 0.01503/21.77, allocations: 2.564 MB / 5.552 GB, free: 80.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006132/21.78, allocations: 0.6423 MB / 5.553 GB, free: 79.77 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1332/21.91, allocations: 30 MB / 5.582 GB, free: 61.48 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002625/21.91, allocations: 116 kB / 5.582 GB, free: 61.37 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-05/21.91, allocations: 0 / 5.582 GB, free: 61.37 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09894/22.01, allocations: 23.73 MB / 5.606 GB, free: 41.69 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6717/22.68, allocations: 43.1 MB / 5.648 GB, free: 78.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001701/22.68, allocations: 3.375 kB / 5.648 GB, free: 78.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02189/22.7, allocations: 2.138 MB / 5.65 GB, free: 78.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09421/22.8, allocations: 14.12 MB / 5.663 GB, free: 77.94 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005037/22.8, allocations: 0.6017 MB / 5.664 GB, free: 77.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0664/22.87, allocations: 33.1 MB / 5.696 GB, free: 60.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/22.87, allocations: 2.719 kB / 5.696 GB, free: 60.34 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.138/23.01, allocations: 36.88 MB / 5.732 GB, free: 59.13 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003527/23.01, allocations: 0.7856 MB / 5.733 GB, free: 58.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006608/23.02, allocations: 462.2 kB / 5.734 GB, free: 58.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02436/23.04, allocations: 1.45 MB / 5.735 GB, free: 58.67 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005293/23.05, allocations: 0.7696 MB / 5.736 GB, free: 58.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005099/23.05, allocations: 0.5473 MB / 5.736 GB, free: 58.66 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.007119/23.06, allocations: 2.556 MB / 5.739 GB, free: 58.51 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.71e-07/23.06, allocations: 0 / 5.739 GB, free: 58.51 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.04192/23.1, allocations: 6.928 MB / 5.746 GB, free: 58.51 MB / 0.5886 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.155/23.26, allocations: 41.56 MB / 5.786 GB, free: 54.05 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.1404/23.4, allocations: 36.51 MB / 5.822 GB, free: 33.52 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.842e-05/23.4, allocations: 5 kB / 5.822 GB, free: 33.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.04649/23.44, allocations: 12.61 MB / 5.834 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02892/23.47, allocations: 3.063 MB / 5.837 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6586/24.13, allocations: 64.05 MB / 5.9 GB, free: 45.57 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01278/24.15, allocations: 5.206 MB / 5.905 GB, free: 44.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01565/24.16, allocations: 3.555 MB / 5.908 GB, free: 44.66 MB / 0.5886 GB Notification: Performance of SimCode: time 1.412e-06/24.16, allocations: 2.688 kB / 5.908 GB, free: 44.66 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.71/34.87, allocations: 0.5755 GB / 6.484 GB, free: 56.1 MB / 0.6355 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