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.TestsWithFluid.MediaTestModels.Air.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.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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.257/2.257, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007192/0.0007194, allocations: 15.98 kB / 314.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.39, allocations: 54.87 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5168/0.9068, allocations: 155.6 MB / 0.5125 GB, free: 10.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.924, allocations: 10.57 MB / 0.5228 GB, free: 8.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.9252, allocations: 30.03 kB / 0.5228 GB, free: 8.391 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.9264, allocations: 344.2 kB / 0.5231 GB, free: 8.234 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0074/0.9338, allocations: 1.973 MB / 0.5251 GB, free: 7.715 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006409/0.9403, allocations: 1.716 MB / 0.5268 GB, free: 7.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002446/0.9428, allocations: 1.355 MB / 0.5281 GB, free: 6.977 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.9438, allocations: 0.4896 MB / 0.5286 GB, free: 6.766 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.9478, allocations: 1.386 MB / 0.5299 GB, free: 6.387 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.9491, allocations: 0.6115 MB / 0.5305 GB, free: 6.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.9493, allocations: 43.56 kB / 0.5305 GB, free: 6.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/0.9593, allocations: 4.497 MB / 0.5349 GB, free: 5.074 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006897/0.9601, allocations: 349.3 kB / 0.5353 GB, free: 4.949 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.9605, allocations: 211.8 kB / 0.5355 GB, free: 4.891 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005946/0.9664, allocations: 2.403 MB / 0.5378 GB, free: 3.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.511e-06/0.9665, allocations: 0 / 0.5378 GB, free: 3.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.814e-06/0.9665, allocations: 0 / 0.5378 GB, free: 3.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.9665, allocations: 0 / 0.5378 GB, free: 3.852 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004672/0.9712, allocations: 1.535 MB / 0.5393 GB, free: 2.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.9713, allocations: 7.062 kB / 0.5393 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006101/0.9719, allocations: 118.8 kB / 0.5394 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.9733, allocations: 0.5844 MB / 0.54 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.9735, allocations: 114.6 kB / 0.5401 GB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.9737, allocations: 74.86 kB / 0.5402 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.9763, allocations: 1.158 MB / 0.5413 GB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.9763, allocations: 7.891 kB / 0.5413 GB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.9765, allocations: 35.27 kB / 0.5414 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.9766, allocations: 60.16 kB / 0.5414 GB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.9793, allocations: 1.159 MB / 0.5425 GB, free: 400 kB / 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.009399/0.9887, allocations: 5.008 MB / 0.5474 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.9908, allocations: 0.7855 MB / 0.5482 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/0.9926, allocations: 1.556 MB / 0.5497 GB, free: 9.602 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.9927, allocations: 40 kB / 0.5498 GB, free: 9.559 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 4.599e-06/0.9927, allocations: 0 / 0.5498 GB, free: 9.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.01686/1.01, allocations: 4.033 MB / 0.5537 GB, free: 6.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/1.01, allocations: 111.5 kB / 0.5538 GB, free: 6.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/1.011, allocations: 0.6269 MB / 0.5544 GB, free: 5.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/1.011, allocations: 40.64 kB / 0.5545 GB, free: 5.695 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/1.011, allocations: 425.8 kB / 0.5549 GB, free: 5.363 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/1.012, allocations: 288.1 kB / 0.5551 GB, free: 5.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-05/1.012, allocations: 23.62 kB / 0.5552 GB, free: 5.117 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/1.012, allocations: 354.2 kB / 0.5555 GB, free: 4.777 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/1.013, allocations: 477 kB / 0.556 GB, free: 4.465 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/1.015, allocations: 0.787 MB / 0.5567 GB, free: 3.719 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/1.017, allocations: 0.5869 MB / 0.5573 GB, free: 3.344 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.017, allocations: 4 kB / 0.5573 GB, free: 3.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00474/1.021, allocations: 1.644 MB / 0.5589 GB, free: 2.168 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/1.021, allocations: 8 kB / 0.5589 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/1.021, allocations: 8 kB / 0.5589 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009097/1.031, allocations: 1.373 MB / 0.5603 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009171/1.032, allocations: 169.9 kB / 0.5604 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/1.035, allocations: 1.505 MB / 0.5619 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/1.036, allocations: 88.86 kB / 0.562 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/1.037, allocations: 65.72 kB / 0.562 GB, free: 15.41 MB / 442.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.000693/1.037, allocations: 305.2 kB / 0.5623 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/1.038, allocations: 79.06 kB / 0.5624 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/1.042, allocations: 1.615 MB / 0.564 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/1.042, allocations: 11.98 kB / 0.564 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.594e-06/1.042, allocations: 4 kB / 0.564 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/1.042, allocations: 3.984 kB / 0.564 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005943/1.048, allocations: 2.484 MB / 0.5664 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.905e-06/1.048, allocations: 0 / 0.5664 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.05, allocations: 261.2 kB / 0.5667 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/1.052, allocations: 401.6 kB / 0.5671 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/1.053, allocations: 28.55 kB / 0.5671 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/1.056, allocations: 2.276 MB / 0.5693 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.412e-06/1.056, allocations: 0 / 0.5693 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/1.061, allocations: 1.953 MB / 0.5712 GB, free: 7.828 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007452/1.062, allocations: 299.1 kB / 0.5715 GB, free: 7.582 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.062, allocations: 24.11 kB / 0.5715 GB, free: 7.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00099/1.063, allocations: 69.86 kB / 0.5716 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/1.063, allocations: 66.98 kB / 0.5717 GB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.063, allocations: 46.47 kB / 0.5717 GB, free: 7.418 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007765/1.064, allocations: 457.7 kB / 0.5721 GB, free: 7.074 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.14e-06/1.064, allocations: 0 / 0.5721 GB, free: 7.074 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002713/1.067, allocations: 0.6952 MB / 0.5728 GB, free: 6.441 MB / 442.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.002873/1.07, allocations: 0.8671 MB / 0.5737 GB, free: 5.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003625/1.074, allocations: 1.212 MB / 0.5748 GB, free: 4.785 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.977e-06/1.074, allocations: 5.375 kB / 0.5749 GB, free: 4.781 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002248/1.076, allocations: 0.6814 MB / 0.5755 GB, free: 4.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/1.079, allocations: 429.5 kB / 0.5759 GB, free: 3.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006425/1.085, allocations: 2.551 MB / 0.5784 GB, free: 1.602 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009492/1.086, allocations: 1.057 MB / 0.5795 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/1.087, allocations: 110.3 kB / 0.5796 GB, free: 448 kB / 442.7 MB Notification: Performance of SimCode: time 1.702e-06/1.087, allocations: 0 / 0.5796 GB, free: 448 kB / 442.7 MB Notification: Performance of Templates: time 0.05252/1.139, allocations: 28.26 MB / 0.6072 GB, free: 4.301 MB / 474.7 MB