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.TestJunctionVolume.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.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.986/1.986, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004505, allocations: 11.98 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3443, allocations: 48.71 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.841/2.185, allocations: 0.6253 GB / 0.9489 GB, free: 23.56 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/2.186, allocations: 80.33 kB / 0.9489 GB, free: 23.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.442/4.628, allocations: 417.1 MB / 1.356 GB, free: 44.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.304e-06/4.628, allocations: 0 / 1.356 GB, free: 44.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000131/4.628, allocations: 33.56 kB / 1.356 GB, free: 44.36 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007439/4.636, allocations: 2.04 MB / 1.358 GB, free: 43.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.779e-05/4.636, allocations: 8.844 kB / 1.358 GB, free: 43.6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004107/4.636, allocations: 129.6 kB / 1.358 GB, free: 43.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/4.638, allocations: 218.9 kB / 1.359 GB, free: 43.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/4.641, allocations: 0.8848 MB / 1.36 GB, free: 43.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/4.641, allocations: 59.73 kB / 1.36 GB, free: 43.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/4.641, allocations: 77.09 kB / 1.36 GB, free: 43.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/4.644, allocations: 1.245 MB / 1.361 GB, free: 43.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/4.644, allocations: 3.656 kB / 1.361 GB, free: 43.03 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/4.644, allocations: 33.22 kB / 1.361 GB, free: 43.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/4.644, allocations: 81.31 kB / 1.361 GB, free: 43.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003167/4.648, allocations: 1.229 MB / 1.362 GB, free: 43.02 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.01082/4.659, allocations: 4.808 MB / 1.367 GB, free: 40.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/4.66, allocations: 0.7216 MB / 1.368 GB, free: 40.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/4.661, allocations: 323.1 kB / 1.368 GB, free: 40.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/4.661, allocations: 45.5 kB / 1.368 GB, free: 40.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 4.368e-06/4.661, allocations: 0 / 1.368 GB, free: 40.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=73): time 0.01255/4.673, allocations: 2.788 MB / 1.371 GB, free: 39.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/4.674, allocations: 213.4 kB / 1.371 GB, free: 39.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/4.675, allocations: 0.7684 MB / 1.372 GB, free: 39.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/4.675, allocations: 42.7 kB / 1.372 GB, free: 39.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/4.676, allocations: 0.4908 MB / 1.372 GB, free: 39.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/4.676, allocations: 264.2 kB / 1.372 GB, free: 39.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/4.676, allocations: 17.59 kB / 1.372 GB, free: 39.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/4.676, allocations: 348 kB / 1.373 GB, free: 38.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/4.677, allocations: 417.2 kB / 1.373 GB, free: 38.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/4.679, allocations: 0.6856 MB / 1.374 GB, free: 38.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/4.68, allocations: 0.5071 MB / 1.374 GB, free: 38.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/4.68, allocations: 3.156 kB / 1.374 GB, free: 38.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003872/4.684, allocations: 1.391 MB / 1.376 GB, free: 38.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007279/4.685, allocations: 2.882 MB / 1.378 GB, free: 35.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/4.685, allocations: 9 kB / 1.378 GB, free: 35.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005625/4.691, allocations: 0.7227 MB / 1.379 GB, free: 35.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/4.692, allocations: 192.9 kB / 1.379 GB, free: 35.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/4.694, allocations: 1.279 MB / 1.381 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/4.696, allocations: 78.53 kB / 1.381 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/4.696, allocations: 94.55 kB / 1.381 GB, free: 34.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/4.696, allocations: 3.438 kB / 1.381 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003351/4.7, allocations: 1.213 MB / 1.382 GB, free: 34.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/4.7, allocations: 7.531 kB / 1.382 GB, free: 34.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/4.702, allocations: 338.6 kB / 1.382 GB, free: 34.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/4.703, allocations: 214.4 kB / 1.383 GB, free: 34.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/4.705, allocations: 0.9433 MB / 1.383 GB, free: 34.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/4.706, allocations: 74.34 kB / 1.383 GB, free: 34.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/4.706, allocations: 93.06 kB / 1.384 GB, free: 34.22 MB / 442.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.0008925/4.707, allocations: 370.8 kB / 1.384 GB, free: 34.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/4.708, allocations: 104.9 kB / 1.384 GB, free: 33.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004535/4.712, allocations: 1.361 MB / 1.385 GB, free: 33.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/4.712, allocations: 6.656 kB / 1.385 GB, free: 33.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/4.712, allocations: 0 / 1.385 GB, free: 33.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/4.712, allocations: 5.656 kB / 1.385 GB, free: 33.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004923/4.717, allocations: 2.086 MB / 1.387 GB, free: 33.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/4.717, allocations: 0 / 1.387 GB, free: 33.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/4.718, allocations: 181.6 kB / 1.388 GB, free: 33.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/4.719, allocations: 22.89 kB / 1.388 GB, free: 33.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.291e-05/4.719, allocations: 34.05 kB / 1.388 GB, free: 33.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009544/4.72, allocations: 1.291 MB / 1.389 GB, free: 32.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/4.72, allocations: 7.5 kB / 1.389 GB, free: 32.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/4.724, allocations: 1.635 MB / 1.391 GB, free: 31.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004162/4.724, allocations: 186.6 kB / 1.391 GB, free: 31.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/4.724, allocations: 18.92 kB / 1.391 GB, free: 31.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/4.726, allocations: 57.7 kB / 1.391 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/4.726, allocations: 68.52 kB / 1.391 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/4.726, allocations: 68.58 kB / 1.391 GB, free: 31.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001147/4.727, allocations: 0.5978 MB / 1.391 GB, free: 31.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.41e-07/4.727, allocations: 0 / 1.391 GB, free: 31.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005699/4.733, allocations: 1.263 MB / 1.393 GB, free: 31.45 MB / 442.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.01105/4.744, allocations: 4.468 MB / 1.397 GB, free: 29.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005011/4.749, allocations: 1.616 MB / 1.399 GB, free: 29.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/4.749, allocations: 1.875 kB / 1.399 GB, free: 29.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/4.751, allocations: 0.5499 MB / 1.399 GB, free: 29.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004604/4.755, allocations: 0.5259 MB / 1.4 GB, free: 29.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/4.775, allocations: 10.01 MB / 1.409 GB, free: 39.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008731/4.776, allocations: 1.1 MB / 1.411 GB, free: 38.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001759/4.778, allocations: 482.2 kB / 1.411 GB, free: 38.37 MB / 458.7 MB Notification: Performance of SimCode: time 1.643e-06/4.778, allocations: 0 / 1.411 GB, free: 38.37 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.658/8.436, allocations: 38.57 MB / 1.449 GB, free: 35.34 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat does not exist to compare? outputFormat=mat