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.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01091/0.01091, allocations: 107.1 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.001211/0.001211, allocations: 181.5 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 2.042/2.042, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.2666/0.2666, allocations: 40.05 MB / 296.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006629/0.000663, allocations: 15.98 kB / 361.2 MB, free: 9.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1177, allocations: 54.87 MB / 416 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault): time 0.3634/0.4811, allocations: 35.21 MB / 451.2 MB, free: 32.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02901/0.5102, allocations: 17.32 MB / 468.6 MB, free: 32.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.5114, allocations: 29.28 kB / 468.6 MB, free: 32.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.5133, allocations: 431 kB / 469 MB, free: 32.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01636/0.5297, allocations: 4.08 MB / 473.1 MB, free: 31.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01172/0.5415, allocations: 2.912 MB / 476 MB, free: 31.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.5437, allocations: 1.004 MB / 477 MB, free: 31.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.5445, allocations: 365.9 kB / 477.4 MB, free: 31.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.5462, allocations: 0.6331 MB / 478 MB, free: 31.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01623/0.5624, allocations: 6.295 MB / 484.3 MB, free: 31.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.5627, allocations: 29.91 kB / 484.3 MB, free: 31.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02175/0.5845, allocations: 7.547 MB / 491.9 MB, free: 29.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003534/0.5849, allocations: 146.1 kB / 492 MB, free: 29.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.5853, allocations: 170.8 kB / 492.2 MB, free: 29.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.5963, allocations: 3.545 MB / 495.7 MB, free: 28.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5964, allocations: 0 / 495.7 MB, free: 28.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5964, allocations: 1.094 kB / 495.7 MB, free: 28.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.5964, allocations: 3.938 kB / 495.7 MB, free: 28.87 MB / 378.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.007631/0.604, allocations: 1.544 MB / 497.3 MB, free: 27.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.6041, allocations: 10.03 kB / 497.3 MB, free: 27.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002402/0.6044, allocations: 99.14 kB / 497.4 MB, free: 27.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/0.6078, allocations: 314 kB / 497.7 MB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6092, allocations: 0.5179 MB / 498.2 MB, free: 27.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-05/0.6093, allocations: 55.8 kB / 498.3 MB, free: 27.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.6094, allocations: 54.25 kB / 498.3 MB, free: 27.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/0.6131, allocations: 0.9839 MB / 499.3 MB, free: 26.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.6132, allocations: 0 / 499.3 MB, free: 26.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.6133, allocations: 27.5 kB / 499.3 MB, free: 26.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-05/0.6134, allocations: 20.62 kB / 499.3 MB, free: 26.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004086/0.6175, allocations: 0.9097 MB / 0.4885 GB, free: 26.73 MB / 378.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.007077/0.6246, allocations: 4.824 MB / 0.4932 GB, free: 22.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003485/0.6281, allocations: 0.7045 MB / 0.4939 GB, free: 22.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06819/0.6963, allocations: 21.64 MB / 0.5151 GB, free: 19.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.6964, allocations: 38.56 kB / 0.5151 GB, free: 19.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 3.085e-06/0.6965, allocations: 0 / 0.5151 GB, free: 19.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.04818/0.7446, allocations: 4.253 MB / 0.5192 GB, free: 15.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.7448, allocations: 119.4 kB / 0.5194 GB, free: 15.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008586/0.7457, allocations: 498.7 kB / 0.5198 GB, free: 14.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.7458, allocations: 37.69 kB / 0.5199 GB, free: 14.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.7461, allocations: 350.8 kB / 0.5202 GB, free: 14.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.7463, allocations: 200.6 kB / 0.5204 GB, free: 14.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.7464, allocations: 12 kB / 0.5204 GB, free: 14.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.7466, allocations: 370.8 kB / 0.5208 GB, free: 14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.7482, allocations: 401.8 kB / 0.5211 GB, free: 13.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.7498, allocations: 0.602 MB / 0.5217 GB, free: 12.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.7516, allocations: 449.9 kB / 0.5222 GB, free: 12.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.7516, allocations: 0 / 0.5222 GB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004937/0.7565, allocations: 1.296 MB / 0.5234 GB, free: 11.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009474/0.7575, allocations: 2.446 MB / 0.5258 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.7576, allocations: 12 kB / 0.5258 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009436/0.767, allocations: 1.026 MB / 0.5268 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.7682, allocations: 167.7 kB / 0.527 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004205/0.7725, allocations: 1.725 MB / 0.5287 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.7741, allocations: 103.9 kB / 0.5288 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.7743, allocations: 43.98 kB / 0.5288 GB, free: 5.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.7743, allocations: 4 kB / 0.5288 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005329/0.7797, allocations: 1.221 MB / 0.53 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.7797, allocations: 4 kB / 0.53 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005521/0.7853, allocations: 0.6949 MB / 0.5307 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.7865, allocations: 175.7 kB / 0.5309 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004122/0.7906, allocations: 1.686 MB / 0.5325 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.7922, allocations: 99.83 kB / 0.5326 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.7924, allocations: 39.98 kB / 0.5326 GB, free: 1.43 MB / 394.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.0007201/0.7931, allocations: 300.9 kB / 0.5329 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.7933, allocations: 63.25 kB / 0.533 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00922/0.8026, allocations: 3.847 MB / 0.5367 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.085e-05/0.8027, allocations: 47.88 kB / 0.5368 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.8027, allocations: 0 / 0.5368 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.8027, allocations: 7.984 kB / 0.5368 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.8149, allocations: 5.163 MB / 0.5418 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.815, allocations: 0 / 0.5418 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007809/0.8158, allocations: 111.3 kB / 0.5419 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008733/0.8245, allocations: 1.675 MB / 0.5436 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/0.8247, allocations: 19.98 kB / 0.5436 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005047/0.8298, allocations: 2.419 MB / 0.546 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8299, allocations: 4.062 kB / 0.546 GB, free: 3.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006893/0.8368, allocations: 2.635 MB / 0.5485 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008659/0.8377, allocations: 342.7 kB / 0.5489 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.8379, allocations: 15.95 kB / 0.5489 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.8392, allocations: 95.86 kB / 0.549 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.8395, allocations: 60.55 kB / 0.549 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.8396, allocations: 31.92 kB / 0.5491 GB, free: 336 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000894/0.8405, allocations: 431 kB / 0.5495 GB, free: 15.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8406, allocations: 0 / 0.5495 GB, free: 15.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007676/0.8482, allocations: 1.437 MB / 0.5509 GB, free: 14.47 MB / 426.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.019/0.8673, allocations: 4.389 MB / 0.5552 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008443/0.8758, allocations: 2.075 MB / 0.5572 GB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.8758, allocations: 0 / 0.5572 GB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003341/0.8792, allocations: 1.133 MB / 0.5583 GB, free: 6.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.882, allocations: 293.2 kB / 0.5586 GB, free: 6.633 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.8959, allocations: 8.38 MB / 0.5668 GB, free: 14.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009966/0.8969, allocations: 1.178 MB / 0.5679 GB, free: 12.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002171/0.8991, allocations: 0.7232 MB / 0.5686 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008026/0.8999, allocations: 423.3 kB / 0.569 GB, free: 11.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8999, allocations: 0 / 0.569 GB, free: 11.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4663/1.366, allocations: 68.13 MB / 0.6356 GB, free: 163.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003119/1.367, allocations: 275.3 kB / 0.6358 GB, free: 163.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/7.978, allocations: 0 / 0.6358 GB, free: 163.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat