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: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004322, allocations: 12 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3418, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.793/2.135, allocations: 0.632 GB / 0.9927 GB, free: 27.39 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/2.135, allocations: 91.31 kB / 0.9928 GB, free: 27.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.091/4.226, allocations: 417.2 MB / 1.4 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.045e-06/4.226, allocations: 0 / 1.4 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000164/4.226, allocations: 36.11 kB / 1.4 GB, free: 0.8906 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.3687/4.595, allocations: 2.034 MB / 1.402 GB, free: 51.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/4.595, allocations: 9.219 kB / 1.402 GB, free: 51.46 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008131/4.596, allocations: 128.5 kB / 1.402 GB, free: 51.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/4.598, allocations: 211.8 kB / 1.403 GB, free: 51.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/4.602, allocations: 0.8933 MB / 1.403 GB, free: 51.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/4.602, allocations: 57.97 kB / 1.404 GB, free: 51.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/4.603, allocations: 77.64 kB / 1.404 GB, free: 51.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/4.606, allocations: 1.239 MB / 1.405 GB, free: 50.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/4.606, allocations: 8.156 kB / 1.405 GB, free: 50.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/4.607, allocations: 36.17 kB / 1.405 GB, free: 50.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/4.607, allocations: 81.91 kB / 1.405 GB, free: 50.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/4.611, allocations: 1.231 MB / 1.406 GB, free: 50.89 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.012/4.623, allocations: 4.803 MB / 1.411 GB, free: 48.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/4.625, allocations: 0.7248 MB / 1.412 GB, free: 48.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004454/4.625, allocations: 325 kB / 1.412 GB, free: 48.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/4.625, allocations: 44.28 kB / 1.412 GB, free: 48.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=68): time 3.417e-06/4.625, allocations: 0 / 1.412 GB, free: 48.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=73): time 0.0133/4.639, allocations: 2.778 MB / 1.415 GB, free: 47.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/4.639, allocations: 218.1 kB / 1.415 GB, free: 47.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/4.64, allocations: 0.7681 MB / 1.416 GB, free: 47.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002655/4.641, allocations: 42.14 kB / 1.416 GB, free: 47.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/4.641, allocations: 0.4994 MB / 1.416 GB, free: 47.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003592/4.642, allocations: 258.6 kB / 1.416 GB, free: 46.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/4.642, allocations: 18.66 kB / 1.416 GB, free: 46.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/4.642, allocations: 354.2 kB / 1.417 GB, free: 46.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/4.643, allocations: 413.3 kB / 1.417 GB, free: 46.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/4.645, allocations: 0.6878 MB / 1.418 GB, free: 46.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/4.646, allocations: 0.5041 MB / 1.418 GB, free: 46.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/4.646, allocations: 3.281 kB / 1.418 GB, free: 46.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003966/4.65, allocations: 1.39 MB / 1.42 GB, free: 46.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006145/4.651, allocations: 2.877 MB / 1.422 GB, free: 43.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/4.651, allocations: 9.719 kB / 1.422 GB, free: 43.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005831/4.656, allocations: 0.7209 MB / 1.423 GB, free: 43.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/4.658, allocations: 192.3 kB / 1.423 GB, free: 43.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/4.66, allocations: 1.281 MB / 1.425 GB, free: 42.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/4.662, allocations: 79.03 kB / 1.425 GB, free: 42.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/4.663, allocations: 90.77 kB / 1.425 GB, free: 42.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/4.663, allocations: 4.5 kB / 1.425 GB, free: 42.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003511/4.666, allocations: 1.211 MB / 1.426 GB, free: 42.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/4.666, allocations: 11.25 kB / 1.426 GB, free: 42.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/4.669, allocations: 342.9 kB / 1.426 GB, free: 42.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/4.67, allocations: 214.1 kB / 1.426 GB, free: 42.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/4.672, allocations: 0.9514 MB / 1.427 GB, free: 42.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/4.673, allocations: 75.27 kB / 1.427 GB, free: 42.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/4.673, allocations: 95.69 kB / 1.428 GB, free: 42.12 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 () * Number of clocked 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.0009132/4.674, allocations: 376.1 kB / 1.428 GB, free: 41.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/4.675, allocations: 100.2 kB / 1.428 GB, free: 41.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/4.679, allocations: 1.351 MB / 1.429 GB, free: 41.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/4.679, allocations: 9.484 kB / 1.429 GB, free: 41.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/4.679, allocations: 1.938 kB / 1.429 GB, free: 41.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/4.679, allocations: 3.703 kB / 1.429 GB, free: 41.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005619/4.685, allocations: 2.087 MB / 1.431 GB, free: 41.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/4.685, allocations: 0 / 1.431 GB, free: 41.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/4.687, allocations: 183.5 kB / 1.432 GB, free: 41.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002095/4.688, allocations: 24.72 kB / 1.432 GB, free: 41.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002576/4.688, allocations: 37.45 kB / 1.432 GB, free: 41.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/4.689, allocations: 1.284 MB / 1.433 GB, free: 40.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/4.689, allocations: 3.281 kB / 1.433 GB, free: 40.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006589/4.696, allocations: 1.643 MB / 1.434 GB, free: 39.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007073/4.697, allocations: 179.5 kB / 1.435 GB, free: 39.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004125/4.697, allocations: 21.17 kB / 1.435 GB, free: 39.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/4.699, allocations: 54.09 kB / 1.435 GB, free: 39.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/4.699, allocations: 70.95 kB / 1.435 GB, free: 39.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/4.699, allocations: 69.09 kB / 1.435 GB, free: 39.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001576/4.701, allocations: 0.5981 MB / 1.435 GB, free: 39.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.12e-07/4.701, allocations: 2.906 kB / 1.435 GB, free: 39.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008072/4.709, allocations: 1.271 MB / 1.437 GB, free: 39.52 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 () * Number of clocked 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.01627/4.725, allocations: 4.454 MB / 1.441 GB, free: 38.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007559/4.733, allocations: 1.61 MB / 1.443 GB, free: 38.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/4.733, allocations: 3.531 kB / 1.443 GB, free: 38.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001947/4.735, allocations: 0.5575 MB / 1.443 GB, free: 37.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006605/4.742, allocations: 0.5195 MB / 1.444 GB, free: 37.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/4.767, allocations: 10.01 MB / 1.453 GB, free: 31.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/4.769, allocations: 1.101 MB / 1.455 GB, free: 46.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002747/4.771, allocations: 476.1 kB / 1.455 GB, free: 46.93 MB / 0.4948 GB Notification: Performance of SimCode: time 3.386e-06/4.772, allocations: 0 / 1.455 GB, free: 46.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.652/8.424, allocations: 38.58 MB / 1.493 GB, free: 44.75 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