Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.231/2.231, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004369, allocations: 8 kB / 314.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3542, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0223/0.3765, allocations: 14.01 MB / 383.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009984/0.3866, allocations: 4.749 MB / 388 MB, free: 7.883 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007802/0.3874, allocations: 27.75 kB / 388.1 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.3885, allocations: 270.6 kB / 388.3 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002512/0.3911, allocations: 0.6873 MB / 389 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.3945, allocations: 0.7912 MB / 389.8 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002249/0.3967, allocations: 1.148 MB / 391 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.3975, allocations: 377.3 kB / 391.3 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.3989, allocations: 0.5608 MB / 391.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/0.3998, allocations: 398.6 kB / 392.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.3999, allocations: 36 kB / 392.3 MB, free: 3.594 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.4011, allocations: 243.7 kB / 392.6 MB, free: 3.355 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000365/0.4014, allocations: 211.4 kB / 392.8 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.4018, allocations: 169.3 kB / 392.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.4034, allocations: 0.7764 MB / 393.7 MB, free: 2.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4034, allocations: 0 / 393.7 MB, free: 2.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4034, allocations: 0 / 393.7 MB, free: 2.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.4034, allocations: 0 / 393.7 MB, free: 2.199 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002626/0.4061, allocations: 0.9036 MB / 394.6 MB, free: 1.246 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.4061, allocations: 16.03 kB / 394.6 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002024/0.4063, allocations: 102.4 kB / 394.7 MB, free: 1.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004448/0.4068, allocations: 91.14 kB / 394.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.408, allocations: 0.4966 MB / 395.3 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.4081, allocations: 108.3 kB / 395.4 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.4083, allocations: 44 kB / 395.5 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.4102, allocations: 0.8308 MB / 396.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.4103, allocations: 4 kB / 396.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.4104, allocations: 24 kB / 396.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.119e-05/0.4105, allocations: 32.98 kB / 396.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.4123, allocations: 0.6438 MB / 397 MB, free: 14.71 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.006856/0.4191, allocations: 4.34 MB / 401.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009384/0.4201, allocations: 331.5 kB / 401.7 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002981/0.4231, allocations: 1.804 MB / 403.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.4232, allocations: 34.56 kB / 403.5 MB, free: 7.641 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.204e-06/0.4232, allocations: 0 / 403.5 MB, free: 7.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.004469/0.4276, allocations: 1.232 MB / 404.7 MB, free: 6.355 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.4277, allocations: 132.5 kB / 404.9 MB, free: 6.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.4289, allocations: 0.6172 MB / 405.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.4289, allocations: 45.64 kB / 405.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.4293, allocations: 448.3 kB / 406 MB, free: 5.074 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.4295, allocations: 118.4 kB / 406.1 MB, free: 4.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.4295, allocations: 16 kB / 406.1 MB, free: 4.941 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4297, allocations: 342.8 kB / 406.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.4302, allocations: 173.9 kB / 406.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008442/0.4311, allocations: 0.585 MB / 407.2 MB, free: 3.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.4318, allocations: 299.6 kB / 407.5 MB, free: 3.352 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.4318, allocations: 4 kB / 407.5 MB, free: 3.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001831/0.4337, allocations: 0.7468 MB / 408.2 MB, free: 2.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.4337, allocations: 12 kB / 408.2 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.4337, allocations: 19.89 kB / 408.2 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-05/0.4338, allocations: 20.78 kB / 408.3 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.4353, allocations: 219.6 kB / 408.5 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.834e-05/0.4354, allocations: 23.92 kB / 408.5 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.4362, allocations: 47.89 kB / 408.6 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.584e-05/0.4363, allocations: 44 kB / 408.6 MB, free: 2.215 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004762/0.4368, allocations: 261.4 kB / 408.9 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.437, allocations: 63.25 kB / 408.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.4381, allocations: 443.2 kB / 409.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4381, allocations: 7.953 kB / 409.4 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4382, allocations: 0 / 409.4 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.4382, allocations: 4 kB / 409.4 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.4407, allocations: 1.241 MB / 410.6 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.4407, allocations: 4 kB / 410.6 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.4412, allocations: 67.89 kB / 410.7 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/0.4415, allocations: 44.92 kB / 410.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.4416, allocations: 16.39 kB / 410.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005253/0.4421, allocations: 0.564 MB / 411.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.4421, allocations: 4 kB / 411.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.4434, allocations: 0.6904 MB / 412 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.4438, allocations: 184.3 kB / 412.2 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.444, allocations: 15.98 kB / 412.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006304/0.4446, allocations: 19.91 kB / 412.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.4447, allocations: 43.91 kB / 412.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.4448, allocations: 16 kB / 412.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007742/0.4455, allocations: 431 kB / 412.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4456, allocations: 0 / 412.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001085/0.4467, allocations: 203.9 kB / 412.9 MB, free: 13.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002134/0.4488, allocations: 1.345 MB / 414.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.45, allocations: 457.1 kB / 414.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.45, allocations: 0 / 414.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.4506, allocations: 170.2 kB / 414.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.4527, allocations: 283.3 kB / 415.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008369/0.4611, allocations: 4.073 MB / 419.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.4619, allocations: 0.9492 MB / 420.1 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/0.4624, allocations: 239.3 kB / 420.4 MB, free: 5.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4624, allocations: 0 / 420.4 MB, free: 5.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.038/3.5, allocations: 14.9 MB / 435.3 MB, free: 6.957 MB / 362.7 MB