Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 1.905/1.905, allocations: 209.3 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005165/0.0005167, allocations: 15.98 kB / 282.5 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3829, allocations: 48.7 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004998/0.388, allocations: 4.036 MB / 335.2 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004671/0.3927, allocations: 3.69 MB / 338.9 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.393, allocations: 1.375 kB / 338.9 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.3932, allocations: 41.02 kB / 339 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.3951, allocations: 0.5752 MB / 339.5 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.3956, allocations: 154 kB / 339.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.3962, allocations: 260.9 kB / 339.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.3962, allocations: 13.94 kB / 339.9 MB, free: 0.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.3965, allocations: 140.5 kB / 340.1 MB, free: 440 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.3967, allocations: 115.4 kB / 340.2 MB, free: 380 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.3968, allocations: 6.094 kB / 340.2 MB, free: 380 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.3979, allocations: 301.2 kB / 340.5 MB, free: 288 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.398, allocations: 45.25 kB / 340.5 MB, free: 256 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.289e-05/0.3981, allocations: 65.98 kB / 340.6 MB, free: 208 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.3987, allocations: 274.1 kB / 340.9 MB, free: 60 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3987, allocations: 0 / 340.9 MB, free: 60 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.3987, allocations: 0 / 340.9 MB, free: 60 kB / 266.7 MB Notification: Performance of Transformations before backend: time 6.437e-06/0.3987, allocations: 3.938 kB / 340.9 MB, free: 56 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001191/0.3999, allocations: 0.5372 MB / 341.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4, allocations: 9.094 kB / 341.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.4002, allocations: 32.17 kB / 341.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.4005, allocations: 218.7 kB / 341.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.4007, allocations: 129 kB / 341.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.4008, allocations: 17.5 kB / 341.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009576/0.4017, allocations: 328.3 kB / 342.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.4018, allocations: 1.344 kB / 342.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/0.4019, allocations: 10.84 kB / 342.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.402, allocations: 15.06 kB / 342.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.4032, allocations: 0.7304 MB / 342.9 MB, free: 14.59 MB / 282.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.001867/0.4051, allocations: 1.3 MB / 344.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.4055, allocations: 150.5 kB / 344.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003154/0.4087, allocations: 2.608 MB / 346.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.4088, allocations: 40.77 kB / 347 MB, free: 10.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 3.019e-06/0.4088, allocations: 0 / 347 MB, free: 10.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009034/0.4097, allocations: 238.9 kB / 347.2 MB, free: 10.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.4098, allocations: 53.47 kB / 347.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.41, allocations: 205.9 kB / 347.5 MB, free: 9.906 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.4101, allocations: 31.45 kB / 347.5 MB, free: 9.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.4103, allocations: 274.2 kB / 347.8 MB, free: 9.613 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.4104, allocations: 60.11 kB / 347.8 MB, free: 9.562 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.4104, allocations: 5.344 kB / 347.8 MB, free: 9.559 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4106, allocations: 330.3 kB / 348.2 MB, free: 9.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.4107, allocations: 46.34 kB / 348.2 MB, free: 9.215 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.4111, allocations: 319.7 kB / 348.5 MB, free: 8.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.4114, allocations: 102 kB / 348.6 MB, free: 8.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.275e-06/0.4114, allocations: 3.562 kB / 348.6 MB, free: 8.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007989/0.4122, allocations: 362.7 kB / 349 MB, free: 8.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.4122, allocations: 11.19 kB / 349 MB, free: 8.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.4123, allocations: 12.81 kB / 349 MB, free: 8.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/0.4123, allocations: 17.42 kB / 349 MB, free: 8.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.4128, allocations: 109.7 kB / 349.1 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-05/0.4129, allocations: 19.97 kB / 349.1 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.4132, allocations: 23.56 kB / 349.2 MB, free: 8.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.4133, allocations: 26.36 kB / 349.2 MB, free: 8.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001951/0.4135, allocations: 150.8 kB / 349.3 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.4136, allocations: 17.84 kB / 349.3 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.4142, allocations: 182.6 kB / 349.5 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.4142, allocations: 6.562 kB / 349.5 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.294e-06/0.4142, allocations: 3.953 kB / 349.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.197e-06/0.4142, allocations: 3.938 kB / 349.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.415, allocations: 447.3 kB / 350 MB, free: 7.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.248e-06/0.415, allocations: 1.281 kB / 350 MB, free: 7.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.4153, allocations: 27.95 kB / 350 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.479e-06/0.4153, allocations: 1.781 kB / 350 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.4153, allocations: 5.359 kB / 350 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4154, allocations: 4.031 kB / 350 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.001e-06/0.4154, allocations: 1.469 kB / 350 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.4157, allocations: 219.1 kB / 350.2 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.4159, allocations: 113.6 kB / 350.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.4159, allocations: 1.406 kB / 350.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.4162, allocations: 18.5 kB / 350.4 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.4163, allocations: 15.73 kB / 350.4 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.4163, allocations: 9.641 kB / 350.4 MB, free: 7.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.4165, allocations: 146.9 kB / 350.5 MB, free: 7.355 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.4165, allocations: 1.219 kB / 350.5 MB, free: 7.355 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007193/0.4173, allocations: 100.6 kB / 350.6 MB, free: 7.332 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 1 * 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.0002957/0.4176, allocations: 149.9 kB / 350.8 MB, free: 7.223 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004431/0.418, allocations: 178.6 kB / 351 MB, free: 7.148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.863e-06/0.4181, allocations: 0 / 351 MB, free: 7.148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.4182, allocations: 43.67 kB / 351 MB, free: 7.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.4187, allocations: 50.38 kB / 351 MB, free: 7.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.4198, allocations: 0.5415 MB / 351.6 MB, free: 6.688 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.4202, allocations: 0.7332 MB / 352.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.4203, allocations: 32.81 kB / 352.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4204, allocations: 4 kB / 352.4 MB, free: 5.949 MB / 282.7 MB Notification: Performance of Templates: time 0.008066/0.4284, allocations: 3.436 MB / 355.8 MB, free: 4.172 MB / 282.7 MB