Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01078/0.01079, allocations: 104.4 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001237/0.001237, allocations: 168 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.544/1.544, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3083/0.3083, allocations: 38.09 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00065/0.00065, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.08931, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.02922/0.1186, allocations: 18.06 MB / 390.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.1354, allocations: 7.454 MB / 397.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.1367, allocations: 31.69 kB / 397.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.1384, allocations: 386.1 kB / 398.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004133/0.1426, allocations: 0.958 MB / 399.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008373/0.151, allocations: 1.885 MB / 401.1 MB, free: 8 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.1539, allocations: 1.051 MB / 402.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.1553, allocations: 0.5223 MB / 402.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.1571, allocations: 0.5957 MB / 403.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.1596, allocations: 0.9352 MB / 404.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.1598, allocations: 40 kB / 404.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.1619, allocations: 0.5773 MB / 404.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004073/0.1624, allocations: 175.4 kB / 405 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.1627, allocations: 173.3 kB / 405.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.1652, allocations: 1.002 MB / 406.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1652, allocations: 0 / 406.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1652, allocations: 0 / 406.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.1653, allocations: 0 / 406.1 MB, free: 10.91 MB / 314.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.00393/0.1692, allocations: 1.072 MB / 407.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1693, allocations: 8.031 kB / 407.2 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002762/0.1696, allocations: 98.5 kB / 407.3 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005241/0.1701, allocations: 94.97 kB / 407.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.1715, allocations: 0.557 MB / 408 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.1716, allocations: 41.31 kB / 408 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.1717, allocations: 52 kB / 408 MB, free: 8.895 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.1741, allocations: 0.8195 MB / 408.9 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.1742, allocations: 0 / 408.9 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.1744, allocations: 27.98 kB / 408.9 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/0.1744, allocations: 21 kB / 408.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.1773, allocations: 0.7884 MB / 409.7 MB, free: 7.195 MB / 314.7 MB 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.007982/0.1854, allocations: 3.649 MB / 413.3 MB, free: 3.305 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.1873, allocations: 482.1 kB / 413.8 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/0.1879, allocations: 0.5704 MB / 414.4 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.1879, allocations: 42.94 kB / 414.4 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001121/0.189, allocations: 119.5 kB / 414.5 MB, free: 1.961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 3.607e-06/0.1891, allocations: 0 / 414.5 MB, free: 1.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.09914/0.2882, allocations: 8.081 MB / 422.6 MB, free: 9.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.2883, allocations: 111.4 kB / 422.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.2894, allocations: 0.5587 MB / 423.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.2895, allocations: 41.7 kB / 423.3 MB, free: 8.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.2899, allocations: 379.6 kB / 423.7 MB, free: 8.594 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.2902, allocations: 244.5 kB / 423.9 MB, free: 8.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.2904, allocations: 20 kB / 424 MB, free: 8.332 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.2906, allocations: 378.7 kB / 424.3 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/0.2932, allocations: 0.5172 MB / 424.9 MB, free: 7.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002796/0.296, allocations: 0.7667 MB / 425.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/0.2988, allocations: 0.5731 MB / 426.2 MB, free: 5.984 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.2988, allocations: 4 kB / 426.2 MB, free: 5.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.007258/0.3061, allocations: 1.599 MB / 427.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001336/0.3075, allocations: 2.961 MB / 430.8 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/0.3075, allocations: 8 kB / 430.8 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2746/0.5822, allocations: 1.558 MB / 432.3 MB, free: 62.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/0.5848, allocations: 277.1 kB / 432.6 MB, free: 62.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/0.588, allocations: 1.62 MB / 434.2 MB, free: 61.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/0.5906, allocations: 142.6 kB / 434.4 MB, free: 61.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.5908, allocations: 64.3 kB / 434.4 MB, free: 61.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5909, allocations: 5.125 kB / 434.4 MB, free: 61.13 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007234/0.5981, allocations: 1.498 MB / 435.9 MB, free: 61.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.5982, allocations: 9.047 kB / 435.9 MB, free: 61.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004149/0.6023, allocations: 483 kB / 436.4 MB, free: 60.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/0.605, allocations: 293.5 kB / 436.7 MB, free: 60.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/0.6095, allocations: 2.736 MB / 439.4 MB, free: 58.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.612, allocations: 138.9 kB / 439.6 MB, free: 58.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.6122, allocations: 62.45 kB / 439.6 MB, free: 58.69 MB / 330.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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006419/0.6128, allocations: 300.2 kB / 439.9 MB, free: 58.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.613, allocations: 82.11 kB / 440 MB, free: 58.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008104/0.6212, allocations: 1.857 MB / 441.8 MB, free: 57.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/0.6212, allocations: 10.58 kB / 441.9 MB, free: 57.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6212, allocations: 0 / 441.9 MB, free: 57.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.6213, allocations: 5.953 kB / 441.9 MB, free: 57.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.6329, allocations: 2.918 MB / 444.8 MB, free: 56.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.6329, allocations: 4.047 kB / 444.8 MB, free: 56.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/0.6348, allocations: 206.5 kB / 445 MB, free: 56.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01309/0.6479, allocations: 1.281 MB / 446.3 MB, free: 56.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002271/0.6482, allocations: 28.75 kB / 446.3 MB, free: 56.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.6508, allocations: 1.6 MB / 447.9 MB, free: 54.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6509, allocations: 1.562 kB / 447.9 MB, free: 54.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009551/0.6604, allocations: 2.238 MB / 450.1 MB, free: 53.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006452/0.6611, allocations: 263.8 kB / 450.4 MB, free: 53.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.6613, allocations: 15.97 kB / 450.4 MB, free: 53.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/0.6633, allocations: 125 kB / 450.5 MB, free: 53.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.6636, allocations: 59.47 kB / 450.6 MB, free: 53.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.6637, allocations: 42.89 kB / 450.6 MB, free: 53.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006505/0.6644, allocations: 383.1 kB / 451 MB, free: 53.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6644, allocations: 4 kB / 451 MB, free: 53.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002581/0.667, allocations: 0.5698 MB / 451.6 MB, free: 53.16 MB / 330.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 (62): * Single equations (assignments): 56 * 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 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.01068/0.6777, allocations: 3.064 MB / 454.6 MB, free: 51.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.009053/0.6868, allocations: 2.18 MB / 456.8 MB, free: 49.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6868, allocations: 0 / 456.8 MB, free: 49.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002903/0.6897, allocations: 0.697 MB / 457.5 MB, free: 48.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.6922, allocations: 305.5 kB / 457.8 MB, free: 48.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006576/0.6988, allocations: 7.662 MB / 465.5 MB, free: 40.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.6993, allocations: 0.9926 MB / 466.5 MB, free: 39.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002066/0.7014, allocations: 270.4 kB / 466.7 MB, free: 39.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008717/0.7023, allocations: 323.2 kB / 467.1 MB, free: 39.11 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7023, allocations: 0 / 467.1 MB, free: 39.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08443/0.7868, allocations: 33.74 MB / 0.4891 GB, free: 5.469 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.787, allocations: 280.4 kB / 0.4893 GB, free: 5.113 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.033/4.82, allocations: 0 / 0.4893 GB, free: 5.113 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat