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.Machines.TestWaterPumpRecirculation.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.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.988/1.988, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006231/0.0006233, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3754, allocations: 48.7 MB / 331.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7195/1.095, allocations: 309.6 MB / 0.626 GB, free: 6.102 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/1.095, allocations: 93.25 kB / 0.6261 GB, free: 6.047 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8416/1.937, allocations: 163.6 MB / 0.7858 GB, free: 30.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.937, allocations: 0 / 0.7858 GB, free: 30.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.931e-05/1.937, allocations: 16 kB / 0.7858 GB, free: 30.59 MB / 442.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.003928/1.941, allocations: 1.146 MB / 0.787 GB, free: 29.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.941, allocations: 16.03 kB / 0.787 GB, free: 29.38 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002695/1.941, allocations: 94.52 kB / 0.7871 GB, free: 29.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004889/1.942, allocations: 98.95 kB / 0.7872 GB, free: 29.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/1.944, allocations: 0.6284 MB / 0.7878 GB, free: 28.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/1.944, allocations: 37.31 kB / 0.7878 GB, free: 28.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/1.944, allocations: 48 kB / 0.7879 GB, free: 28.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/1.946, allocations: 0.8368 MB / 0.7887 GB, free: 27.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/1.946, allocations: 4 kB / 0.7887 GB, free: 27.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/1.946, allocations: 28 kB / 0.7887 GB, free: 27.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/1.946, allocations: 24.98 kB / 0.7887 GB, free: 27.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/1.948, allocations: 0.7923 MB / 0.7895 GB, free: 26.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006302/1.955, allocations: 3.289 MB / 0.7927 GB, free: 23.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/1.957, allocations: 476.1 kB / 0.7932 GB, free: 22.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004107/1.957, allocations: 0.5742 MB / 0.7937 GB, free: 22.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/1.957, allocations: 44.44 kB / 0.7938 GB, free: 21.99 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001152/1.958, allocations: 123.5 kB / 0.7939 GB, free: 21.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.597e-06/1.958, allocations: 0 / 0.7939 GB, free: 21.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.0754/2.034, allocations: 7.441 MB / 0.8012 GB, free: 14.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/2.034, allocations: 111.5 kB / 0.8013 GB, free: 14.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008485/2.035, allocations: 0.4915 MB / 0.8017 GB, free: 13.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002236/2.035, allocations: 33.7 kB / 0.8018 GB, free: 13.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/2.035, allocations: 410 kB / 0.8022 GB, free: 13.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/2.035, allocations: 248.4 kB / 0.8024 GB, free: 12.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/2.035, allocations: 16 kB / 0.8024 GB, free: 12.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.497e-05/2.036, allocations: 346.8 kB / 0.8027 GB, free: 12.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/2.038, allocations: 481.6 kB / 0.8032 GB, free: 12.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/2.04, allocations: 0.7276 MB / 0.8039 GB, free: 11.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/2.043, allocations: 0.5379 MB / 0.8044 GB, free: 10.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/2.043, allocations: 7.953 kB / 0.8044 GB, free: 10.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006063/2.049, allocations: 1.47 MB / 0.8059 GB, free: 9.238 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000726/2.049, allocations: 2.957 MB / 0.8088 GB, free: 6.055 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/2.049, allocations: 11.98 kB / 0.8088 GB, free: 6.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01252/2.062, allocations: 1.222 MB / 0.81 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/2.064, allocations: 259.5 kB / 0.8102 GB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/2.068, allocations: 1.62 MB / 0.8118 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/2.07, allocations: 115.9 kB / 0.8119 GB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/2.07, allocations: 63.94 kB / 0.812 GB, free: 2.715 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/2.07, allocations: 7.938 kB / 0.812 GB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00617/2.076, allocations: 1.41 MB / 0.8134 GB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/2.076, allocations: 8 kB / 0.8134 GB, free: 1.281 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002675/2.079, allocations: 390.1 kB / 0.8137 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/2.081, allocations: 267.6 kB / 0.814 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3014/2.383, allocations: 2.656 MB / 0.8166 GB, free: 91.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/2.384, allocations: 120 kB / 0.8167 GB, free: 91.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/2.385, allocations: 66.28 kB / 0.8168 GB, free: 91.27 MB / 442.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.0007259/2.385, allocations: 297.5 kB / 0.8171 GB, free: 91.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/2.386, allocations: 79.28 kB / 0.8171 GB, free: 91.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008169/2.394, allocations: 1.837 MB / 0.8189 GB, free: 91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/2.394, allocations: 11.42 kB / 0.8189 GB, free: 91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/2.394, allocations: 0 / 0.8189 GB, free: 91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/2.394, allocations: 7.547 kB / 0.8189 GB, free: 91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/2.405, allocations: 2.754 MB / 0.8216 GB, free: 90.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/2.405, allocations: 0 / 0.8216 GB, free: 90.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/2.407, allocations: 184.4 kB / 0.8218 GB, free: 90.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01074/2.418, allocations: 1.195 MB / 0.823 GB, free: 90.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/2.418, allocations: 32.55 kB / 0.823 GB, free: 90.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/2.42, allocations: 1.559 MB / 0.8245 GB, free: 89.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/2.42, allocations: 6.109 kB / 0.8245 GB, free: 89.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0095/2.43, allocations: 2.207 MB / 0.8267 GB, free: 89.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006927/2.431, allocations: 252.2 kB / 0.8269 GB, free: 89.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/2.431, allocations: 20.7 kB / 0.8269 GB, free: 89.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/2.432, allocations: 112.9 kB / 0.8271 GB, free: 89.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/2.433, allocations: 62.19 kB / 0.8271 GB, free: 89.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/2.433, allocations: 47.23 kB / 0.8272 GB, free: 89.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007166/2.433, allocations: 380.8 kB / 0.8275 GB, free: 89.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-07/2.433, allocations: 5.531 kB / 0.8275 GB, free: 89.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003222/2.437, allocations: 0.6741 MB / 0.8282 GB, free: 89.14 MB / 442.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.0125/2.449, allocations: 3.227 MB / 0.8313 GB, free: 88.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01077/2.46, allocations: 2.116 MB / 0.8334 GB, free: 88.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/2.46, allocations: 0 / 0.8334 GB, free: 88.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003053/2.463, allocations: 0.6704 MB / 0.8341 GB, free: 88.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/2.466, allocations: 301.7 kB / 0.8343 GB, free: 88.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008188/2.474, allocations: 7.821 MB / 0.842 GB, free: 81.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/2.475, allocations: 0.9984 MB / 0.843 GB, free: 81.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009625/2.476, allocations: 328.8 kB / 0.8433 GB, free: 81.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/2.476, allocations: 2.156 kB / 0.8433 GB, free: 81.19 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.347/5.823, allocations: 26.41 MB / 0.8691 GB, free: 80.01 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat