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.TestsWithFluid.MediaTestModels.Air.MoistAir.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.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 1.803/1.803, allocations: 209.2 MB / 224.8 MB, free: 1.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004368, allocations: 16 kB / 282.5 MB, free: 9.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08595, allocations: 48.7 MB / 331.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4455/0.5315, allocations: 155.5 MB / 486.7 MB, free: 9.746 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2941/0.8256, allocations: 10.5 MB / 497.2 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.8267, allocations: 24.53 kB / 497.2 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.8279, allocations: 330.4 kB / 497.5 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00701/0.835, allocations: 1.977 MB / 499.5 MB, free: 2.391 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006324/0.8413, allocations: 1.702 MB / 0.4894 GB, free: 2.359 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.844, allocations: 1.344 MB / 0.4907 GB, free: 2.352 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009666/0.845, allocations: 0.5027 MB / 0.4912 GB, free: 2.293 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/0.849, allocations: 1.367 MB / 0.4926 GB, free: 2.273 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.8504, allocations: 0.6097 MB / 0.4932 GB, free: 2.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.8506, allocations: 47.33 kB / 0.4932 GB, free: 2.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.8612, allocations: 4.442 MB / 0.4976 GB, free: 2.266 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007591/0.862, allocations: 345.9 kB / 0.4979 GB, free: 2.266 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006392/0.8627, allocations: 210.1 kB / 0.4981 GB, free: 18.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006259/0.8689, allocations: 2.394 MB / 0.5004 GB, free: 18.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.561e-06/0.869, allocations: 0 / 0.5004 GB, free: 18.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.02e-06/0.869, allocations: 3.844 kB / 0.5004 GB, free: 18.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.592e-05/0.869, allocations: 2.281 kB / 0.5004 GB, free: 18.06 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004622/0.8737, allocations: 1.536 MB / 0.5019 GB, free: 17.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.8737, allocations: 8.125 kB / 0.5019 GB, free: 17.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005824/0.8743, allocations: 117.9 kB / 0.502 GB, free: 17.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.8756, allocations: 0.5816 MB / 0.5026 GB, free: 16.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.8758, allocations: 121.1 kB / 0.5027 GB, free: 16.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.876, allocations: 68.03 kB / 0.5028 GB, free: 16.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/0.8786, allocations: 1.164 MB / 0.5039 GB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.8787, allocations: 1.125 kB / 0.5039 GB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.8788, allocations: 34.72 kB / 0.504 GB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.8789, allocations: 56.75 kB / 0.504 GB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.8813, allocations: 1.166 MB / 0.5052 GB, free: 16.62 MB / 426.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.008464/0.8898, allocations: 4.749 MB / 0.5098 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.892, allocations: 0.7789 MB / 0.5106 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002184/0.8943, allocations: 1.562 MB / 0.5121 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.8943, allocations: 42.03 kB / 0.5121 GB, free: 12.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 4.119e-06/0.8944, allocations: 0 / 0.5121 GB, free: 12.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.01564/0.91, allocations: 4.032 MB / 0.5161 GB, free: 11.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.888e-05/0.9101, allocations: 114.3 kB / 0.5162 GB, free: 11.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/0.9111, allocations: 0.6148 MB / 0.5168 GB, free: 10.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.9113, allocations: 42.11 kB / 0.5168 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.9116, allocations: 439.2 kB / 0.5172 GB, free: 10.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.912, allocations: 285.2 kB / 0.5175 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.9121, allocations: 24.38 kB / 0.5175 GB, free: 10.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.9123, allocations: 353.5 kB / 0.5179 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.9136, allocations: 475.5 kB / 0.5183 GB, free: 10.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.9151, allocations: 0.7925 MB / 0.5191 GB, free: 9.574 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.9165, allocations: 0.5776 MB / 0.5197 GB, free: 9.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.9165, allocations: 6.734 kB / 0.5197 GB, free: 9.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004196/0.9208, allocations: 1.639 MB / 0.5213 GB, free: 9.207 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.9208, allocations: 11.38 kB / 0.5213 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.9208, allocations: 7.406 kB / 0.5213 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00882/0.9297, allocations: 1.374 MB / 0.5226 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008771/0.9306, allocations: 172.2 kB / 0.5228 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.934, allocations: 1.51 MB / 0.5243 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.9354, allocations: 99.83 kB / 0.5244 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.9356, allocations: 59.58 kB / 0.5244 GB, free: 8.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0006771/0.9363, allocations: 301.6 kB / 0.5247 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.9366, allocations: 80.69 kB / 0.5248 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004427/0.941, allocations: 1.616 MB / 0.5264 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.9411, allocations: 9.094 kB / 0.5264 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.683e-06/0.9411, allocations: 4 kB / 0.5264 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.9411, allocations: 5.953 kB / 0.5264 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00583/0.947, allocations: 2.476 MB / 0.5288 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.947, allocations: 3.438 kB / 0.5288 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/0.9487, allocations: 258 kB / 0.529 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002335/0.951, allocations: 397.7 kB / 0.5294 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/0.9513, allocations: 36.16 kB / 0.5295 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/0.9547, allocations: 2.261 MB / 0.5317 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.791e-06/0.9548, allocations: 2.875 kB / 0.5317 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/0.9596, allocations: 1.965 MB / 0.5336 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008096/0.9605, allocations: 291.6 kB / 0.5339 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.9607, allocations: 22.34 kB / 0.5339 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.9618, allocations: 71.09 kB / 0.5339 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.9621, allocations: 65.14 kB / 0.534 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.9622, allocations: 48.56 kB / 0.5341 GB, free: 3.652 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007485/0.963, allocations: 459.1 kB / 0.5345 GB, free: 3.488 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.16e-07/0.963, allocations: 8.266 kB / 0.5345 GB, free: 3.484 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002734/0.9657, allocations: 0.6846 MB / 0.5352 GB, free: 3.363 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[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 (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003053/0.9688, allocations: 0.8698 MB / 0.536 GB, free: 3.016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003398/0.9723, allocations: 1.222 MB / 0.5372 GB, free: 2.816 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.9723, allocations: 1.375 kB / 0.5372 GB, free: 2.816 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.9745, allocations: 0.6841 MB / 0.5379 GB, free: 2.434 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.9772, allocations: 412.3 kB / 0.5383 GB, free: 2.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/0.9835, allocations: 2.551 MB / 0.5408 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009747/0.9845, allocations: 1.065 MB / 0.5418 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.9852, allocations: 98.66 kB / 0.5419 GB, free: 14.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.808e-06/0.9852, allocations: 1.859 kB / 0.5419 GB, free: 14.62 MB / 442.7 MB Notification: Performance of Templates: time 0.0569/1.042, allocations: 28.26 MB / 0.5695 GB, free: 2.543 MB / 458.7 MB