Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 194.9 MB / 211.1 MB, free: 8.543 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005793/0.0005797, allocations: 16 kB / 264.1 MB, free: 3.453 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2997, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01811/0.3178, allocations: 10.53 MB / 319.1 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.3212, allocations: 1.484 MB / 320.6 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/0.3217, allocations: 3.938 kB / 320.6 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007422/0.3224, allocations: 139.3 kB / 320.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007336/0.3232, allocations: 207.4 kB / 320.9 MB, free: 364 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.3247, allocations: 339.2 kB / 321.3 MB, free: 24 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.3258, allocations: 474.9 kB / 321.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.326, allocations: 64.69 kB / 321.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008563/0.3269, allocations: 299.1 kB / 322.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.3272, allocations: 163.3 kB / 322.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.3273, allocations: 16 kB / 322.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.3277, allocations: 47.98 kB / 322.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3278, allocations: 71.78 kB / 322.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.328, allocations: 89.58 kB / 322.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006531/0.3286, allocations: 364 kB / 322.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3286, allocations: 0 / 322.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3287, allocations: 3.938 kB / 322.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3287, allocations: 4 kB / 322.8 MB, free: 14.46 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009884/0.3297, allocations: 0.5145 MB / 323.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.3297, allocations: 8.031 kB / 323.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.3298, allocations: 62.48 kB / 323.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.3302, allocations: 43.61 kB / 323.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.3307, allocations: 278.5 kB / 323.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.3308, allocations: 24.52 kB / 323.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.3308, allocations: 24 kB / 323.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.3316, allocations: 317.3 kB / 324.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.3316, allocations: 0 / 324.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.3317, allocations: 16 kB / 324.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.3317, allocations: 8 kB / 324.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.3322, allocations: 193.5 kB / 324.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.3351, allocations: 1.732 MB / 326 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.3355, allocations: 130.6 kB / 326.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.3357, allocations: 166.2 kB / 326.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.3358, allocations: 34.56 kB / 326.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.815e-06/0.3358, allocations: 4 kB / 326.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.002715/0.3385, allocations: 0.8029 MB / 327.2 MB, free: 9.711 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.3386, allocations: 55.41 kB / 327.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.3391, allocations: 278.5 kB / 327.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.3391, allocations: 29.7 kB / 327.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.3393, allocations: 187.6 kB / 327.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.923e-05/0.3394, allocations: 86.83 kB / 327.8 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.3394, allocations: 8 kB / 327.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3396, allocations: 338.8 kB / 328.1 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.3398, allocations: 67.97 kB / 328.2 MB, free: 8.641 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.3402, allocations: 187.4 kB / 328.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.3405, allocations: 102.5 kB / 328.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3405, allocations: 0 / 328.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008627/0.3413, allocations: 321.8 kB / 328.8 MB, free: 7.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.3414, allocations: 11.94 kB / 328.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.3414, allocations: 7.984 kB / 328.8 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/0.3415, allocations: 20.86 kB / 328.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/0.3421, allocations: 84.39 kB / 328.9 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.3436, allocations: 1.303 MB / 330.2 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.344, allocations: 24.11 kB / 330.2 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.3441, allocations: 24 kB / 330.3 MB, free: 6.375 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.3444, allocations: 149.8 kB / 330.4 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-05/0.3445, allocations: 27.66 kB / 330.4 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/0.345, allocations: 210.5 kB / 330.6 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3451, allocations: 8 kB / 330.6 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3451, allocations: 0 / 330.6 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005554/0.3456, allocations: 475.8 kB / 331.1 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.3474, allocations: 0.7798 MB / 331.9 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.3474, allocations: 4 kB / 331.9 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.3477, allocations: 47.91 kB / 331.9 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.3478, allocations: 7.938 kB / 331.9 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.3478, allocations: 4 kB / 331.9 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.3478, allocations: 4 kB / 332 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.3478, allocations: 4 kB / 332 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007074/0.3485, allocations: 402.6 kB / 332.3 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.3487, allocations: 112.8 kB / 332.5 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.3488, allocations: 8 kB / 332.5 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.3492, allocations: 11.98 kB / 332.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.3493, allocations: 23.98 kB / 332.5 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.3493, allocations: 15.98 kB / 332.5 MB, free: 3.852 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003067/0.3497, allocations: 198 kB / 332.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3497, allocations: 0 / 332.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006596/0.3503, allocations: 99.95 kB / 332.8 MB, free: 3.559 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.001181/0.3515, allocations: 0.9616 MB / 333.8 MB, free: 2.543 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007658/0.3523, allocations: 294.4 kB / 334.1 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3524, allocations: 1.062 kB / 334.1 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.3526, allocations: 76.36 kB / 334.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.3541, allocations: 149.1 kB / 334.3 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.3579, allocations: 1.769 MB / 336 MB, free: 124 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.3584, allocations: 0.7641 MB / 336.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004832/0.3589, allocations: 57.52 kB / 336.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.3592, allocations: 91.41 kB / 337 MB, free: 15.19 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3592, allocations: 0 / 337 MB, free: 15.19 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.4028, allocations: 7.935 MB / 344.9 MB, free: 7.277 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/0.4032, allocations: 242.4 kB / 345.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/3.178, allocations: 0 / 345.1 MB, free: 7.035 MB / 282.7 MB