Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadModel(ModelicaTest): time 2.267/2.267, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007369/0.0007371, allocations: 12 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2887, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4833/0.7721, allocations: 126.3 MB / 495.5 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008571/0.7807, allocations: 6.811 MB / 0.4906 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.7809, allocations: 0 / 0.4906 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.7813, allocations: 64.86 kB / 0.4906 GB, free: 13.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.7868, allocations: 1.734 MB / 0.4923 GB, free: 13.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.7873, allocations: 141.2 kB / 0.4924 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005833/0.7879, allocations: 334.1 kB / 0.4928 GB, free: 13.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.956e-05/0.788, allocations: 18.28 kB / 0.4928 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.7886, allocations: 288 kB / 0.4931 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007842/0.7894, allocations: 367.9 kB / 0.4934 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.7894, allocations: 7.406 kB / 0.4934 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007409/0.7968, allocations: 2.65 MB / 0.496 GB, free: 12.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.7971, allocations: 152.6 kB / 0.4961 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.7972, allocations: 103.9 kB / 0.4962 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.8002, allocations: 1.253 MB / 0.4975 GB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.378e-06/0.8003, allocations: 0 / 0.4975 GB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.8003, allocations: 0 / 0.4975 GB, free: 12.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.8003, allocations: 4 kB / 0.4975 GB, free: 12.21 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002386/0.8027, allocations: 0.8477 MB / 0.4983 GB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.8027, allocations: 10.22 kB / 0.4983 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004499/0.8073, allocations: 0.5116 MB / 0.4988 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/0.808, allocations: 326.1 kB / 0.4991 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.8082, allocations: 131.6 kB / 0.4992 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.8084, allocations: 33.09 kB / 0.4993 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.8105, allocations: 1.117 MB / 0.5004 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.8105, allocations: 3.156 kB / 0.5004 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.8106, allocations: 16.44 kB / 0.5004 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.988e-05/0.8107, allocations: 54.09 kB / 0.5004 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/0.8148, allocations: 2.271 MB / 0.5027 GB, free: 10.2 MB / 410.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.004255/0.8191, allocations: 2.454 MB / 0.5051 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.8194, allocations: 127.4 kB / 0.5052 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/0.8214, allocations: 1.202 MB / 0.5063 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.8215, allocations: 33.22 kB / 0.5064 GB, free: 7.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.152e-06/0.8215, allocations: 0 / 0.5064 GB, free: 7.316 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=22): time 0.001479/0.823, allocations: 367.2 kB / 0.5067 GB, free: 7.207 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.823, allocations: 51.41 kB / 0.5068 GB, free: 7.145 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.8235, allocations: 349.7 kB / 0.5071 GB, free: 6.973 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.8235, allocations: 31.3 kB / 0.5071 GB, free: 6.941 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.8239, allocations: 409.4 kB / 0.5075 GB, free: 6.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.72e-05/0.824, allocations: 90.61 kB / 0.5076 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.824, allocations: 15.84 kB / 0.5076 GB, free: 6.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.8242, allocations: 345.7 kB / 0.508 GB, free: 6.207 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.8245, allocations: 117.8 kB / 0.5081 GB, free: 6.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.8251, allocations: 0.565 MB / 0.5086 GB, free: 5.551 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.8255, allocations: 233.7 kB / 0.5088 GB, free: 5.496 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.8255, allocations: 5.094 kB / 0.5089 GB, free: 5.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001703/0.8273, allocations: 0.7262 MB / 0.5096 GB, free: 5.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.8273, allocations: 14.84 kB / 0.5096 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.8273, allocations: 21.7 kB / 0.5096 GB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.513e-05/0.8274, allocations: 23.12 kB / 0.5096 GB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.8281, allocations: 186.4 kB / 0.5098 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000513/0.8286, allocations: 0.6142 MB / 0.5104 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.8293, allocations: 97.98 kB / 0.5105 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/0.8294, allocations: 58.06 kB / 0.5105 GB, free: 4.551 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002924/0.8297, allocations: 207.8 kB / 0.5107 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/0.8301, allocations: 90.66 kB / 0.5108 GB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/0.8309, allocations: 266.2 kB / 0.5111 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.516e-06/0.8309, allocations: 2.844 kB / 0.5111 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.307e-06/0.8309, allocations: 4 kB / 0.5111 GB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.8309, allocations: 3.953 kB / 0.5111 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.8322, allocations: 0.7403 MB / 0.5118 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.388e-06/0.8322, allocations: 2.844 kB / 0.5118 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.8324, allocations: 45.25 kB / 0.5119 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.192e-06/0.8325, allocations: 2.5 kB / 0.5119 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.8325, allocations: 7.812 kB / 0.5119 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004618/0.833, allocations: 0.5891 MB / 0.5124 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.86e-06/0.833, allocations: 10.69 kB / 0.5125 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.8334, allocations: 303.2 kB / 0.5127 GB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.8337, allocations: 134.3 kB / 0.5129 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.8337, allocations: 3.062 kB / 0.5129 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.8341, allocations: 14.11 kB / 0.5129 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.8342, allocations: 25.25 kB / 0.5129 GB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.8342, allocations: 17.3 kB / 0.5129 GB, free: 2.648 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002782/0.8345, allocations: 220.7 kB / 0.5131 GB, free: 2.539 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.8345, allocations: 0 / 0.5131 GB, free: 2.539 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001534/0.8361, allocations: 385.2 kB / 0.5135 GB, free: 2.477 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002056/0.8381, allocations: 0.5695 MB / 0.5141 GB, free: 2.223 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008602/0.839, allocations: 357.7 kB / 0.5144 GB, free: 2.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.812e-06/0.839, allocations: 0 / 0.5144 GB, free: 2.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.8392, allocations: 64.16 kB / 0.5145 GB, free: 2.109 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.8398, allocations: 69.94 kB / 0.5145 GB, free: 2.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.8413, allocations: 0.8557 MB / 0.5154 GB, free: 1.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.8418, allocations: 0.7915 MB / 0.5161 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.842, allocations: 56.95 kB / 0.5162 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/0.842, allocations: 0 / 0.5162 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of Templates: time 0.01967/0.8617, allocations: 10.56 MB / 0.5265 GB, free: 10.51 MB / 426.7 MB