Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.235/2.235, allocations: 234.9 MB / 250.5 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004336, allocations: 12 kB / 314.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3755, allocations: 54.85 MB / 369.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.828/2.204, allocations: 0.6281 GB / 0.9888 GB, free: 63.03 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/2.204, allocations: 91.89 kB / 0.9889 GB, free: 62.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.925/4.129, allocations: 354 MB / 1.335 GB, free: 83.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.455e-06/4.129, allocations: 0 / 1.335 GB, free: 83.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001105/4.129, allocations: 24.78 kB / 1.335 GB, free: 83.44 MB / 490.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.006498/4.136, allocations: 1.716 MB / 1.336 GB, free: 82.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.581e-05/4.136, allocations: 11.22 kB / 1.336 GB, free: 82.46 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005022/4.136, allocations: 115.2 kB / 1.336 GB, free: 82.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/4.138, allocations: 201.7 kB / 1.337 GB, free: 82.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/4.141, allocations: 0.8303 MB / 1.337 GB, free: 82.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.562e-05/4.141, allocations: 55.94 kB / 1.337 GB, free: 82.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/4.141, allocations: 62.09 kB / 1.337 GB, free: 82.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/4.144, allocations: 1.156 MB / 1.339 GB, free: 81.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/4.144, allocations: 3.938 kB / 1.339 GB, free: 81.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/4.144, allocations: 26.78 kB / 1.339 GB, free: 81.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/4.145, allocations: 80.38 kB / 1.339 GB, free: 81.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/4.148, allocations: 1.163 MB / 1.34 GB, free: 81.84 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.01036/4.158, allocations: 4.308 MB / 1.344 GB, free: 79.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/4.16, allocations: 0.7673 MB / 1.345 GB, free: 79.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/4.161, allocations: 315.9 kB / 1.345 GB, free: 79.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/4.161, allocations: 42.38 kB / 1.345 GB, free: 79.16 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001197/4.162, allocations: 117.1 kB / 1.345 GB, free: 79.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 4.599e-06/4.162, allocations: 0 / 1.345 GB, free: 79.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.01157/4.174, allocations: 2.031 MB / 1.347 GB, free: 78.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/4.174, allocations: 218 kB / 1.347 GB, free: 78.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/4.175, allocations: 0.7296 MB / 1.348 GB, free: 77.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/4.175, allocations: 36.61 kB / 1.348 GB, free: 77.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/4.176, allocations: 478.3 kB / 1.349 GB, free: 77.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/4.176, allocations: 216.1 kB / 1.349 GB, free: 77.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/4.176, allocations: 14.34 kB / 1.349 GB, free: 77.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/4.176, allocations: 351.8 kB / 1.349 GB, free: 76.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/4.177, allocations: 381 kB / 1.35 GB, free: 76.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/4.179, allocations: 0.6257 MB / 1.35 GB, free: 76.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/4.18, allocations: 473.9 kB / 1.351 GB, free: 76.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/4.18, allocations: 3.812 kB / 1.351 GB, free: 76.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003443/4.183, allocations: 1.255 MB / 1.352 GB, free: 75.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006176/4.184, allocations: 2.451 MB / 1.354 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/4.184, allocations: 6.469 kB / 1.354 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008451/4.193, allocations: 0.8386 MB / 1.355 GB, free: 73.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/4.194, allocations: 176 kB / 1.355 GB, free: 73.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/4.196, allocations: 1.182 MB / 1.356 GB, free: 71.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/4.198, allocations: 64.33 kB / 1.356 GB, free: 71.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/4.199, allocations: 69.81 kB / 1.357 GB, free: 71.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/4.199, allocations: 9.281 kB / 1.357 GB, free: 71.79 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004059/4.203, allocations: 1.107 MB / 1.358 GB, free: 70.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/4.203, allocations: 10.81 kB / 1.358 GB, free: 70.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/4.204, allocations: 144.5 kB / 1.358 GB, free: 70.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/4.205, allocations: 216.2 kB / 1.358 GB, free: 70.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003899/4.209, allocations: 2.163 MB / 1.36 GB, free: 68.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/4.211, allocations: 69.02 kB / 1.36 GB, free: 68.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/4.211, allocations: 67.98 kB / 1.36 GB, free: 68.26 MB / 490.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.0007933/4.212, allocations: 354.9 kB / 1.361 GB, free: 67.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/4.212, allocations: 94.83 kB / 1.361 GB, free: 67.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/4.216, allocations: 1.328 MB / 1.362 GB, free: 66.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/4.216, allocations: 8 kB / 1.362 GB, free: 66.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/4.216, allocations: 0 / 1.362 GB, free: 66.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/4.217, allocations: 3.984 kB / 1.362 GB, free: 66.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/4.221, allocations: 1.953 MB / 1.364 GB, free: 64.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/4.221, allocations: 0 / 1.364 GB, free: 64.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/4.222, allocations: 86.45 kB / 1.364 GB, free: 64.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005441/4.227, allocations: 0.6982 MB / 1.365 GB, free: 63.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/4.228, allocations: 20 kB / 1.365 GB, free: 63.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/4.23, allocations: 1.173 MB / 1.366 GB, free: 62.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/4.23, allocations: 3.953 kB / 1.366 GB, free: 62.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002937/4.233, allocations: 1.176 MB / 1.367 GB, free: 61.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/4.233, allocations: 175.9 kB / 1.367 GB, free: 61.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/4.233, allocations: 18.42 kB / 1.367 GB, free: 61.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/4.234, allocations: 50.34 kB / 1.367 GB, free: 61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/4.235, allocations: 48.45 kB / 1.367 GB, free: 60.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/4.235, allocations: 47.92 kB / 1.367 GB, free: 60.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001067/4.236, allocations: 0.5674 MB / 1.368 GB, free: 60.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/4.236, allocations: 0 / 1.368 GB, free: 60.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00511/4.241, allocations: 1.217 MB / 1.369 GB, free: 59.13 MB / 490.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.008622/4.25, allocations: 3.852 MB / 1.373 GB, free: 55.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00479/4.254, allocations: 1.574 MB / 1.374 GB, free: 54.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/4.254, allocations: 0 / 1.374 GB, free: 54.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/4.256, allocations: 413.8 kB / 1.375 GB, free: 53.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004012/4.26, allocations: 0.4898 MB / 1.375 GB, free: 53.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/4.276, allocations: 8.792 MB / 1.384 GB, free: 44.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/4.277, allocations: 1.07 MB / 1.385 GB, free: 43.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/4.278, allocations: 367.3 kB / 1.385 GB, free: 42.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.824e-06/4.278, allocations: 0 / 1.385 GB, free: 42.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.486/7.764, allocations: 34.08 MB / 1.418 GB, free: 9.137 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat