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.428/2.428, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004545, allocations: 12 kB / 314.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4628, allocations: 54.86 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.584/3.047, allocations: 0.7871 GB / 1.148 GB, free: 54.95 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/3.047, allocations: 85.64 kB / 1.148 GB, free: 54.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.083/9.13, allocations: 1.141 GB / 2.289 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.757e-06/9.13, allocations: 0 / 2.289 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002089/9.131, allocations: 41.83 kB / 2.289 GB, free: 58.13 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.02276/9.153, allocations: 2.486 MB / 2.291 GB, free: 56.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/9.153, allocations: 7.562 kB / 2.291 GB, free: 56.74 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001626/9.155, allocations: 201.8 kB / 2.292 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008185/9.163, allocations: 439.5 kB / 2.292 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00482/9.168, allocations: 1.277 MB / 2.293 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/9.168, allocations: 87.73 kB / 2.293 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007602/9.169, allocations: 112.2 kB / 2.293 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008371/9.178, allocations: 2.916 MB / 2.296 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/9.178, allocations: 3.938 kB / 2.296 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005092/9.178, allocations: 51.11 kB / 2.296 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002697/9.178, allocations: 149.5 kB / 2.297 GB, free: 54.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/9.189, allocations: 3.659 MB / 2.3 GB, free: 51.45 MB / 0.5105 GB 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.0205/9.209, allocations: 7.358 MB / 2.307 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/9.212, allocations: 0.8393 MB / 2.308 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/9.214, allocations: 0.7955 MB / 2.309 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/9.214, allocations: 46.47 kB / 2.309 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001924/9.216, allocations: 234.9 kB / 2.309 GB, free: 43.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=56): time 3.757e-06/9.216, allocations: 0 / 2.309 GB, free: 43.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56): time 0.01068/9.227, allocations: 2.196 MB / 2.311 GB, free: 41.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/9.227, allocations: 139.8 kB / 2.311 GB, free: 41.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/9.228, allocations: 0.9263 MB / 2.312 GB, free: 40.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002289/9.229, allocations: 41.7 kB / 2.312 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/9.229, allocations: 0.756 MB / 2.313 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/9.23, allocations: 214.5 kB / 2.313 GB, free: 39.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/9.23, allocations: 20 kB / 2.313 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001093/9.23, allocations: 361.5 kB / 2.314 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/9.231, allocations: 0.5452 MB / 2.314 GB, free: 38.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/9.233, allocations: 0.8893 MB / 2.315 GB, free: 37.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/9.235, allocations: 0.694 MB / 2.316 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/9.235, allocations: 0 / 2.316 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004713/9.239, allocations: 1.797 MB / 2.318 GB, free: 34.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009879/9.24, allocations: 4.015 MB / 2.321 GB, free: 30.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/9.241, allocations: 12 kB / 2.321 GB, free: 30.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006502/9.247, allocations: 0.9216 MB / 2.322 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/9.249, allocations: 247.6 kB / 2.323 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/9.252, allocations: 1.477 MB / 2.324 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/9.255, allocations: 99.7 kB / 2.324 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/9.255, allocations: 83.97 kB / 2.324 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/9.255, allocations: 4 kB / 2.324 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004762/9.26, allocations: 1.582 MB / 2.326 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/9.26, allocations: 11.98 kB / 2.326 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/9.261, allocations: 149 kB / 2.326 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/9.263, allocations: 267.6 kB / 2.326 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004159/9.267, allocations: 2.213 MB / 2.328 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/9.269, allocations: 83.8 kB / 2.328 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/9.27, allocations: 87.97 kB / 2.328 GB, free: 23.07 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 () * 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.001545/9.271, allocations: 0.5084 MB / 2.329 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/9.272, allocations: 106.7 kB / 2.329 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/9.278, allocations: 1.459 MB / 2.331 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/9.278, allocations: 11.95 kB / 2.331 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/9.278, allocations: 0 / 2.331 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/9.278, allocations: 3.984 kB / 2.331 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008515/9.287, allocations: 2.467 MB / 2.333 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/9.287, allocations: 0 / 2.333 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008522/9.287, allocations: 75.92 kB / 2.333 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008738/9.296, allocations: 0.9166 MB / 2.334 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002127/9.297, allocations: 16 kB / 2.334 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003899/9.3, allocations: 1.435 MB / 2.335 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/9.3, allocations: 0 / 2.335 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004778/9.305, allocations: 1.304 MB / 2.337 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005762/9.306, allocations: 195.7 kB / 2.337 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/9.306, allocations: 15.98 kB / 2.337 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/9.308, allocations: 51.84 kB / 2.337 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/9.308, allocations: 44.45 kB / 2.337 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/9.308, allocations: 43.98 kB / 2.337 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001915/9.31, allocations: 0.7029 MB / 2.338 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/9.31, allocations: 0 / 2.338 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009061/9.319, allocations: 1.858 MB / 2.339 GB, free: 11.71 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 () * 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.01595/9.335, allocations: 4.258 MB / 2.344 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009312/9.345, allocations: 2.237 MB / 2.346 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/9.345, allocations: 192 / 2.346 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/9.347, allocations: 488.9 kB / 2.346 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/9.351, allocations: 447.4 kB / 2.347 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4231/9.774, allocations: 11.31 MB / 2.358 GB, free: 54.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/9.776, allocations: 1.32 MB / 2.359 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/9.778, allocations: 0.5353 MB / 2.36 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.223e-06/9.778, allocations: 2.734 kB / 2.36 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.984/13.76, allocations: 49.31 MB / 2.408 GB, free: 52.22 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