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.TestJunctionVolume.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.282/2.282, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.952e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3942, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.765/2.159, allocations: 0.6313 GB / 0.981 GB, free: 43.95 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/2.16, allocations: 86.78 kB / 0.9811 GB, free: 43.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.222/4.381, allocations: 411.8 MB / 1.383 GB, free: 27.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/4.381, allocations: 0 / 1.383 GB, free: 27.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00011/4.381, allocations: 28 kB / 1.383 GB, free: 27.82 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007277/4.389, allocations: 1.886 MB / 1.385 GB, free: 25.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/4.389, allocations: 12.03 kB / 1.385 GB, free: 25.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/4.391, allocations: 210.5 kB / 1.385 GB, free: 25.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/4.394, allocations: 0.8947 MB / 1.386 GB, free: 24.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/4.394, allocations: 24 kB / 1.386 GB, free: 24.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/4.395, allocations: 43.94 kB / 1.386 GB, free: 24.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002448/4.397, allocations: 1.031 MB / 1.387 GB, free: 23.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/4.399, allocations: 1.108 MB / 1.388 GB, free: 22.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/4.399, allocations: 0 / 1.388 GB, free: 22.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/4.4, allocations: 4 kB / 1.388 GB, free: 22.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/4.4, allocations: 81.94 kB / 1.388 GB, free: 22.38 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01094/4.411, allocations: 4.793 MB / 1.393 GB, free: 17.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/4.412, allocations: 0.5157 MB / 1.394 GB, free: 16.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006615/4.413, allocations: 302.4 kB / 1.394 GB, free: 16.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004299/4.413, allocations: 318.2 kB / 1.394 GB, free: 16.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/4.413, allocations: 39.47 kB / 1.394 GB, free: 16.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=56): time 3.837e-06/4.413, allocations: 0 / 1.394 GB, free: 16.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.01314/4.426, allocations: 2.39 MB / 1.397 GB, free: 13.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/4.426, allocations: 214.2 kB / 1.397 GB, free: 13.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/4.428, allocations: 0.6998 MB / 1.397 GB, free: 12.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000166/4.428, allocations: 25.7 kB / 1.397 GB, free: 12.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/4.428, allocations: 0.5435 MB / 1.398 GB, free: 12.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/4.429, allocations: 212.9 kB / 1.398 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/4.429, allocations: 0 / 1.398 GB, free: 11.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/4.429, allocations: 350.8 kB / 1.399 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008745/4.43, allocations: 386.5 kB / 1.399 GB, free: 11.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/4.431, allocations: 0.6461 MB / 1.4 GB, free: 10.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/4.446, allocations: 1.901 MB / 1.401 GB, free: 8.461 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-05/4.446, allocations: 4 kB / 1.401 GB, free: 8.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01811/4.465, allocations: 2.701 MB / 1.404 GB, free: 5.742 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006581/4.465, allocations: 2.872 MB / 1.407 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/4.465, allocations: 15.92 kB / 1.407 GB, free: 2.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00308/4.468, allocations: 480.4 kB / 1.407 GB, free: 2.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/4.47, allocations: 195.7 kB / 1.408 GB, free: 1.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/4.473, allocations: 1.447 MB / 1.409 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/4.475, allocations: 59.91 kB / 1.409 GB, free: 444 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/4.475, allocations: 91.98 kB / 1.409 GB, free: 352 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/4.475, allocations: 4 kB / 1.409 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3959/4.871, allocations: 2.421 MB / 1.411 GB, free: 58.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/4.871, allocations: 6.656 kB / 1.411 GB, free: 58.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002292/4.874, allocations: 306.7 kB / 1.412 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/4.875, allocations: 213.2 kB / 1.412 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/4.877, allocations: 0.9674 MB / 1.413 GB, free: 57.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/4.879, allocations: 56.48 kB / 1.413 GB, free: 57.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/4.879, allocations: 94.8 kB / 1.413 GB, free: 57.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004141/4.879, allocations: 124.9 kB / 1.413 GB, free: 57.79 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003376/4.883, allocations: 0.8293 MB / 1.414 GB, free: 57.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/4.883, allocations: 98.53 kB / 1.414 GB, free: 57.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/4.887, allocations: 1.068 MB / 1.415 GB, free: 57.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/4.887, allocations: 5.562 kB / 1.415 GB, free: 57.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/4.887, allocations: 2.688 kB / 1.415 GB, free: 57.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/4.887, allocations: 3.375 kB / 1.415 GB, free: 57.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005179/4.892, allocations: 1.805 MB / 1.417 GB, free: 57.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/4.893, allocations: 3.625 kB / 1.417 GB, free: 57.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/4.894, allocations: 150.2 kB / 1.417 GB, free: 57.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/4.894, allocations: 25.92 kB / 1.417 GB, free: 57.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.221e-05/4.894, allocations: 19.64 kB / 1.417 GB, free: 57.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009147/4.895, allocations: 1.235 MB / 1.418 GB, free: 56.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/4.895, allocations: 0 / 1.418 GB, free: 56.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/4.899, allocations: 1.371 MB / 1.42 GB, free: 55.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/4.9, allocations: 195 kB / 1.42 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/4.9, allocations: 6.844 kB / 1.42 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/4.901, allocations: 44.06 kB / 1.42 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/4.901, allocations: 44.58 kB / 1.42 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/4.901, allocations: 56 kB / 1.42 GB, free: 55.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001044/4.903, allocations: 0.5199 MB / 1.42 GB, free: 55.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.72e-07/4.903, allocations: 0 / 1.42 GB, free: 55.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005903/4.908, allocations: 1.195 MB / 1.422 GB, free: 55.72 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01087/4.919, allocations: 4.119 MB / 1.426 GB, free: 54.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003924/4.923, allocations: 1.43 MB / 1.427 GB, free: 54.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/4.923, allocations: 0 / 1.427 GB, free: 54.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/4.924, allocations: 470.6 kB / 1.427 GB, free: 54.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003895/4.928, allocations: 456.8 kB / 1.428 GB, free: 54.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/4.944, allocations: 3.68 MB / 1.432 GB, free: 54.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/4.945, allocations: 1.096 MB / 1.433 GB, free: 53.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/4.946, allocations: 462 kB / 1.433 GB, free: 53.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.853e-06/4.946, allocations: 0 / 1.433 GB, free: 53.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.61/8.557, allocations: 38.45 MB / 1.471 GB, free: 51.34 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat does not exist to compare? outputFormat=mat