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/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.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.35/2.35, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.709e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.338, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.831/2.169, allocations: 0.6273 GB / 0.9771 GB, free: 47.96 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/2.169, allocations: 87.11 kB / 0.9772 GB, free: 47.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.182/4.351, allocations: 349.5 MB / 1.318 GB, free: 88.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.154e-06/4.351, allocations: 0 / 1.318 GB, free: 88.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001237/4.351, allocations: 32.5 kB / 1.318 GB, free: 88.28 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.006767/4.358, allocations: 1.56 MB / 1.32 GB, free: 87.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/4.358, allocations: 11.47 kB / 1.32 GB, free: 87.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/4.36, allocations: 202.8 kB / 1.32 GB, free: 87.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/4.363, allocations: 0.835 MB / 1.321 GB, free: 86.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/4.364, allocations: 22.2 kB / 1.321 GB, free: 86.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/4.364, allocations: 37.31 kB / 1.321 GB, free: 86.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002371/4.366, allocations: 0.9771 MB / 1.322 GB, free: 86.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/4.368, allocations: 1.035 MB / 1.323 GB, free: 85.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/4.368, allocations: 0 / 1.323 GB, free: 85.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/4.369, allocations: 0 / 1.323 GB, free: 85.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/4.369, allocations: 77.14 kB / 1.323 GB, free: 85.93 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.01135/4.38, allocations: 4.329 MB / 1.327 GB, free: 82.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/4.382, allocations: 0.6295 MB / 1.328 GB, free: 82.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006635/4.383, allocations: 296.2 kB / 1.328 GB, free: 82.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004432/4.383, allocations: 311.6 kB / 1.329 GB, free: 82.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/4.383, allocations: 38.16 kB / 1.329 GB, free: 81.97 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001228/4.385, allocations: 104.7 kB / 1.329 GB, free: 81.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 5.44e-06/4.385, allocations: 0 / 1.329 GB, free: 81.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.003959/4.389, allocations: 0.935 MB / 1.33 GB, free: 81.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/4.389, allocations: 218.5 kB / 1.33 GB, free: 81.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/4.39, allocations: 0.6552 MB / 1.33 GB, free: 80.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/4.39, allocations: 25.7 kB / 1.33 GB, free: 80.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/4.391, allocations: 0.5028 MB / 1.331 GB, free: 80.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/4.391, allocations: 176.5 kB / 1.331 GB, free: 80.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/4.391, allocations: 6.031 kB / 1.331 GB, free: 80.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/4.391, allocations: 345.6 kB / 1.331 GB, free: 79.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008651/4.392, allocations: 360.1 kB / 1.332 GB, free: 79.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009996/4.393, allocations: 0.597 MB / 1.332 GB, free: 79.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01616/4.409, allocations: 1.865 MB / 1.334 GB, free: 77.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/4.409, allocations: 0 / 1.334 GB, free: 77.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0181/4.428, allocations: 2.587 MB / 1.337 GB, free: 74.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006184/4.428, allocations: 2.442 MB / 1.339 GB, free: 72.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/4.428, allocations: 8 kB / 1.339 GB, free: 72.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006096/4.434, allocations: 0.6207 MB / 1.34 GB, free: 71.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/4.436, allocations: 171.7 kB / 1.34 GB, free: 71.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/4.439, allocations: 1.344 MB / 1.341 GB, free: 69.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/4.441, allocations: 54.83 kB / 1.341 GB, free: 69.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/4.441, allocations: 71.98 kB / 1.341 GB, free: 69.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/4.441, allocations: 10.77 kB / 1.341 GB, free: 69.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01769/4.459, allocations: 2.355 MB / 1.344 GB, free: 67.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/4.459, allocations: 11.95 kB / 1.344 GB, free: 67.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000989/4.46, allocations: 139.4 kB / 1.344 GB, free: 67.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/4.462, allocations: 207.7 kB / 1.344 GB, free: 67.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/4.465, allocations: 2.025 MB / 1.346 GB, free: 65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/4.467, allocations: 51.27 kB / 1.346 GB, free: 64.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/4.467, allocations: 79.91 kB / 1.346 GB, free: 64.88 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.0003452/4.467, allocations: 125.9 kB / 1.346 GB, free: 64.75 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00362/4.471, allocations: 0.9126 MB / 1.347 GB, free: 63.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/4.471, allocations: 82.97 kB / 1.347 GB, free: 63.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/4.475, allocations: 1.043 MB / 1.348 GB, free: 62.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/4.475, allocations: 11.92 kB / 1.348 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/4.475, allocations: 0 / 1.348 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/4.475, allocations: 0 / 1.348 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004863/4.48, allocations: 1.699 MB / 1.35 GB, free: 60.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/4.48, allocations: 0 / 1.35 GB, free: 60.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/4.48, allocations: 54.97 kB / 1.35 GB, free: 60.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/4.484, allocations: 476.2 kB / 1.35 GB, free: 60.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/4.484, allocations: 11.98 kB / 1.35 GB, free: 60.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/4.487, allocations: 1.286 MB / 1.352 GB, free: 59.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/4.487, allocations: 0 / 1.352 GB, free: 59.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/4.49, allocations: 1.016 MB / 1.353 GB, free: 58.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/4.49, allocations: 176 kB / 1.353 GB, free: 57.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/4.491, allocations: 4 kB / 1.353 GB, free: 57.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/4.492, allocations: 40.39 kB / 1.353 GB, free: 57.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/4.492, allocations: 36.39 kB / 1.353 GB, free: 57.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.394e-05/4.492, allocations: 27.98 kB / 1.353 GB, free: 57.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009073/4.493, allocations: 0.5029 MB / 1.353 GB, free: 57.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-07/4.493, allocations: 0 / 1.353 GB, free: 57.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005067/4.498, allocations: 1.17 MB / 1.355 GB, free: 56.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.009144/4.507, allocations: 3.6 MB / 1.358 GB, free: 52.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003643/4.511, allocations: 1.411 MB / 1.359 GB, free: 51.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/4.511, allocations: 4 kB / 1.359 GB, free: 51.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008291/4.512, allocations: 325.4 kB / 1.36 GB, free: 51.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/4.515, allocations: 415.6 kB / 1.36 GB, free: 50.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/4.53, allocations: 3.36 MB / 1.363 GB, free: 47.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/4.53, allocations: 1.074 MB / 1.364 GB, free: 46.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/4.531, allocations: 355.3 kB / 1.365 GB, free: 45.95 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/4.531, allocations: 0 / 1.365 GB, free: 45.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.531/8.063, allocations: 33.96 MB / 1.398 GB, free: 12.18 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