Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.085/2.085, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004354, allocations: 15.94 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3416, allocations: 48.69 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.656/1.997, allocations: 0.6213 GB / 0.9449 GB, free: 27.53 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.998, allocations: 83.39 kB / 0.945 GB, free: 27.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.021/4.018, allocations: 353.9 MB / 1.291 GB, free: 32.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.695e-06/4.018, allocations: 0 / 1.291 GB, free: 32.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001093/4.018, allocations: 31.98 kB / 1.291 GB, free: 32.59 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.007001/4.025, allocations: 1.688 MB / 1.292 GB, free: 30.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/4.026, allocations: 16.03 kB / 1.292 GB, free: 30.84 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005659/4.026, allocations: 110.5 kB / 1.292 GB, free: 30.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/4.028, allocations: 206.5 kB / 1.293 GB, free: 30.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/4.031, allocations: 0.8433 MB / 1.293 GB, free: 29.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/4.031, allocations: 45.3 kB / 1.294 GB, free: 29.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/4.031, allocations: 67.98 kB / 1.294 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/4.034, allocations: 1.151 MB / 1.295 GB, free: 28.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/4.034, allocations: 0 / 1.295 GB, free: 28.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/4.034, allocations: 31.98 kB / 1.295 GB, free: 28.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/4.035, allocations: 73.27 kB / 1.295 GB, free: 28.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/4.038, allocations: 1.164 MB / 1.296 GB, free: 27.04 MB / 442.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.01117/4.049, allocations: 4.304 MB / 1.3 GB, free: 22.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/4.051, allocations: 0.779 MB / 1.301 GB, free: 21.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00044/4.052, allocations: 329.7 kB / 1.301 GB, free: 21.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/4.052, allocations: 43.12 kB / 1.301 GB, free: 21.3 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001214/4.053, allocations: 119.2 kB / 1.301 GB, free: 21.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 3.757e-06/4.053, allocations: 0 / 1.301 GB, free: 21.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.01172/4.065, allocations: 2.026 MB / 1.303 GB, free: 19.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.064e-05/4.065, allocations: 222.2 kB / 1.304 GB, free: 18.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/4.066, allocations: 0.723 MB / 1.304 GB, free: 18.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/4.067, allocations: 41.7 kB / 1.304 GB, free: 18.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/4.067, allocations: 469.8 kB / 1.305 GB, free: 17.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/4.067, allocations: 212.9 kB / 1.305 GB, free: 17.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/4.067, allocations: 24 kB / 1.305 GB, free: 17.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.355e-05/4.067, allocations: 342.8 kB / 1.305 GB, free: 17.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/4.069, allocations: 385.8 kB / 1.306 GB, free: 16.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/4.07, allocations: 0.6176 MB / 1.306 GB, free: 15.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/4.071, allocations: 483.8 kB / 1.307 GB, free: 15.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/4.071, allocations: 8 kB / 1.307 GB, free: 15.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003514/4.075, allocations: 1.243 MB / 1.308 GB, free: 14.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005483/4.075, allocations: 2.447 MB / 1.31 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/4.075, allocations: 8 kB / 1.31 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008465/4.084, allocations: 0.8427 MB / 1.311 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/4.085, allocations: 175.7 kB / 1.311 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/4.088, allocations: 1.194 MB / 1.313 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/4.089, allocations: 63.98 kB / 1.313 GB, free: 9.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/4.09, allocations: 71.98 kB / 1.313 GB, free: 9.211 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/4.09, allocations: 4.625 kB / 1.313 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00376/4.093, allocations: 1.105 MB / 1.314 GB, free: 8.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/4.094, allocations: 8 kB / 1.314 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/4.095, allocations: 149 kB / 1.314 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/4.096, allocations: 203.7 kB / 1.314 GB, free: 7.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/4.1, allocations: 2.159 MB / 1.316 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/4.101, allocations: 67.95 kB / 1.316 GB, free: 5.383 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/4.102, allocations: 68.55 kB / 1.316 GB, free: 5.316 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (85): * Single equations (assignments): 84 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007725/4.102, allocations: 360.8 kB / 1.317 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/4.103, allocations: 90.88 kB / 1.317 GB, free: 4.863 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/4.107, allocations: 1.336 MB / 1.318 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/4.107, allocations: 4 kB / 1.318 GB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/4.107, allocations: 4 kB / 1.318 GB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/4.107, allocations: 3.984 kB / 1.318 GB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004654/4.112, allocations: 1.945 MB / 1.32 GB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/4.112, allocations: 8.188 kB / 1.32 GB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/4.112, allocations: 75.89 kB / 1.32 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005406/4.118, allocations: 0.7017 MB / 1.321 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/4.118, allocations: 23.95 kB / 1.321 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3335/4.451, allocations: 1.166 MB / 1.322 GB, free: 56.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/4.451, allocations: 3.375 kB / 1.322 GB, free: 56.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/4.455, allocations: 1.182 MB / 1.323 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/4.455, allocations: 176.2 kB / 1.323 GB, free: 55.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/4.456, allocations: 10.44 kB / 1.323 GB, free: 55.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/4.457, allocations: 53.81 kB / 1.323 GB, free: 55.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/4.457, allocations: 55.62 kB / 1.323 GB, free: 55.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/4.457, allocations: 43.42 kB / 1.323 GB, free: 55.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001214/4.458, allocations: 0.5624 MB / 1.324 GB, free: 55.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-07/4.458, allocations: 0 / 1.324 GB, free: 55.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005751/4.464, allocations: 1.228 MB / 1.325 GB, free: 55.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (37): * Single equations (assignments): 36 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.009925/4.474, allocations: 3.851 MB / 1.329 GB, free: 54.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005237/4.479, allocations: 1.564 MB / 1.33 GB, free: 54.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/4.479, allocations: 1.688 kB / 1.33 GB, free: 54.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/4.481, allocations: 421 kB / 1.331 GB, free: 54.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004198/4.485, allocations: 484.2 kB / 1.331 GB, free: 54.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/4.503, allocations: 8.808 MB / 1.34 GB, free: 48.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/4.504, allocations: 1.065 MB / 1.341 GB, free: 48.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/4.505, allocations: 375.9 kB / 1.341 GB, free: 48.24 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/4.505, allocations: 3.781 kB / 1.341 GB, free: 48.24 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.508/8.013, allocations: 34.07 MB / 1.375 GB, free: 46.57 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat