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.506/2.506, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.38e-05/4.39e-05, allocations: 4 kB / 309.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5287, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.91/2.439, allocations: 0.628 GB / 0.9841 GB, free: 101.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/2.44, allocations: 88.31 kB / 0.9842 GB, free: 101.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.293/4.732, allocations: 353 MB / 1.329 GB, free: 72.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/4.732, allocations: 3.094 kB / 1.329 GB, free: 72.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001095/4.732, allocations: 24.81 kB / 1.329 GB, free: 72.39 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.006187/4.739, allocations: 1.567 MB / 1.33 GB, free: 71.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/4.739, allocations: 10.62 kB / 1.33 GB, free: 71.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003592/4.739, allocations: 115.2 kB / 1.331 GB, free: 71.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/4.741, allocations: 202.2 kB / 1.331 GB, free: 71.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/4.743, allocations: 0.8302 MB / 1.332 GB, free: 71.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/4.744, allocations: 51.42 kB / 1.332 GB, free: 71.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/4.744, allocations: 63.3 kB / 1.332 GB, free: 71.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/4.746, allocations: 1.125 MB / 1.333 GB, free: 71.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/4.746, allocations: 1.125 kB / 1.333 GB, free: 71.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/4.747, allocations: 31.81 kB / 1.333 GB, free: 71.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/4.747, allocations: 82.94 kB / 1.333 GB, free: 71.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002632/4.749, allocations: 1.114 MB / 1.334 GB, free: 71.15 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.0106/4.76, allocations: 4.307 MB / 1.338 GB, free: 69.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/4.762, allocations: 0.7425 MB / 1.339 GB, free: 69.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008216/4.763, allocations: 351 kB / 1.339 GB, free: 69.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/4.763, allocations: 319.3 kB / 1.34 GB, free: 69.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/4.764, allocations: 38.44 kB / 1.34 GB, free: 68.99 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001567/4.765, allocations: 120.8 kB / 1.34 GB, free: 68.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 9.779e-06/4.765, allocations: 0.75 kB / 1.34 GB, free: 68.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.0058/4.771, allocations: 1.07 MB / 1.341 GB, free: 68.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/4.771, allocations: 217.3 kB / 1.341 GB, free: 68.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/4.773, allocations: 0.7088 MB / 1.342 GB, free: 68.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002145/4.773, allocations: 34.08 kB / 1.342 GB, free: 68.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/4.773, allocations: 474.3 kB / 1.342 GB, free: 68.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/4.773, allocations: 224.2 kB / 1.342 GB, free: 68.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/4.774, allocations: 17.69 kB / 1.342 GB, free: 68.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/4.774, allocations: 348.3 kB / 1.343 GB, free: 67.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009209/4.775, allocations: 357.9 kB / 1.343 GB, free: 67.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/4.776, allocations: 0.6 MB / 1.344 GB, free: 67.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/4.777, allocations: 455.2 kB / 1.344 GB, free: 67.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/4.777, allocations: 3.969 kB / 1.344 GB, free: 67.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003148/4.78, allocations: 1.205 MB / 1.345 GB, free: 67.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006069/4.781, allocations: 2.448 MB / 1.348 GB, free: 64.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/4.781, allocations: 3.844 kB / 1.348 GB, free: 64.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008339/4.789, allocations: 0.8215 MB / 1.348 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/4.79, allocations: 176.5 kB / 1.349 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/4.793, allocations: 1.177 MB / 1.35 GB, free: 64.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/4.794, allocations: 68.91 kB / 1.35 GB, free: 64.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/4.794, allocations: 70 kB / 1.35 GB, free: 64.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/4.794, allocations: 5.156 kB / 1.35 GB, free: 64.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003415/4.798, allocations: 1.064 MB / 1.351 GB, free: 64.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/4.798, allocations: 7.75 kB / 1.351 GB, free: 64.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/4.799, allocations: 144.9 kB / 1.351 GB, free: 64.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/4.801, allocations: 212 kB / 1.351 GB, free: 64.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003946/4.805, allocations: 2.107 MB / 1.353 GB, free: 63.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/4.806, allocations: 65.08 kB / 1.353 GB, free: 63.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/4.806, allocations: 71.25 kB / 1.353 GB, free: 63.05 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 () * 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.0003912/4.807, allocations: 156.5 kB / 1.354 GB, free: 62.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/4.807, allocations: 97.53 kB / 1.354 GB, free: 62.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/4.811, allocations: 1.28 MB / 1.355 GB, free: 62.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/4.811, allocations: 9.516 kB / 1.355 GB, free: 62.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/4.811, allocations: 3.938 kB / 1.355 GB, free: 62.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/4.811, allocations: 8.344 kB / 1.355 GB, free: 62.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004584/4.816, allocations: 1.9 MB / 1.357 GB, free: 62.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/4.816, allocations: 3.688 kB / 1.357 GB, free: 62.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006804/4.817, allocations: 83.09 kB / 1.357 GB, free: 62.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005586/4.822, allocations: 0.673 MB / 1.358 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/4.823, allocations: 28.61 kB / 1.358 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/4.825, allocations: 1.158 MB / 1.359 GB, free: 61.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/4.825, allocations: 6.781 kB / 1.359 GB, free: 61.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/4.827, allocations: 1.143 MB / 1.36 GB, free: 61.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004745/4.828, allocations: 175.5 kB / 1.36 GB, free: 61.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/4.828, allocations: 12.69 kB / 1.36 GB, free: 61.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/4.829, allocations: 52.5 kB / 1.36 GB, free: 61.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/4.83, allocations: 50.81 kB / 1.36 GB, free: 61.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/4.83, allocations: 43.72 kB / 1.36 GB, free: 61.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001093/4.831, allocations: 0.5573 MB / 1.361 GB, free: 61.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/4.831, allocations: 0 / 1.361 GB, free: 61.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005201/4.836, allocations: 1.218 MB / 1.362 GB, free: 61.02 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 () * 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.008483/4.845, allocations: 3.816 MB / 1.366 GB, free: 59.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004517/4.849, allocations: 1.497 MB / 1.367 GB, free: 59.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/4.849, allocations: 2.062 kB / 1.367 GB, free: 59.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/4.85, allocations: 397.4 kB / 1.367 GB, free: 59.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/4.855, allocations: 495.4 kB / 1.368 GB, free: 59.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/4.87, allocations: 3.484 MB / 1.371 GB, free: 58.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/4.871, allocations: 1.067 MB / 1.372 GB, free: 57.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/4.873, allocations: 376 kB / 1.373 GB, free: 57.88 MB / 490.7 MB Notification: Performance of SimCode: time 2.454e-06/4.873, allocations: 4.812 kB / 1.373 GB, free: 57.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.514/8.387, allocations: 34.33 MB / 1.406 GB, free: 51.37 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