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.439/2.439, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.089e-05/5.111e-05, allocations: 4 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.4851, allocations: 54.84 MB / 364.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8042/1.289, allocations: 315.8 MB / 0.6645 GB, free: 15.89 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003602/1.29, allocations: 87.97 kB / 0.6646 GB, free: 15.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.898/2.188, allocations: 163.1 MB / 0.8238 GB, free: 93.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.555e-06/2.188, allocations: 0 / 0.8238 GB, free: 93.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.454e-05/2.188, allocations: 23.92 kB / 0.8239 GB, free: 93.25 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.003902/2.192, allocations: 1.045 MB / 0.8249 GB, free: 92.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/2.192, allocations: 8.031 kB / 0.8249 GB, free: 92.15 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/2.192, allocations: 90.52 kB / 0.825 GB, free: 92.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005812/2.193, allocations: 98.95 kB / 0.8251 GB, free: 91.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/2.195, allocations: 0.625 MB / 0.8257 GB, free: 91.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/2.195, allocations: 37.31 kB / 0.8257 GB, free: 91.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/2.195, allocations: 63.95 kB / 0.8258 GB, free: 91.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/2.197, allocations: 0.7588 MB / 0.8265 GB, free: 90.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/2.197, allocations: 0 / 0.8265 GB, free: 90.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/2.197, allocations: 27.94 kB / 0.8265 GB, free: 90.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.365e-05/2.197, allocations: 24.98 kB / 0.8266 GB, free: 90.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/2.199, allocations: 0.648 MB / 0.8272 GB, free: 89.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006998/2.206, allocations: 3.298 MB / 0.8304 GB, free: 86.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/2.207, allocations: 385.1 kB / 0.8308 GB, free: 85.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006677/2.208, allocations: 251 kB / 0.831 GB, free: 85.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004412/2.208, allocations: 0.5661 MB / 0.8316 GB, free: 84.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/2.208, allocations: 38.56 kB / 0.8316 GB, free: 84.83 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001221/2.209, allocations: 119.5 kB / 0.8317 GB, free: 84.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 5.09e-06/2.209, allocations: 0 / 0.8317 GB, free: 84.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.06645/2.276, allocations: 6.038 MB / 0.8376 GB, free: 78.53 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/2.276, allocations: 111.6 kB / 0.8377 GB, free: 78.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/2.277, allocations: 487.5 kB / 0.8382 GB, free: 77.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002333/2.277, allocations: 41.7 kB / 0.8382 GB, free: 77.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/2.277, allocations: 410 kB / 0.8386 GB, free: 77.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/2.278, allocations: 244.5 kB / 0.8389 GB, free: 77.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/2.278, allocations: 19.94 kB / 0.8389 GB, free: 77.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.94e-05/2.278, allocations: 342.8 kB / 0.8392 GB, free: 76.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009055/2.279, allocations: 321.9 kB / 0.8395 GB, free: 76.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009982/2.28, allocations: 0.5678 MB / 0.8401 GB, free: 75.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/2.281, allocations: 385.9 kB / 0.8404 GB, free: 75.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/2.281, allocations: 4 kB / 0.8404 GB, free: 75.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003258/2.284, allocations: 1.119 MB / 0.8415 GB, free: 74.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006355/2.285, allocations: 2.962 MB / 0.8444 GB, free: 71.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/2.285, allocations: 8 kB / 0.8444 GB, free: 71.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01245/2.297, allocations: 1.175 MB / 0.8456 GB, free: 69.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/2.299, allocations: 251.6 kB / 0.8458 GB, free: 69.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/2.303, allocations: 1.572 MB / 0.8474 GB, free: 68.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/2.305, allocations: 127.9 kB / 0.8475 GB, free: 67.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/2.305, allocations: 59.94 kB / 0.8475 GB, free: 67.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/2.305, allocations: 7.938 kB / 0.8475 GB, free: 67.91 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00352/2.309, allocations: 1.07 MB / 0.8486 GB, free: 66.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/2.309, allocations: 8 kB / 0.8486 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/2.311, allocations: 350.1 kB / 0.8489 GB, free: 66.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/2.313, allocations: 267.6 kB / 0.8492 GB, free: 66.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00438/2.318, allocations: 2.594 MB / 0.8517 GB, free: 63.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/2.32, allocations: 115.9 kB / 0.8518 GB, free: 63.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/2.32, allocations: 63.95 kB / 0.8519 GB, free: 63.28 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 () * 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.0003665/2.32, allocations: 156.7 kB / 0.852 GB, free: 63.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/2.321, allocations: 75.06 kB / 0.8521 GB, free: 63.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005303/2.326, allocations: 1.481 MB / 0.8536 GB, free: 61.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/2.326, allocations: 8 kB / 0.8536 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/2.326, allocations: 0 / 0.8536 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/2.326, allocations: 3.984 kB / 0.8536 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009075/2.335, allocations: 2.424 MB / 0.8559 GB, free: 59.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/2.335, allocations: 4 kB / 0.8559 GB, free: 59.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/2.337, allocations: 187.8 kB / 0.8561 GB, free: 58.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01015/2.347, allocations: 1.143 MB / 0.8572 GB, free: 57.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/2.347, allocations: 27.97 kB / 0.8573 GB, free: 57.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/2.349, allocations: 1.479 MB / 0.8587 GB, free: 56.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/2.349, allocations: 3.953 kB / 0.8587 GB, free: 56.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005237/2.355, allocations: 1.68 MB / 0.8603 GB, free: 54.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/2.355, allocations: 251.9 kB / 0.8606 GB, free: 54.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/2.356, allocations: 20.06 kB / 0.8606 GB, free: 54.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/2.357, allocations: 123.7 kB / 0.8607 GB, free: 54.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/2.357, allocations: 64.69 kB / 0.8608 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/2.358, allocations: 35.97 kB / 0.8608 GB, free: 53.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006713/2.358, allocations: 383.2 kB / 0.8612 GB, free: 53.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.32e-07/2.358, allocations: 3.938 kB / 0.8612 GB, free: 53.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00315/2.361, allocations: 0.6715 MB / 0.8618 GB, free: 52.91 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 58 * 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.007847/2.369, allocations: 2.713 MB / 0.8645 GB, free: 50.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006331/2.376, allocations: 1.607 MB / 0.8661 GB, free: 48.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/2.376, allocations: 4 kB / 0.8661 GB, free: 48.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/2.377, allocations: 0.4926 MB / 0.8665 GB, free: 48.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002884/2.38, allocations: 302.6 kB / 0.8668 GB, free: 47.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/2.386, allocations: 1.547 MB / 0.8683 GB, free: 46.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/2.386, allocations: 0.9966 MB / 0.8693 GB, free: 45.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009005/2.387, allocations: 331.3 kB / 0.8696 GB, free: 44.81 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/2.387, allocations: 0 / 0.8696 GB, free: 44.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.906/6.293, allocations: 26.84 MB / 0.8958 GB, free: 17.96 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