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/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.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.482/2.482, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.302e-05/4.314e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4064, allocations: 54.85 MB / 364.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.972/2.379, allocations: 0.6319 GB / 0.988 GB, free: 97.29 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/2.379, allocations: 87.45 kB / 0.9881 GB, free: 97.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.308/4.688, allocations: 416.2 MB / 1.395 GB, free: 62.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/4.688, allocations: 0.9688 kB / 1.395 GB, free: 62.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001253/4.688, allocations: 27.14 kB / 1.395 GB, free: 62.96 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.007901/4.696, allocations: 1.902 MB / 1.396 GB, free: 61.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/4.696, allocations: 7.656 kB / 1.396 GB, free: 61.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004922/4.696, allocations: 124.5 kB / 1.397 GB, free: 61.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/4.698, allocations: 211.8 kB / 1.397 GB, free: 61.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003683/4.702, allocations: 0.8867 MB / 1.398 GB, free: 60.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/4.702, allocations: 58.61 kB / 1.398 GB, free: 60.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/4.703, allocations: 72.91 kB / 1.398 GB, free: 60.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/4.706, allocations: 1.209 MB / 1.399 GB, free: 59.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/4.706, allocations: 3.156 kB / 1.399 GB, free: 59.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/4.706, allocations: 39.52 kB / 1.399 GB, free: 59.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/4.706, allocations: 78.2 kB / 1.399 GB, free: 59.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/4.709, allocations: 1.171 MB / 1.4 GB, free: 59.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.01244/4.722, allocations: 4.817 MB / 1.405 GB, free: 55.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/4.724, allocations: 0.6825 MB / 1.406 GB, free: 55.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008732/4.725, allocations: 369 kB / 1.406 GB, free: 54.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004734/4.725, allocations: 321.5 kB / 1.406 GB, free: 54.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/4.725, allocations: 46.12 kB / 1.406 GB, free: 54.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=68): time 3.617e-06/4.725, allocations: 0 / 1.406 GB, free: 54.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=73): time 0.01163/4.737, allocations: 2.391 MB / 1.409 GB, free: 52.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/4.737, allocations: 214.4 kB / 1.409 GB, free: 52.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/4.739, allocations: 0.7619 MB / 1.41 GB, free: 51.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002767/4.739, allocations: 37.7 kB / 1.41 GB, free: 51.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/4.739, allocations: 0.4963 MB / 1.41 GB, free: 51.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/4.74, allocations: 269.4 kB / 1.41 GB, free: 51.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/4.74, allocations: 20 kB / 1.41 GB, free: 51.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/4.74, allocations: 354.5 kB / 1.411 GB, free: 50.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/4.741, allocations: 381.9 kB / 1.411 GB, free: 50.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/4.742, allocations: 0.6519 MB / 1.412 GB, free: 49.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/4.743, allocations: 0.4943 MB / 1.412 GB, free: 49.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/4.743, allocations: 4 kB / 1.412 GB, free: 49.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003512/4.747, allocations: 1.326 MB / 1.413 GB, free: 47.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006876/4.748, allocations: 2.877 MB / 1.416 GB, free: 44.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/4.748, allocations: 8 kB / 1.416 GB, free: 44.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005721/4.754, allocations: 0.6882 MB / 1.417 GB, free: 44.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/4.755, allocations: 187.7 kB / 1.417 GB, free: 43.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/4.758, allocations: 1.282 MB / 1.418 GB, free: 42.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/4.76, allocations: 71.03 kB / 1.418 GB, free: 42.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/4.76, allocations: 91.98 kB / 1.419 GB, free: 42.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/4.76, allocations: 4 kB / 1.419 GB, free: 42.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003142/4.763, allocations: 1.149 MB / 1.42 GB, free: 41.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/4.763, allocations: 8 kB / 1.42 GB, free: 41.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/4.766, allocations: 340.1 kB / 1.42 GB, free: 40.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/4.767, allocations: 221.5 kB / 1.42 GB, free: 40.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/4.769, allocations: 0.9458 MB / 1.421 GB, free: 39.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/4.77, allocations: 78.16 kB / 1.421 GB, free: 39.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/4.771, allocations: 91.98 kB / 1.421 GB, free: 39.52 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.0004179/4.771, allocations: 160.7 kB / 1.421 GB, free: 39.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/4.771, allocations: 99.62 kB / 1.422 GB, free: 39.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/4.776, allocations: 1.309 MB / 1.423 GB, free: 37.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/4.776, allocations: 8 kB / 1.423 GB, free: 37.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/4.776, allocations: 0 / 1.423 GB, free: 37.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/4.776, allocations: 3.984 kB / 1.423 GB, free: 37.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004737/4.781, allocations: 2.033 MB / 1.425 GB, free: 35.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/4.781, allocations: 3.938 kB / 1.425 GB, free: 35.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/4.782, allocations: 179.8 kB / 1.425 GB, free: 35.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/4.782, allocations: 27.06 kB / 1.425 GB, free: 35.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/4.782, allocations: 31.98 kB / 1.425 GB, free: 35.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/4.783, allocations: 1.29 MB / 1.426 GB, free: 34.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/4.783, allocations: 0 / 1.426 GB, free: 34.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/4.787, allocations: 1.566 MB / 1.428 GB, free: 32.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/4.788, allocations: 195.7 kB / 1.428 GB, free: 32.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/4.788, allocations: 14.25 kB / 1.428 GB, free: 32.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/4.789, allocations: 55.64 kB / 1.428 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/4.79, allocations: 64.48 kB / 1.428 GB, free: 32.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/4.79, allocations: 63.97 kB / 1.428 GB, free: 32.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001109/4.791, allocations: 0.5859 MB / 1.429 GB, free: 31.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.11e-07/4.791, allocations: 0 / 1.429 GB, free: 31.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004847/4.796, allocations: 1.272 MB / 1.43 GB, free: 30.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (74): * Single equations (assignments): 73 * 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.009164/4.805, allocations: 4.4 MB / 1.434 GB, free: 26.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004298/4.809, allocations: 1.535 MB / 1.436 GB, free: 24.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/4.809, allocations: 0 / 1.436 GB, free: 24.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/4.811, allocations: 0.5303 MB / 1.436 GB, free: 24.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004079/4.815, allocations: 0.5146 MB / 1.437 GB, free: 23.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/4.829, allocations: 3.832 MB / 1.441 GB, free: 19.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/4.83, allocations: 1.098 MB / 1.442 GB, free: 18.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/4.831, allocations: 479.2 kB / 1.442 GB, free: 18.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/4.831, allocations: 0 / 1.442 GB, free: 18.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.433/9.264, allocations: 38.84 MB / 1.48 GB, free: 73.74 MB / 0.4948 GB 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