Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01121/0.01122, allocations: 108.5 kB / 15.06 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.2.mo): time 0.001236/0.001236, allocations: 178.8 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.859/1.859, allocations: 194.5 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.307/0.307, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.000477, allocations: 8 kB / 361.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 54.87 MB / 416 MB, free: 9 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.306/0.4146, allocations: 18.09 MB / 434.1 MB, free: 8.723 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.43, allocations: 7.448 MB / 441.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.4315, allocations: 37.84 kB / 441.6 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.4333, allocations: 379.8 kB / 442 MB, free: 3.562 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.4373, allocations: 0.9544 MB / 442.9 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008816/0.4462, allocations: 1.867 MB / 444.8 MB, free: 2.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002773/0.449, allocations: 1.053 MB / 445.8 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.4504, allocations: 0.5214 MB / 446.4 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.4523, allocations: 0.5963 MB / 447 MB, free: 1.062 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.455, allocations: 0.9583 MB / 447.9 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000256/0.4553, allocations: 40.16 kB / 447.9 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.4576, allocations: 0.5738 MB / 448.5 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.4579, allocations: 178.5 kB / 448.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.4583, allocations: 178.8 kB / 448.9 MB, free: 472 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.4604, allocations: 0.9989 MB / 449.9 MB, free: 36 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4604, allocations: 0.9688 kB / 449.9 MB, free: 36 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4605, allocations: 0 / 449.9 MB, free: 36 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.4605, allocations: 4 kB / 449.9 MB, free: 32 kB / 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.003733/0.4642, allocations: 1.07 MB / 450.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4643, allocations: 13.66 kB / 451 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002087/0.4645, allocations: 100.5 kB / 451.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004964/0.465, allocations: 95.78 kB / 451.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.4664, allocations: 0.5629 MB / 451.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.4664, allocations: 38.22 kB / 451.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.4666, allocations: 50.62 kB / 451.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.4689, allocations: 0.8123 MB / 452.6 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.469, allocations: 6.062 kB / 452.6 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.4691, allocations: 22.72 kB / 452.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.4691, allocations: 18.5 kB / 452.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.4718, allocations: 0.7916 MB / 453.5 MB, free: 13.6 MB / 330.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.007829/0.4797, allocations: 3.653 MB / 457.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.4816, allocations: 481.1 kB / 457.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005282/0.4822, allocations: 0.5725 MB / 458.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.4822, allocations: 38.03 kB / 458.2 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001188/0.4834, allocations: 115.5 kB / 458.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 2.996e-06/0.4834, allocations: 0 / 458.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=69): time 0.1001/0.5836, allocations: 8.086 MB / 466.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.5837, allocations: 115.4 kB / 466.5 MB, free: 3.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.5848, allocations: 0.5549 MB / 467.1 MB, free: 2.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.585, allocations: 41.7 kB / 467.1 MB, free: 2.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/0.5854, allocations: 379.5 kB / 467.5 MB, free: 2.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00035/0.5857, allocations: 244.5 kB / 467.7 MB, free: 2.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.5859, allocations: 12 kB / 467.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.5861, allocations: 390.8 kB / 468.1 MB, free: 1.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/0.5888, allocations: 0.5055 MB / 468.6 MB, free: 1.359 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002844/0.5916, allocations: 0.7628 MB / 469.4 MB, free: 496 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.5945, allocations: 0.577 MB / 469.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.5946, allocations: 0 / 469.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.007383/0.602, allocations: 1.599 MB / 471.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.6031, allocations: 2.962 MB / 474.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.6032, allocations: 11.98 kB / 474.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02138/0.6246, allocations: 1.564 MB / 476.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/0.6272, allocations: 283.6 kB / 476.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/0.6306, allocations: 1.626 MB / 478 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/0.6334, allocations: 131.9 kB / 478.1 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002759/0.6337, allocations: 67.92 kB / 478.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.6338, allocations: 4 kB / 478.2 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007338/0.6411, allocations: 1.493 MB / 479.7 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.6412, allocations: 8 kB / 479.7 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004213/0.6454, allocations: 493.3 kB / 480.2 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/0.6482, allocations: 291.6 kB / 480.4 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.6533, allocations: 2.746 MB / 483.2 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.6559, allocations: 143.8 kB / 483.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002344/0.6561, allocations: 63.92 kB / 483.4 MB, free: 1.969 MB / 346.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.0007237/0.6569, allocations: 305.8 kB / 483.7 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.6572, allocations: 71.16 kB / 483.8 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008514/0.6657, allocations: 1.853 MB / 485.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/0.6658, allocations: 19.92 kB / 485.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6658, allocations: 4 kB / 485.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.6658, allocations: 3.984 kB / 485.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.6806, allocations: 2.914 MB / 488.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/0.6806, allocations: 3.938 kB / 488.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003258/0.6839, allocations: 203.7 kB / 488.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01491/0.6989, allocations: 1.287 MB / 490 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/0.6992, allocations: 35.92 kB / 490.1 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.7021, allocations: 1.573 MB / 491.7 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7021, allocations: 4.062 kB / 491.7 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.7125, allocations: 2.24 MB / 493.9 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008091/0.7134, allocations: 263.9 kB / 494.2 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.7136, allocations: 19.95 kB / 494.2 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/0.7157, allocations: 131.8 kB / 494.3 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.716, allocations: 60.91 kB / 494.4 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/0.7162, allocations: 43.97 kB / 494.4 MB, free: 6.746 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007642/0.717, allocations: 383.1 kB / 494.8 MB, free: 6.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.717, allocations: 3.938 kB / 494.8 MB, free: 6.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003093/0.7201, allocations: 0.5741 MB / 495.4 MB, free: 5.797 MB / 362.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.01218/0.7324, allocations: 3.051 MB / 498.4 MB, free: 2.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01028/0.7427, allocations: 2.183 MB / 0.4889 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.7427, allocations: 4 kB / 0.4889 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003289/0.746, allocations: 0.696 MB / 0.4895 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.7489, allocations: 308.2 kB / 0.4898 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00884/0.7577, allocations: 7.649 MB / 0.4973 GB, free: 7.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.7585, allocations: 0.9923 MB / 0.4983 GB, free: 6.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0022/0.7607, allocations: 266.3 kB / 0.4985 GB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009299/0.7616, allocations: 323.2 kB / 0.4988 GB, free: 6.078 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7617, allocations: 0 / 0.4988 GB, free: 6.078 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/0.8999, allocations: 33.74 MB / 0.5318 GB, free: 4.398 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000379/0.9004, allocations: 284.2 kB / 0.5321 GB, free: 4.039 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.783/4.683, allocations: 0 / 0.5321 GB, free: 4.039 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat