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.MoistAir.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.MoistAir,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.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.263/2.263, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004392, allocations: 15.98 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4796/0.8094, allocations: 127.9 MB / 497 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.8246, allocations: 11.27 MB / 0.4964 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.825, allocations: 2.875 kB / 0.4964 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.8253, allocations: 60.8 kB / 0.4965 GB, free: 12.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008487/0.8338, allocations: 2.511 MB / 0.4989 GB, free: 12.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.8343, allocations: 153.8 kB / 0.4991 GB, free: 12.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000655/0.835, allocations: 337.8 kB / 0.4994 GB, free: 12.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.177e-05/0.8351, allocations: 17.16 kB / 0.4994 GB, free: 12.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004528/0.8356, allocations: 228.2 kB / 0.4996 GB, free: 12.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007586/0.8363, allocations: 316.2 kB / 0.4999 GB, free: 11.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.8364, allocations: 10.44 kB / 0.4999 GB, free: 11.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00988/0.8463, allocations: 4.261 MB / 0.5041 GB, free: 11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.8465, allocations: 89.42 kB / 0.5042 GB, free: 10.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.8467, allocations: 77.77 kB / 0.5042 GB, free: 10.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004288/0.851, allocations: 1.578 MB / 0.5058 GB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.183e-06/0.851, allocations: 8.609 kB / 0.5058 GB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.851, allocations: 3.938 kB / 0.5058 GB, free: 10.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.851, allocations: 0 / 0.5058 GB, free: 10.38 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003104/0.8542, allocations: 1.061 MB / 0.5068 GB, free: 9.613 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.8542, allocations: 10.44 kB / 0.5068 GB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.8544, allocations: 43.39 kB / 0.5069 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.8548, allocations: 243.4 kB / 0.5071 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.855, allocations: 129.5 kB / 0.5072 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.8551, allocations: 32.23 kB / 0.5073 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009895/0.8561, allocations: 0.5751 MB / 0.5078 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.8561, allocations: 0 / 0.5078 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.8562, allocations: 14.03 kB / 0.5078 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.19e-05/0.8563, allocations: 35.5 kB / 0.5079 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.858, allocations: 1.258 MB / 0.5091 GB, free: 8.711 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.003135/0.8611, allocations: 2.047 MB / 0.5111 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008126/0.8619, allocations: 271.6 kB / 0.5114 GB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004279/0.8662, allocations: 3.075 MB / 0.5144 GB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.8663, allocations: 35.28 kB / 0.5144 GB, free: 4.133 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.439e-06/0.8663, allocations: 0 / 0.5144 GB, free: 4.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002359/0.8687, allocations: 0.7904 MB / 0.5152 GB, free: 3.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.8688, allocations: 60.28 kB / 0.5152 GB, free: 3.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.869, allocations: 204.2 kB / 0.5154 GB, free: 3.555 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.8691, allocations: 33.23 kB / 0.5155 GB, free: 3.523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.8693, allocations: 259.9 kB / 0.5157 GB, free: 3.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.8695, allocations: 155.3 kB / 0.5159 GB, free: 3.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.8695, allocations: 11.84 kB / 0.5159 GB, free: 3.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.8697, allocations: 339.2 kB / 0.5162 GB, free: 2.855 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.87, allocations: 101 kB / 0.5163 GB, free: 2.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.8705, allocations: 418.4 kB / 0.5167 GB, free: 2.406 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.8709, allocations: 174 kB / 0.5169 GB, free: 2.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.8709, allocations: 8.828 kB / 0.5169 GB, free: 2.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001258/0.8722, allocations: 0.5568 MB / 0.5174 GB, free: 2.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.8722, allocations: 10.78 kB / 0.5174 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.8722, allocations: 11.62 kB / 0.5174 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.8723, allocations: 15.62 kB / 0.5174 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009234/0.8732, allocations: 208.4 kB / 0.5176 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009226/0.8741, allocations: 1.196 MB / 0.5188 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.8746, allocations: 26.38 kB / 0.5188 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.8748, allocations: 65.91 kB / 0.5189 GB, free: 0.9219 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002635/0.875, allocations: 173.4 kB / 0.5191 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.8752, allocations: 31.42 kB / 0.5191 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.8771, allocations: 0.6505 MB / 0.5197 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.8772, allocations: 6.516 kB / 0.5197 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.326e-06/0.8772, allocations: 2.531 kB / 0.5197 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.8772, allocations: 3.984 kB / 0.5197 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.8785, allocations: 0.6563 MB / 0.5204 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.837e-06/0.8785, allocations: 0 / 0.5204 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.8791, allocations: 98.66 kB / 0.5205 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.8791, allocations: 6.641 kB / 0.5205 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.8792, allocations: 20.08 kB / 0.5205 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008506/0.88, allocations: 1.167 MB / 0.5216 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.88, allocations: 3.953 kB / 0.5216 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.8806, allocations: 347.5 kB / 0.522 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.8809, allocations: 147.7 kB / 0.5221 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.536e-05/0.881, allocations: 8.25 kB / 0.5221 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.8814, allocations: 19.73 kB / 0.5221 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.8814, allocations: 31.27 kB / 0.5222 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/0.8815, allocations: 24.48 kB / 0.5222 GB, free: 14.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002096/0.8817, allocations: 173.1 kB / 0.5224 GB, free: 14.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.8817, allocations: 0 / 0.5224 GB, free: 14.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001822/0.8836, allocations: 0.5443 MB / 0.5229 GB, free: 14.25 MB / 426.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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002578/0.8862, allocations: 0.8317 MB / 0.5237 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.8874, allocations: 373.6 kB / 0.5241 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.392e-06/0.8875, allocations: 0 / 0.5241 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004979/0.888, allocations: 142 kB / 0.5242 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006731/0.8887, allocations: 94.03 kB / 0.5243 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.8902, allocations: 0.7803 MB / 0.525 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.8907, allocations: 0.7705 MB / 0.5258 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.8912, allocations: 94.69 kB / 0.5259 GB, free: 12.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.561e-06/0.8912, allocations: 0 / 0.5259 GB, free: 12.48 MB / 426.7 MB Notification: Performance of Templates: time 0.02876/0.92, allocations: 15.02 MB / 0.5406 GB, free: 84 kB / 426.7 MB