Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.2 MB / 224.8 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004312, allocations: 12 kB / 282.7 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1119, allocations: 48.7 MB / 331.4 MB, free: 8.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.8/7.912, allocations: 2.502 GB / 2.826 GB, free: 9.547 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/7.912, allocations: 96.47 kB / 2.826 GB, free: 9.496 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.35/10.26, allocations: 427.2 MB / 3.243 GB, free: 50.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/10.26, allocations: 0 / 3.243 GB, free: 50.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.586e-05/10.26, allocations: 20.03 kB / 3.243 GB, free: 50.13 MB / 442.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.008084/10.27, allocations: 1.789 MB / 3.245 GB, free: 49.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/10.27, allocations: 9.625 kB / 3.245 GB, free: 49.23 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002333/10.27, allocations: 97.73 kB / 3.245 GB, free: 49.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/10.27, allocations: 312.4 kB / 3.245 GB, free: 49.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/10.28, allocations: 0.5903 MB / 3.246 GB, free: 48.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/10.28, allocations: 45 kB / 3.246 GB, free: 48.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/10.28, allocations: 65.02 kB / 3.246 GB, free: 48.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/10.28, allocations: 0.9991 MB / 3.247 GB, free: 48.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/10.28, allocations: 3.719 kB / 3.247 GB, free: 48.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/10.28, allocations: 29.98 kB / 3.247 GB, free: 48.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/10.28, allocations: 20.16 kB / 3.247 GB, free: 48.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/10.28, allocations: 0.9083 MB / 3.248 GB, free: 48.68 MB / 442.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.00602/10.29, allocations: 4.454 MB / 3.252 GB, free: 45.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003613/10.29, allocations: 0.7988 MB / 3.253 GB, free: 45.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2816/10.57, allocations: 82.79 MB / 3.334 GB, free: 21.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/10.57, allocations: 35 kB / 3.334 GB, free: 21.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 2.796e-06/10.57, allocations: 4 kB / 3.334 GB, free: 21.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.009931/10.58, allocations: 2.233 MB / 3.336 GB, free: 19.35 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/10.58, allocations: 109.7 kB / 3.336 GB, free: 19.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007521/10.59, allocations: 426 kB / 3.337 GB, free: 18.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-05/10.59, allocations: 37.7 kB / 3.337 GB, free: 18.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/10.59, allocations: 379.6 kB / 3.337 GB, free: 18.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/10.59, allocations: 179.9 kB / 3.337 GB, free: 18.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/10.59, allocations: 12 kB / 3.337 GB, free: 18.28 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/10.59, allocations: 334.6 kB / 3.337 GB, free: 17.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/10.59, allocations: 267.5 kB / 3.338 GB, free: 17.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/10.59, allocations: 455.4 kB / 3.338 GB, free: 17.26 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/10.59, allocations: 323.7 kB / 3.338 GB, free: 16.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/10.59, allocations: 3.938 kB / 3.338 GB, free: 16.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003624/10.59, allocations: 0.9588 MB / 3.339 GB, free: 16.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000822/10.59, allocations: 2.181 MB / 3.341 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/10.59, allocations: 8 kB / 3.342 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003227/10.6, allocations: 421.4 kB / 3.342 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/10.6, allocations: 149.8 kB / 3.342 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/10.6, allocations: 0.8963 MB / 3.343 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/10.6, allocations: 101.4 kB / 3.343 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.151e-05/10.6, allocations: 39.89 kB / 3.343 GB, free: 12.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/10.6, allocations: 4 kB / 3.343 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003984/10.61, allocations: 0.9441 MB / 3.344 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/10.61, allocations: 4 kB / 3.344 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/10.61, allocations: 320.3 kB / 3.344 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009342/10.61, allocations: 142.1 kB / 3.344 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/10.61, allocations: 0.8759 MB / 3.345 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/10.61, allocations: 90.34 kB / 3.345 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/10.61, allocations: 35.23 kB / 3.345 GB, free: 10.27 MB / 474.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.0006006/10.61, allocations: 295.9 kB / 3.346 GB, free: 9.977 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/10.61, allocations: 63 kB / 3.346 GB, free: 9.918 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005951/10.62, allocations: 2.903 MB / 3.349 GB, free: 7.328 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.794e-05/10.62, allocations: 42.89 kB / 3.349 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/10.62, allocations: 0 / 3.349 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/10.62, allocations: 3.844 kB / 3.349 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007878/10.63, allocations: 4.047 MB / 3.353 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/10.63, allocations: 6.75 kB / 3.353 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/10.63, allocations: 166.6 kB / 3.353 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005607/10.63, allocations: 75.8 kB / 3.353 GB, free: 3.527 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/10.63, allocations: 19.75 kB / 3.353 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009442/10.63, allocations: 1.18 MB / 3.354 GB, free: 2.297 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/10.63, allocations: 0 / 3.354 GB, free: 2.297 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3315/10.96, allocations: 2.576 MB / 3.357 GB, free: 81.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/10.96, allocations: 314.4 kB / 3.357 GB, free: 81.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/10.96, allocations: 13.7 kB / 3.357 GB, free: 81.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000925/10.96, allocations: 72.98 kB / 3.357 GB, free: 81.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/10.96, allocations: 52.97 kB / 3.357 GB, free: 81.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/10.96, allocations: 23.27 kB / 3.357 GB, free: 81.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000853/10.96, allocations: 398.8 kB / 3.357 GB, free: 81.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/10.96, allocations: 0 / 3.357 GB, free: 81.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007443/10.97, allocations: 1.386 MB / 3.359 GB, free: 81.07 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: 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.01791/10.99, allocations: 4.747 MB / 3.363 GB, free: 80.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005115/11, allocations: 1.492 MB / 3.365 GB, free: 80.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/11, allocations: 2.438 kB / 3.365 GB, free: 80.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002094/11, allocations: 0.8603 MB / 3.366 GB, free: 80.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/11, allocations: 296.5 kB / 3.366 GB, free: 80.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2394/11.24, allocations: 81.8 MB / 3.446 GB, free: 71.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/11.24, allocations: 1.164 MB / 3.447 GB, free: 70.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008579/11.24, allocations: 454.8 kB / 3.447 GB, free: 70.43 MB / 474.7 MB Notification: Performance of SimCode: time 1.393e-06/11.24, allocations: 0 / 3.447 GB, free: 70.43 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.818/15.06, allocations: 43.66 MB / 3.49 GB, free: 53.12 MB / 474.7 MB