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.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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.01497/0.01498, allocations: 105.8 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.1.mo): time 0.001718/0.001718, allocations: 172.6 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.575/1.575, allocations: 170.9 MB / 187.5 MB, free: 1 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.2501/0.2501, allocations: 38.08 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004571, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09056, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault): time 0.05435/0.145, allocations: 34.94 MB / 407.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03338/0.1784, allocations: 17.2 MB / 424.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.1795, allocations: 27.75 kB / 424.5 MB, free: 8.547 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.1814, allocations: 434 kB / 424.9 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01678/0.1982, allocations: 4.032 MB / 428.9 MB, free: 4.078 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01184/0.2101, allocations: 2.894 MB / 431.8 MB, free: 1.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002376/0.2125, allocations: 0.9894 MB / 432.8 MB, free: 192 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2818/0.4944, allocations: 360.5 kB / 433.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.4966, allocations: 0.6334 MB / 433.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01815/0.5148, allocations: 6.212 MB / 440 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.5151, allocations: 30.25 kB / 440 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01923/0.5343, allocations: 7.423 MB / 447.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.5347, allocations: 139.2 kB / 447.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.5351, allocations: 173.8 kB / 447.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008845/0.544, allocations: 3.505 MB / 451.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.544, allocations: 2.719 kB / 451.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.544, allocations: 0 / 451.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.5441, allocations: 2.297 kB / 451.3 MB, free: 14.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005452/0.5495, allocations: 1.509 MB / 452.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5496, allocations: 9.969 kB / 452.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.5498, allocations: 98.66 kB / 452.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/0.5529, allocations: 293 kB / 453.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.5541, allocations: 0.5223 MB / 453.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/0.5542, allocations: 49.12 kB / 453.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.5543, allocations: 65.27 kB / 453.8 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/0.5578, allocations: 0.9843 MB / 454.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.5579, allocations: 2.625 kB / 454.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.827e-05/0.558, allocations: 24.09 kB / 454.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-05/0.558, allocations: 21.78 kB / 454.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003824/0.5619, allocations: 0.9066 MB / 455.8 MB, free: 12.77 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.006786/0.5687, allocations: 4.822 MB / 460.6 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003354/0.5721, allocations: 0.7005 MB / 461.3 MB, free: 8.691 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06671/0.6388, allocations: 21.57 MB / 482.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.6389, allocations: 48.75 kB / 482.9 MB, free: 3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.637e-06/0.6389, allocations: 0 / 482.9 MB, free: 3 MB / 346.7 MB Notification: Performance of matching and sorting (n=60): time 0.04893/0.6879, allocations: 4.25 MB / 487.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.688, allocations: 109.7 kB / 487.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/0.6889, allocations: 0.4885 MB / 487.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-05/0.689, allocations: 40.33 kB / 487.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.6893, allocations: 346.6 kB / 488.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.6896, allocations: 204.2 kB / 488.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/0.6896, allocations: 17.5 kB / 488.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.6898, allocations: 376.6 kB / 488.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.6915, allocations: 391.2 kB / 489.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.6933, allocations: 0.6026 MB / 489.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.6951, allocations: 452.1 kB / 490.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.6951, allocations: 4 kB / 490.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004954/0.7001, allocations: 1.291 MB / 491.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001152/0.7012, allocations: 2.438 MB / 493.9 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.7013, allocations: 8 kB / 493.9 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009179/0.7104, allocations: 1.034 MB / 494.9 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.7116, allocations: 155 kB / 495.1 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004033/0.7157, allocations: 1.736 MB / 496.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.7172, allocations: 100.1 kB / 496.9 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.7174, allocations: 41.42 kB / 496.9 MB, free: 6.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7174, allocations: 7.938 kB / 496.9 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005048/0.7225, allocations: 1.227 MB / 498.2 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.7225, allocations: 15.64 kB / 498.2 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005378/0.7279, allocations: 0.6964 MB / 498.9 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.729, allocations: 164 kB / 499 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.7329, allocations: 1.687 MB / 0.489 GB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.7342, allocations: 105.1 kB / 0.4891 GB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.7344, allocations: 42.48 kB / 0.4891 GB, free: 3.406 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005669/0.735, allocations: 298.1 kB / 0.4894 GB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.7351, allocations: 63.25 kB / 0.4895 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008506/0.7437, allocations: 3.845 MB / 0.4932 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.839e-05/0.7438, allocations: 49.05 kB / 0.4933 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7438, allocations: 0 / 0.4933 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.7438, allocations: 3.984 kB / 0.4933 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.7544, allocations: 5.168 MB / 0.4983 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.7545, allocations: 4 kB / 0.4983 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.7552, allocations: 99.27 kB / 0.4984 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008379/0.7636, allocations: 1.685 MB / 0.5001 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.7638, allocations: 20.36 kB / 0.5001 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00476/0.7686, allocations: 2.414 MB / 0.5024 GB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.7686, allocations: 11.27 kB / 0.5025 GB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006315/0.775, allocations: 2.621 MB / 0.505 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/0.7758, allocations: 351.9 kB / 0.5054 GB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.776, allocations: 12.38 kB / 0.5054 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.7772, allocations: 104.5 kB / 0.5055 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.7775, allocations: 63.61 kB / 0.5055 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.7776, allocations: 28.61 kB / 0.5056 GB, free: 7.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008378/0.7784, allocations: 432.7 kB / 0.506 GB, free: 7.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7784, allocations: 0 / 0.506 GB, free: 7.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005622/0.7841, allocations: 1.424 MB / 0.5074 GB, free: 5.723 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01535/0.7995, allocations: 4.382 MB / 0.5116 GB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008208/0.8077, allocations: 2.068 MB / 0.5137 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.8078, allocations: 8.125 kB / 0.5137 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003113/0.8109, allocations: 1.126 MB / 0.5148 GB, free: 140 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.8138, allocations: 293 kB / 0.515 GB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.8261, allocations: 8.381 MB / 0.5232 GB, free: 7.723 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009474/0.8271, allocations: 1.18 MB / 0.5244 GB, free: 6.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002203/0.8293, allocations: 0.7267 MB / 0.5251 GB, free: 5.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008221/0.8302, allocations: 419.3 kB / 0.5255 GB, free: 5.398 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8302, allocations: 0 / 0.5255 GB, free: 5.398 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1709/1.001, allocations: 67.82 MB / 0.5917 GB, free: 1.789 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003974/1.002, allocations: 266 kB / 0.592 GB, free: 1.438 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/7.633, allocations: 7.969 kB / 0.592 GB, free: 1.43 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat