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.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",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.01102/0.01102, allocations: 107.5 kB / 15.06 MB, free: 6.031 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.001261/0.001261, allocations: 179.2 kB / 15.95 MB, free: 5.957 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.964/1.964, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.262/0.262, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004594, allocations: 8 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1269, allocations: 54.89 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.3551/0.4821, allocations: 35.22 MB / 451.2 MB, free: 32.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02947/0.5116, allocations: 17.3 MB / 468.5 MB, free: 32.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.5127, allocations: 33 kB / 468.6 MB, free: 32.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.5145, allocations: 430 kB / 469 MB, free: 32.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01607/0.5307, allocations: 4.089 MB / 473.1 MB, free: 32.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0117/0.5424, allocations: 2.912 MB / 476 MB, free: 31.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00223/0.5446, allocations: 1.022 MB / 477 MB, free: 31.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007589/0.5454, allocations: 379.7 kB / 477.4 MB, free: 31.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.5473, allocations: 0.6457 MB / 478 MB, free: 31.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01702/0.5643, allocations: 6.534 MB / 484.6 MB, free: 31.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.5646, allocations: 32.88 kB / 484.6 MB, free: 31.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02951/0.5941, allocations: 7.543 MB / 492.2 MB, free: 29.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005865/0.5948, allocations: 150.3 kB / 492.3 MB, free: 29.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.5953, allocations: 173.7 kB / 492.5 MB, free: 29.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.6063, allocations: 3.551 MB / 496 MB, free: 28.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6064, allocations: 0 / 496 MB, free: 28.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6064, allocations: 1.188 kB / 496 MB, free: 28.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.735e-05/0.6064, allocations: 0 / 496 MB, free: 28.83 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.007927/0.6144, allocations: 1.54 MB / 497.6 MB, free: 27.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.6144, allocations: 9.281 kB / 497.6 MB, free: 27.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003978/0.6148, allocations: 99.58 kB / 497.7 MB, free: 27.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.6183, allocations: 315 kB / 498 MB, free: 27.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.6198, allocations: 0.5211 MB / 498.5 MB, free: 27.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.612e-05/0.6199, allocations: 54.28 kB / 498.5 MB, free: 27.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.6201, allocations: 64.8 kB / 498.6 MB, free: 27.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003968/0.6241, allocations: 0.9849 MB / 499.6 MB, free: 26.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.6242, allocations: 1.156 kB / 499.6 MB, free: 26.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.6243, allocations: 22.81 kB / 499.6 MB, free: 26.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.6243, allocations: 25.12 kB / 499.6 MB, free: 26.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004335/0.6287, allocations: 0.9202 MB / 0.4888 GB, free: 26.68 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.007023/0.6357, allocations: 4.35 MB / 0.4931 GB, free: 23.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003623/0.6394, allocations: 0.7536 MB / 0.4938 GB, free: 22.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3496/0.989, allocations: 80.07 MB / 0.572 GB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.9891, allocations: 42.94 kB / 0.5721 GB, free: 4.047 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 2.946e-06/0.9892, allocations: 0 / 0.5721 GB, free: 4.047 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.01176/1.001, allocations: 2.297 MB / 0.5743 GB, free: 1.676 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/1.001, allocations: 115.2 kB / 0.5744 GB, free: 1.539 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/1.002, allocations: 490.6 kB / 0.5749 GB, free: 1.055 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/1.002, allocations: 37.7 kB / 0.5749 GB, free: 1.012 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/1.003, allocations: 335.8 kB / 0.5752 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/1.003, allocations: 178.4 kB / 0.5754 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/1.003, allocations: 12 kB / 0.5754 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/1.003, allocations: 366.8 kB / 0.5758 GB, free: 132 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/1.005, allocations: 266.9 kB / 0.576 GB, free: 15.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/1.006, allocations: 463.8 kB / 0.5765 GB, free: 15.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/1.007, allocations: 318.7 kB / 0.5768 GB, free: 15.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.007, allocations: 4 kB / 0.5768 GB, free: 15.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003968/1.011, allocations: 0.9716 MB / 0.5777 GB, free: 14.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001021/1.012, allocations: 2.357 MB / 0.58 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/1.012, allocations: 8 kB / 0.58 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004084/1.016, allocations: 472.2 kB / 0.5805 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.017, allocations: 148.4 kB / 0.5806 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/1.021, allocations: 0.9291 MB / 0.5815 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/1.023, allocations: 91.78 kB / 0.5816 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/1.023, allocations: 35.98 kB / 0.5816 GB, free: 9.797 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.023, allocations: 11.95 kB / 0.5817 GB, free: 9.785 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00613/1.029, allocations: 0.9261 MB / 0.5826 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/1.03, allocations: 13.11 kB / 0.5826 GB, free: 8.852 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003453/1.033, allocations: 319.6 kB / 0.5829 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/1.034, allocations: 151.8 kB / 0.583 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/1.037, allocations: 0.8723 MB / 0.5839 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/1.039, allocations: 87.8 kB / 0.584 GB, free: 7.406 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/1.039, allocations: 39.98 kB / 0.584 GB, free: 7.367 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008145/1.04, allocations: 280.9 kB / 0.5843 GB, free: 7.082 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/1.04, allocations: 63.25 kB / 0.5843 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009011/1.049, allocations: 2.744 MB / 0.587 GB, free: 4.281 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-05/1.049, allocations: 35.94 kB / 0.587 GB, free: 4.246 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/1.049, allocations: 3.953 kB / 0.587 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/1.049, allocations: 0 / 0.587 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/1.061, allocations: 3.752 MB / 0.5907 GB, free: 452 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.061, allocations: 0 / 0.5907 GB, free: 452 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.063, allocations: 151.8 kB / 0.5909 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/1.064, allocations: 105.5 kB / 0.591 GB, free: 188 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/1.064, allocations: 15.98 kB / 0.591 GB, free: 172 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/1.066, allocations: 1.132 MB / 0.5921 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.066, allocations: 3.938 kB / 0.5921 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005998/1.072, allocations: 2.277 MB / 0.5943 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007901/1.073, allocations: 342.8 kB / 0.5946 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/1.073, allocations: 15.89 kB / 0.5946 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009378/1.074, allocations: 67.95 kB / 0.5947 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/1.074, allocations: 46.55 kB / 0.5948 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.55e-05/1.074, allocations: 23.98 kB / 0.5948 GB, free: 12.17 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009908/1.075, allocations: 459 kB / 0.5952 GB, free: 11.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.4e-07/1.075, allocations: 4 kB / 0.5952 GB, free: 11.72 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007302/1.083, allocations: 1.331 MB / 0.5965 GB, free: 10.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01755/1.1, allocations: 4.107 MB / 0.6005 GB, free: 6.379 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005037/1.105, allocations: 1.394 MB / 0.6019 GB, free: 4.988 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.105, allocations: 0 / 0.6019 GB, free: 4.988 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/1.107, allocations: 0.7431 MB / 0.6026 GB, free: 4.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/1.11, allocations: 288.5 kB / 0.6029 GB, free: 3.973 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/1.125, allocations: 8.037 MB / 0.6107 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.127, allocations: 1.154 MB / 0.6119 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002543/1.129, allocations: 0.6139 MB / 0.6125 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.13, allocations: 451.3 kB / 0.6129 GB, free: 9.641 MB / 490.7 MB Notification: Performance of SimCode: time 1.342e-06/1.13, allocations: 0 / 0.6129 GB, free: 9.641 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.477/1.607, allocations: 59.02 MB / 0.6705 GB, free: 145.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/1.608, allocations: 281.1 kB / 0.6708 GB, free: 145 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.298/7.906, allocations: 4 kB / 0.6708 GB, free: 145 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat