Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006457/0.0006459, allocations: 19.98 kB / 314.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.351, allocations: 54.85 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.827/8.178, allocations: 2.613 GB / 2.973 GB, free: 82.03 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/8.179, allocations: 88.66 kB / 2.974 GB, free: 81.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.173/10.35, allocations: 438.1 MB / 3.401 GB, free: 34.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.963e-06/10.35, allocations: 0 / 3.401 GB, free: 34.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.407e-05/10.35, allocations: 19.91 kB / 3.401 GB, free: 34.51 MB / 490.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.007805/10.36, allocations: 1.842 MB / 3.403 GB, free: 32.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/10.36, allocations: 12.03 kB / 3.403 GB, free: 32.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002827/10.36, allocations: 98.52 kB / 3.403 GB, free: 32.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/10.36, allocations: 326.8 kB / 3.404 GB, free: 32.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/10.37, allocations: 0.5883 MB / 3.404 GB, free: 31.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/10.37, allocations: 49.31 kB / 3.404 GB, free: 31.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/10.37, allocations: 56 kB / 3.404 GB, free: 31.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/10.37, allocations: 0.9994 MB / 3.405 GB, free: 30.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/10.37, allocations: 0 / 3.405 GB, free: 30.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/10.37, allocations: 28 kB / 3.405 GB, free: 30.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/10.37, allocations: 25 kB / 3.405 GB, free: 30.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/10.37, allocations: 0.9053 MB / 3.406 GB, free: 29.44 MB / 490.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.006151/10.38, allocations: 4.453 MB / 3.411 GB, free: 24.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003677/10.38, allocations: 0.7971 MB / 3.411 GB, free: 23.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6724/11.06, allocations: 82.82 MB / 3.492 GB, free: 37.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/11.06, allocations: 37.72 kB / 3.492 GB, free: 37.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 4.137e-06/11.06, allocations: 0 / 3.492 GB, free: 37.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.01429/11.07, allocations: 2.237 MB / 3.494 GB, free: 37.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/11.07, allocations: 107.2 kB / 3.495 GB, free: 37.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/11.07, allocations: 435.5 kB / 3.495 GB, free: 37.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/11.07, allocations: 32.39 kB / 3.495 GB, free: 37.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/11.07, allocations: 376 kB / 3.495 GB, free: 37.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/11.07, allocations: 182.7 kB / 3.496 GB, free: 36.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/11.07, allocations: 11.81 kB / 3.496 GB, free: 36.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001948/11.07, allocations: 339.8 kB / 3.496 GB, free: 36.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/11.07, allocations: 268 kB / 3.496 GB, free: 36.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/11.08, allocations: 464.9 kB / 3.497 GB, free: 36.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/11.08, allocations: 312.5 kB / 3.497 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/11.08, allocations: 7.906 kB / 3.497 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.005577/11.08, allocations: 0.9473 MB / 3.498 GB, free: 36.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001166/11.08, allocations: 2.186 MB / 3.5 GB, free: 34.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/11.08, allocations: 6.188 kB / 3.5 GB, free: 34.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004478/11.09, allocations: 425.5 kB / 3.5 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/11.09, allocations: 147.2 kB / 3.5 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/11.09, allocations: 0.9019 MB / 3.501 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/11.09, allocations: 92.66 kB / 3.501 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/11.09, allocations: 38.19 kB / 3.501 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/11.09, allocations: 5.906 kB / 3.501 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005628/11.1, allocations: 0.9462 MB / 3.502 GB, free: 33.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/11.1, allocations: 11.31 kB / 3.502 GB, free: 33.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/11.1, allocations: 319.6 kB / 3.503 GB, free: 33.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/11.1, allocations: 144.2 kB / 3.503 GB, free: 33.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/11.11, allocations: 0.8652 MB / 3.504 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/11.11, allocations: 97.67 kB / 3.504 GB, free: 32.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/11.11, allocations: 32.38 kB / 3.504 GB, free: 32.85 MB / 0.4948 GB 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.0008119/11.11, allocations: 290.8 kB / 3.504 GB, free: 32.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/11.11, allocations: 59.31 kB / 3.504 GB, free: 32.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007539/11.12, allocations: 2.914 MB / 3.507 GB, free: 32.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.996e-05/11.12, allocations: 43.03 kB / 3.507 GB, free: 32.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/11.12, allocations: 0 / 3.507 GB, free: 32.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/11.12, allocations: 2.625 kB / 3.507 GB, free: 32.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009663/11.13, allocations: 4.047 MB / 3.511 GB, free: 31.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/11.13, allocations: 0 / 3.511 GB, free: 31.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/11.13, allocations: 170.9 kB / 3.511 GB, free: 31.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007474/11.13, allocations: 72.33 kB / 3.511 GB, free: 31.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/11.13, allocations: 16.89 kB / 3.511 GB, free: 31.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/11.13, allocations: 1.184 MB / 3.512 GB, free: 30.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/11.13, allocations: 0 / 3.512 GB, free: 30.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006917/11.14, allocations: 2.571 MB / 3.515 GB, free: 30.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008564/11.14, allocations: 315.8 kB / 3.515 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/11.14, allocations: 12.25 kB / 3.515 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/11.14, allocations: 81.72 kB / 3.515 GB, free: 30.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/11.14, allocations: 53.34 kB / 3.515 GB, free: 30.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.346e-05/11.14, allocations: 22.45 kB / 3.515 GB, free: 30.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009996/11.14, allocations: 397.8 kB / 3.516 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.52e-07/11.14, allocations: 0 / 3.516 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007192/11.15, allocations: 1.399 MB / 3.517 GB, free: 30.21 MB / 0.4948 GB 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.01683/11.17, allocations: 4.767 MB / 3.522 GB, free: 29.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005154/11.17, allocations: 1.497 MB / 3.523 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/11.17, allocations: 0 / 3.523 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002078/11.17, allocations: 0.8598 MB / 3.524 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/11.18, allocations: 298 kB / 3.524 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2799/11.46, allocations: 83.07 MB / 3.605 GB, free: 396 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/11.46, allocations: 1.164 MB / 3.607 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008754/11.46, allocations: 451.8 kB / 3.607 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/11.46, allocations: 0 / 3.607 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.601/16.06, allocations: 43.84 MB / 3.65 GB, free: 82.02 MB / 0.5105 GB