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.Machines.TestWaterPumpRecirculation.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.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004466, allocations: 19.98 kB / 314.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3589, allocations: 54.87 MB / 369.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.488, allocations: 315.9 MB / 0.6692 GB, free: 130.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/1.488, allocations: 88.48 kB / 0.6693 GB, free: 130.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5168/2.005, allocations: 163.7 MB / 0.8292 GB, free: 8.852 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.174e-06/2.005, allocations: 0 / 0.8292 GB, free: 8.852 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.204e-05/2.005, allocations: 28.11 kB / 0.8292 GB, free: 8.824 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003824/2.009, allocations: 1.142 MB / 0.8303 GB, free: 7.629 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/2.009, allocations: 8.031 kB / 0.8303 GB, free: 7.621 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/2.01, allocations: 94.52 kB / 0.8304 GB, free: 7.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/2.01, allocations: 107 kB / 0.8305 GB, free: 7.414 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/2.012, allocations: 0.6244 MB / 0.8311 GB, free: 6.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/2.012, allocations: 41.27 kB / 0.8312 GB, free: 6.711 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/2.012, allocations: 55.98 kB / 0.8312 GB, free: 6.656 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/2.014, allocations: 0.8329 MB / 0.832 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/2.014, allocations: 3.938 kB / 0.832 GB, free: 5.766 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/2.014, allocations: 27.98 kB / 0.8321 GB, free: 5.738 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/2.014, allocations: 21 kB / 0.8321 GB, free: 5.719 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/2.017, allocations: 0.7922 MB / 0.8329 GB, free: 4.922 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006235/2.023, allocations: 3.296 MB / 0.8361 GB, free: 1.449 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/2.025, allocations: 484.9 kB / 0.8365 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004013/2.025, allocations: 0.5665 MB / 0.8371 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/2.025, allocations: 36.44 kB / 0.8371 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001139/2.026, allocations: 127.4 kB / 0.8372 GB, free: 108 kB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.186e-06/2.026, allocations: 0 / 0.8372 GB, free: 108 kB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.4109/2.437, allocations: 7.438 MB / 0.8445 GB, free: 108.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/2.437, allocations: 110.5 kB / 0.8446 GB, free: 108.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008723/2.438, allocations: 0.4953 MB / 0.8451 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002439/2.438, allocations: 39.48 kB / 0.8451 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/2.439, allocations: 397.6 kB / 0.8455 GB, free: 108.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/2.439, allocations: 250 kB / 0.8457 GB, free: 108.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/2.439, allocations: 21.97 kB / 0.8458 GB, free: 108.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/2.439, allocations: 348.4 kB / 0.8461 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/2.441, allocations: 481.5 kB / 0.8466 GB, free: 107.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002367/2.444, allocations: 0.7238 MB / 0.8473 GB, free: 107.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/2.446, allocations: 0.543 MB / 0.8478 GB, free: 107.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/2.446, allocations: 3.562 kB / 0.8478 GB, free: 107.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006089/2.452, allocations: 1.468 MB / 0.8492 GB, free: 107.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006476/2.453, allocations: 2.968 MB / 0.8521 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/2.453, allocations: 6.406 kB / 0.8521 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01393/2.467, allocations: 1.216 MB / 0.8533 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/2.47, allocations: 253.2 kB / 0.8536 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004659/2.474, allocations: 1.622 MB / 0.8552 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/2.478, allocations: 124.2 kB / 0.8553 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003386/2.478, allocations: 63.47 kB / 0.8553 GB, free: 103.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/2.478, allocations: 7 kB / 0.8553 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008783/2.487, allocations: 1.407 MB / 0.8567 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/2.487, allocations: 14.02 kB / 0.8567 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003586/2.49, allocations: 381.8 kB / 0.8571 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/2.493, allocations: 267.5 kB / 0.8573 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/2.5, allocations: 2.665 MB / 0.8599 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/2.502, allocations: 127.3 kB / 0.8601 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/2.503, allocations: 62.19 kB / 0.8601 GB, free: 101.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (79): * Single equations (assignments): 77 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0008828/2.504, allocations: 297.7 kB / 0.8604 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004121/2.504, allocations: 75.91 kB / 0.8605 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/2.515, allocations: 1.827 MB / 0.8623 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.864e-05/2.515, allocations: 7.75 kB / 0.8623 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/2.515, allocations: 7.469 kB / 0.8623 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/2.515, allocations: 10.41 kB / 0.8623 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/2.529, allocations: 2.762 MB / 0.865 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/2.529, allocations: 3.469 kB / 0.865 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/2.531, allocations: 180.6 kB / 0.8652 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01339/2.544, allocations: 1.186 MB / 0.8663 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/2.545, allocations: 31.12 kB / 0.8664 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/2.547, allocations: 1.562 MB / 0.8679 GB, free: 99.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.547, allocations: 3.719 kB / 0.8679 GB, free: 99.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009233/2.556, allocations: 2.206 MB / 0.87 GB, free: 99.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007283/2.557, allocations: 253.1 kB / 0.8703 GB, free: 99.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/2.557, allocations: 17.81 kB / 0.8703 GB, free: 99.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/2.559, allocations: 122.5 kB / 0.8704 GB, free: 99.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/2.559, allocations: 65.47 kB / 0.8705 GB, free: 99.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/2.559, allocations: 38.69 kB / 0.8705 GB, free: 99.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006862/2.56, allocations: 386.3 kB / 0.8709 GB, free: 99.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/2.56, allocations: 0 / 0.8709 GB, free: 99.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003724/2.564, allocations: 0.6693 MB / 0.8715 GB, free: 99.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * 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 (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.01143/2.575, allocations: 3.243 MB / 0.8747 GB, free: 98.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009765/2.585, allocations: 2.107 MB / 0.8768 GB, free: 98.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/2.585, allocations: 0 / 0.8768 GB, free: 98.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002745/2.588, allocations: 0.6671 MB / 0.8774 GB, free: 98.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/2.591, allocations: 304 kB / 0.8777 GB, free: 98.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007823/2.598, allocations: 7.834 MB / 0.8854 GB, free: 91.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/2.599, allocations: 0.9909 MB / 0.8863 GB, free: 91.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009563/2.6, allocations: 335.3 kB / 0.8866 GB, free: 91.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/2.6, allocations: 0 / 0.8866 GB, free: 91.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.633/6.232, allocations: 26.41 MB / 0.9124 GB, free: 89.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat