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.Pipes.IdealMixing1.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.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.832/1.832, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.000435, allocations: 8 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 48.7 MB / 331.4 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.441/2.546, allocations: 0.7729 GB / 1.097 GB, free: 64.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/2.546, allocations: 85.83 kB / 1.097 GB, free: 64.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.114/8.66, allocations: 1.135 GB / 2.231 GB, free: 54.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.825e-06/8.66, allocations: 0 / 2.231 GB, free: 54.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00018/8.66, allocations: 46.33 kB / 2.231 GB, free: 54.6 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.02186/8.682, allocations: 2.495 MB / 2.234 GB, free: 53.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/8.682, allocations: 8.062 kB / 2.234 GB, free: 53.79 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001145/8.683, allocations: 207.1 kB / 2.234 GB, free: 53.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00765/8.691, allocations: 438 kB / 2.234 GB, free: 53.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004733/8.696, allocations: 1.272 MB / 2.236 GB, free: 53.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/8.696, allocations: 88.38 kB / 2.236 GB, free: 53.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007137/8.697, allocations: 108.5 kB / 2.236 GB, free: 53.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008211/8.705, allocations: 2.916 MB / 2.239 GB, free: 53.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/8.705, allocations: 2.531 kB / 2.239 GB, free: 53.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000493/8.705, allocations: 53.08 kB / 2.239 GB, free: 53.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002617/8.706, allocations: 141.5 kB / 2.239 GB, free: 53.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/8.716, allocations: 3.656 MB / 2.242 GB, free: 53.16 MB / 474.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.01999/8.736, allocations: 6.927 MB / 2.249 GB, free: 51.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/8.738, allocations: 0.8488 MB / 2.25 GB, free: 51.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001647/8.74, allocations: 0.69 MB / 2.251 GB, free: 50.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/8.74, allocations: 42.62 kB / 2.251 GB, free: 50.52 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001847/8.742, allocations: 229.2 kB / 2.251 GB, free: 50.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=56): time 3.607e-06/8.742, allocations: 3.562 kB / 2.251 GB, free: 50.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=56): time 0.01084/8.753, allocations: 2.189 MB / 2.253 GB, free: 50.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/8.753, allocations: 133 kB / 2.253 GB, free: 50.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/8.755, allocations: 0.935 MB / 2.254 GB, free: 49.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002791/8.755, allocations: 39.17 kB / 2.254 GB, free: 49.95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005318/8.756, allocations: 0.7587 MB / 2.255 GB, free: 49.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000358/8.756, allocations: 209.6 kB / 2.255 GB, free: 49.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/8.756, allocations: 21.25 kB / 2.255 GB, free: 49.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/8.757, allocations: 355.8 kB / 2.255 GB, free: 49.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/8.758, allocations: 0.5433 MB / 2.256 GB, free: 49.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/8.76, allocations: 0.8906 MB / 2.257 GB, free: 48.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/8.762, allocations: 0.6794 MB / 2.257 GB, free: 48.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/8.762, allocations: 3.688 kB / 2.257 GB, free: 48.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004744/8.767, allocations: 1.779 MB / 2.259 GB, free: 48.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009772/8.768, allocations: 4.016 MB / 2.263 GB, free: 44.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/8.768, allocations: 10.78 kB / 2.263 GB, free: 44.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006666/8.774, allocations: 0.919 MB / 2.264 GB, free: 44.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/8.776, allocations: 241.7 kB / 2.264 GB, free: 44.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/8.78, allocations: 1.473 MB / 2.266 GB, free: 43.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/8.782, allocations: 99.47 kB / 2.266 GB, free: 43.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/8.782, allocations: 72.55 kB / 2.266 GB, free: 43.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/8.782, allocations: 4.25 kB / 2.266 GB, free: 43.95 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004744/8.787, allocations: 1.555 MB / 2.267 GB, free: 43.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/8.787, allocations: 13.44 kB / 2.267 GB, free: 43.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/8.788, allocations: 151.5 kB / 2.268 GB, free: 43.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/8.79, allocations: 264.6 kB / 2.268 GB, free: 43.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/8.794, allocations: 2.207 MB / 2.27 GB, free: 42.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/8.796, allocations: 94.88 kB / 2.27 GB, free: 42.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/8.796, allocations: 74.92 kB / 2.27 GB, free: 42.63 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (124): * Single equations (assignments): 123 * 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 {6 13} Notification: Performance of prepare postOptimizeDAE: time 0.001317/8.798, allocations: 0.51 MB / 2.271 GB, free: 42.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/8.798, allocations: 110.1 kB / 2.271 GB, free: 42.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/8.803, allocations: 1.457 MB / 2.272 GB, free: 42.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/8.803, allocations: 7.156 kB / 2.272 GB, free: 42.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/8.803, allocations: 3.953 kB / 2.272 GB, free: 42.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/8.803, allocations: 3.656 kB / 2.272 GB, free: 42.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006261/8.809, allocations: 2.454 MB / 2.275 GB, free: 41.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/8.809, allocations: 3.953 kB / 2.275 GB, free: 41.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/8.81, allocations: 85.02 kB / 2.275 GB, free: 41.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0064/8.816, allocations: 0.9177 MB / 2.276 GB, free: 41.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/8.817, allocations: 15.5 kB / 2.276 GB, free: 41.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/8.819, allocations: 1.422 MB / 2.277 GB, free: 41.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/8.819, allocations: 0 / 2.277 GB, free: 41.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/8.823, allocations: 1.316 MB / 2.278 GB, free: 41.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008733/8.824, allocations: 302 kB / 2.278 GB, free: 41.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/8.824, allocations: 13.97 kB / 2.278 GB, free: 41.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/8.825, allocations: 47.94 kB / 2.279 GB, free: 41.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/8.826, allocations: 44.88 kB / 2.279 GB, free: 41.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/8.826, allocations: 40.41 kB / 2.279 GB, free: 41.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001385/8.827, allocations: 0.7025 MB / 2.279 GB, free: 40.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.91e-07/8.827, allocations: 0.8125 kB / 2.279 GB, free: 40.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0076/8.835, allocations: 1.851 MB / 2.281 GB, free: 40.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 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 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0139/8.849, allocations: 4.309 MB / 2.285 GB, free: 39.19 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00802/8.857, allocations: 2.217 MB / 2.287 GB, free: 39.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/8.857, allocations: 0 / 2.287 GB, free: 39.04 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002271/8.859, allocations: 496.5 kB / 2.288 GB, free: 39.03 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/8.863, allocations: 433.5 kB / 2.288 GB, free: 39.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/8.877, allocations: 11.4 MB / 2.3 GB, free: 29.87 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/8.879, allocations: 1.32 MB / 2.301 GB, free: 29.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/8.88, allocations: 0.5163 MB / 2.301 GB, free: 29.15 MB / 474.7 MB Notification: Performance of SimCode: time 1.703e-06/8.88, allocations: 0 / 2.301 GB, free: 29.15 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.987/12.87, allocations: 49.43 MB / 2.35 GB, free: 23.86 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat