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.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",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.0111/0.0111, allocations: 103.9 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.001158/0.001159, allocations: 168.1 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.58/1.58, 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.2456/0.2456, allocations: 38.08 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004719, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.08903, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.05795/0.147, allocations: 34.95 MB / 407.2 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03492/0.182, allocations: 17.2 MB / 424.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.1832, allocations: 27.75 kB / 424.5 MB, free: 8.547 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.1853, allocations: 434 kB / 424.9 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.2028, allocations: 4.044 MB / 428.9 MB, free: 4.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01224/0.2151, allocations: 2.893 MB / 431.8 MB, free: 1.168 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002555/0.2177, allocations: 1.001 MB / 432.8 MB, free: 168 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3466/0.5643, allocations: 371.6 kB / 433.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.5667, allocations: 0.6382 MB / 433.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02425/0.591, allocations: 6.217 MB / 440.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003578/0.5914, allocations: 31.16 kB / 440.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02015/0.6115, allocations: 7.515 MB / 447.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003046/0.6119, allocations: 143.6 kB / 447.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.6123, allocations: 174.8 kB / 447.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008681/0.621, allocations: 3.528 MB / 451.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.621, allocations: 0 / 451.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.621, allocations: 0 / 451.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.621, allocations: 4 kB / 451.4 MB, free: 14.09 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.005261/0.6263, allocations: 1.509 MB / 452.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.6264, allocations: 10.19 kB / 453 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000193/0.6266, allocations: 99.7 kB / 453.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.6297, allocations: 297.2 kB / 453.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.6309, allocations: 0.5253 MB / 453.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.631, allocations: 48.94 kB / 453.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.6311, allocations: 54 kB / 454 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.6346, allocations: 0.9937 MB / 455 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.6346, allocations: 5.938 kB / 455 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.87e-05/0.6347, allocations: 22.34 kB / 455 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.6348, allocations: 28.27 kB / 455 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/0.6386, allocations: 0.9112 MB / 455.9 MB, free: 12.63 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.005902/0.6446, allocations: 4.502 MB / 460.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003811/0.6484, allocations: 0.7869 MB / 461.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3123/0.9607, allocations: 83.87 MB / 0.5323 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.9608, allocations: 46.2 kB / 0.5324 GB, free: 15.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 3.316e-06/0.9608, allocations: 4 kB / 0.5324 GB, free: 15.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.01177/0.9726, allocations: 2.286 MB / 0.5346 GB, free: 13.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.9727, allocations: 113.2 kB / 0.5347 GB, free: 13.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008958/0.9737, allocations: 484.6 kB / 0.5352 GB, free: 13.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.938e-05/0.9738, allocations: 35.89 kB / 0.5352 GB, free: 13.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.9741, allocations: 340.8 kB / 0.5355 GB, free: 12.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.9744, allocations: 177.7 kB / 0.5357 GB, free: 12.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.9744, allocations: 16.5 kB / 0.5357 GB, free: 12.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.9747, allocations: 370.5 kB / 0.5361 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.9759, allocations: 281 kB / 0.5363 GB, free: 12.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.9772, allocations: 469.6 kB / 0.5368 GB, free: 11.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.9785, allocations: 326.2 kB / 0.5371 GB, free: 11.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.9785, allocations: 4 kB / 0.5371 GB, free: 11.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004331/0.9829, allocations: 1.014 MB / 0.5381 GB, free: 10.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009318/0.9838, allocations: 2.179 MB / 0.5402 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.9839, allocations: 4 kB / 0.5402 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003792/0.9877, allocations: 449.9 kB / 0.5406 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.9888, allocations: 148 kB / 0.5408 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.9913, allocations: 0.9062 MB / 0.5417 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.9934, allocations: 97.25 kB / 0.5418 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/0.9936, allocations: 39.23 kB / 0.5418 GB, free: 7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.9937, allocations: 4 kB / 0.5418 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004925/0.9986, allocations: 0.9617 MB / 0.5427 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.9987, allocations: 4 kB / 0.5427 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/1.001, allocations: 357 kB / 0.5431 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.002, allocations: 140.8 kB / 0.5432 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/1.005, allocations: 0.8968 MB / 0.5441 GB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.006, allocations: 85.83 kB / 0.5442 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.006, allocations: 39.11 kB / 0.5442 GB, free: 4.988 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (61): * Single equations (assignments): 60 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0005667/1.006, allocations: 278.7 kB / 0.5445 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/1.007, allocations: 66.11 kB / 0.5445 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006201/1.013, allocations: 2.943 MB / 0.5474 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-05/1.013, allocations: 48.8 kB / 0.5475 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.013, allocations: 0 / 0.5475 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/1.013, allocations: 3.984 kB / 0.5475 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008169/1.021, allocations: 4.071 MB / 0.5514 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.021, allocations: 3.75 kB / 0.5515 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.023, allocations: 168.2 kB / 0.5516 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005823/1.023, allocations: 83.06 kB / 0.5517 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/1.023, allocations: 15.36 kB / 0.5517 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009137/1.024, allocations: 1.18 MB / 0.5529 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.024, allocations: 192 / 0.5529 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005877/1.03, allocations: 2.607 MB / 0.5554 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/1.031, allocations: 323.2 kB / 0.5557 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/1.031, allocations: 10.56 kB / 0.5557 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/1.032, allocations: 71.19 kB / 0.5558 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.032, allocations: 51.72 kB / 0.5558 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/1.032, allocations: 23.5 kB / 0.5559 GB, free: 12.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007708/1.033, allocations: 396 kB / 0.5562 GB, free: 12.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.033, allocations: 0 / 0.5562 GB, free: 12.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005448/1.039, allocations: 1.325 MB / 0.5575 GB, free: 10.9 MB / 442.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: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.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 (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0146/1.053, allocations: 4.438 MB / 0.5619 GB, free: 7.508 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005604/1.059, allocations: 1.539 MB / 0.5634 GB, free: 6.434 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.059, allocations: 0 / 0.5634 GB, free: 6.434 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002221/1.061, allocations: 0.8731 MB / 0.5642 GB, free: 5.934 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.064, allocations: 304.1 kB / 0.5645 GB, free: 5.703 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.075, allocations: 7.814 MB / 0.5721 GB, free: 14.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009347/1.076, allocations: 1.162 MB / 0.5733 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002111/1.078, allocations: 0.7138 MB / 0.574 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/1.079, allocations: 449.4 kB / 0.5744 GB, free: 12.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.243e-06/1.079, allocations: 4 kB / 0.5744 GB, free: 12.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4098/1.489, allocations: 59.16 MB / 0.6322 GB, free: 146.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/1.489, allocations: 283.6 kB / 0.6325 GB, free: 146.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.748/8.237, allocations: 0 / 0.6325 GB, free: 146.3 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat