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.Pipes.IdealMixing1.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.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.227e-05, allocations: 4 kB / 309.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.513, allocations: 54.85 MB / 364.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.416/2.929, allocations: 0.787 GB / 1.143 GB, free: 122.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/2.929, allocations: 78.53 kB / 1.143 GB, free: 122.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242/9.171, allocations: 1.142 GB / 2.285 GB, free: 59.85 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.974e-06/9.171, allocations: 0 / 2.285 GB, free: 59.85 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001763/9.171, allocations: 41.28 kB / 2.285 GB, free: 59.84 MB / 0.5105 GB 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.02148/9.193, allocations: 2.35 MB / 2.287 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/9.193, allocations: 11.62 kB / 2.287 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009143/9.194, allocations: 193.1 kB / 2.287 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008553/9.202, allocations: 439 kB / 2.288 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005074/9.207, allocations: 1.264 MB / 2.289 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/9.208, allocations: 90.28 kB / 2.289 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007313/9.208, allocations: 118.5 kB / 2.289 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008082/9.216, allocations: 2.862 MB / 2.292 GB, free: 58.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.874e-05/9.217, allocations: 6.422 kB / 2.292 GB, free: 58.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004755/9.217, allocations: 50.06 kB / 2.292 GB, free: 58.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002608/9.217, allocations: 142.5 kB / 2.292 GB, free: 58.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/9.227, allocations: 3.572 MB / 2.296 GB, free: 58.2 MB / 0.5105 GB 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.02168/9.249, allocations: 7.363 MB / 2.303 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/9.252, allocations: 0.8208 MB / 2.304 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/9.253, allocations: 432.1 kB / 2.304 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/9.254, allocations: 0.8044 MB / 2.305 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/9.255, allocations: 38.44 kB / 2.305 GB, free: 55 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001952/9.257, allocations: 234.5 kB / 2.305 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=56): time 4.008e-06/9.257, allocations: 0 / 2.305 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56): time 0.0032/9.26, allocations: 1.162 MB / 2.306 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/9.26, allocations: 139.6 kB / 2.306 GB, free: 54.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/9.262, allocations: 0.9233 MB / 2.307 GB, free: 54.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002364/9.262, allocations: 37.55 kB / 2.307 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005224/9.263, allocations: 0.7603 MB / 2.308 GB, free: 54.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/9.263, allocations: 213.4 kB / 2.308 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/9.263, allocations: 19.31 kB / 2.308 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001108/9.263, allocations: 352.7 kB / 2.309 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/9.265, allocations: 0.5235 MB / 2.309 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/9.266, allocations: 0.8597 MB / 2.31 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/9.268, allocations: 0.6643 MB / 2.311 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/9.268, allocations: 7.609 kB / 2.311 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004583/9.272, allocations: 1.725 MB / 2.312 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009549/9.273, allocations: 4.008 MB / 2.316 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/9.273, allocations: 14.84 kB / 2.316 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00654/9.28, allocations: 0.9119 MB / 2.317 GB, free: 48.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/9.282, allocations: 247 kB / 2.317 GB, free: 48.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003741/9.286, allocations: 1.474 MB / 2.319 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/9.288, allocations: 98.33 kB / 2.319 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/9.288, allocations: 85.78 kB / 2.319 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/9.288, allocations: 3.438 kB / 2.319 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004484/9.293, allocations: 1.52 MB / 2.321 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/9.293, allocations: 9.75 kB / 2.321 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/9.294, allocations: 147.7 kB / 2.321 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/9.296, allocations: 276.5 kB / 2.321 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/9.3, allocations: 2.154 MB / 2.323 GB, free: 47.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/9.302, allocations: 84.42 kB / 2.323 GB, free: 47.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/9.302, allocations: 86.2 kB / 2.323 GB, free: 47.05 MB / 0.5105 GB 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 () * 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.0004616/9.303, allocations: 168.9 kB / 2.323 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/9.303, allocations: 108.5 kB / 2.324 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/9.307, allocations: 1.399 MB / 2.325 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/9.307, allocations: 9.188 kB / 2.325 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/9.307, allocations: 3.953 kB / 2.325 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/9.307, allocations: 3.844 kB / 2.325 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006085/9.313, allocations: 2.414 MB / 2.327 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/9.313, allocations: 0 / 2.327 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/9.314, allocations: 73.48 kB / 2.327 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006556/9.321, allocations: 0.9133 MB / 2.328 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002258/9.321, allocations: 16.92 kB / 2.328 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/9.324, allocations: 1.428 MB / 2.33 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/9.324, allocations: 0 / 2.33 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/9.327, allocations: 1.259 MB / 2.331 GB, free: 45.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006365/9.328, allocations: 196.2 kB / 2.331 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/9.328, allocations: 9.812 kB / 2.331 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/9.33, allocations: 54.91 kB / 2.331 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/9.33, allocations: 40.62 kB / 2.331 GB, free: 45.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/9.33, allocations: 40.92 kB / 2.331 GB, free: 45.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001438/9.331, allocations: 0.6912 MB / 2.332 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.41e-07/9.331, allocations: 0 / 2.332 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008934/9.34, allocations: 1.863 MB / 2.334 GB, free: 44.98 MB / 0.5105 GB 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 () * 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.01359/9.354, allocations: 4.201 MB / 2.338 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006911/9.361, allocations: 2.149 MB / 2.34 GB, free: 43.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/9.361, allocations: 3.938 kB / 2.34 GB, free: 43.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/9.363, allocations: 456.6 kB / 2.34 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/9.367, allocations: 432.6 kB / 2.341 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009163/9.376, allocations: 2.672 MB / 2.343 GB, free: 42.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/9.377, allocations: 1.325 MB / 2.345 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/9.379, allocations: 0.5286 MB / 2.345 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of SimCode: time 2.014e-06/9.379, allocations: 0 / 2.345 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.932/13.31, allocations: 49.66 MB / 2.394 GB, free: 17.45 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat