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.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(ModelicaTest): time 2.273/2.273, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004375, allocations: 16 kB / 314.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2769, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4764/0.7534, allocations: 141.8 MB / 0.499 GB, free: 12.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.7667, allocations: 8.728 MB / 0.5075 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.7679, allocations: 28.12 kB / 0.5075 GB, free: 11.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00094/0.7688, allocations: 266.4 kB / 0.5078 GB, free: 11.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.7733, allocations: 1.181 MB / 0.5089 GB, free: 10.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.7767, allocations: 0.9042 MB / 0.5098 GB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.7788, allocations: 1.17 MB / 0.511 GB, free: 10.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007062/0.7795, allocations: 380.6 kB / 0.5113 GB, free: 10.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.7815, allocations: 0.7367 MB / 0.512 GB, free: 9.988 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008578/0.7823, allocations: 463.7 kB / 0.5125 GB, free: 9.832 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.7825, allocations: 28.72 kB / 0.5125 GB, free: 9.832 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.7845, allocations: 0.6376 MB / 0.5131 GB, free: 9.723 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003266/0.7848, allocations: 215.6 kB / 0.5133 GB, free: 9.645 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.7851, allocations: 167.3 kB / 0.5135 GB, free: 9.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.787, allocations: 0.9767 MB / 0.5145 GB, free: 9.117 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.111e-06/0.787, allocations: 0 / 0.5145 GB, free: 9.117 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.962e-06/0.7871, allocations: 1.969 kB / 0.5145 GB, free: 9.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.7871, allocations: 0 / 0.5145 GB, free: 9.117 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002537/0.7896, allocations: 0.9909 MB / 0.5154 GB, free: 8.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.7897, allocations: 10.84 kB / 0.5154 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.7908, allocations: 135.2 kB / 0.5156 GB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.7919, allocations: 0.4932 MB / 0.5161 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.792, allocations: 95.41 kB / 0.5161 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.7921, allocations: 50.55 kB / 0.5162 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.7938, allocations: 0.8186 MB / 0.517 GB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.7938, allocations: 3.938 kB / 0.517 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.7939, allocations: 29.31 kB / 0.517 GB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.098e-05/0.794, allocations: 42.61 kB / 0.5171 GB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.7954, allocations: 0.6259 MB / 0.5177 GB, free: 7.418 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.006036/0.8015, allocations: 3.921 MB / 0.5215 GB, free: 4.398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.8022, allocations: 343.5 kB / 0.5218 GB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.8e-05/0.8023, allocations: 31.5 kB / 0.5219 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.8024, allocations: 39.94 kB / 0.5219 GB, free: 4.281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.231e-06/0.8024, allocations: 0 / 0.5219 GB, free: 4.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.006397/0.8088, allocations: 1.633 MB / 0.5235 GB, free: 3.586 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/0.8089, allocations: 131.1 kB / 0.5236 GB, free: 3.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008975/0.8099, allocations: 0.5955 MB / 0.5242 GB, free: 3.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/0.81, allocations: 34.14 kB / 0.5242 GB, free: 3.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.8103, allocations: 414.2 kB / 0.5246 GB, free: 2.883 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.8105, allocations: 146.1 kB / 0.5248 GB, free: 2.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.8105, allocations: 14.12 kB / 0.5248 GB, free: 2.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.8107, allocations: 339.3 kB / 0.5251 GB, free: 2.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.8112, allocations: 200.7 kB / 0.5253 GB, free: 2.426 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007551/0.812, allocations: 0.5366 MB / 0.5258 GB, free: 1.945 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005921/0.8126, allocations: 295 kB / 0.5261 GB, free: 1.898 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.801e-06/0.8126, allocations: 10.33 kB / 0.5261 GB, free: 1.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001881/0.8145, allocations: 0.8516 MB / 0.5269 GB, free: 1.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.8146, allocations: 10.09 kB / 0.527 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.8146, allocations: 10.81 kB / 0.527 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/0.8163, allocations: 318.2 kB / 0.5273 GB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.8168, allocations: 128.1 kB / 0.5274 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.8182, allocations: 0.8985 MB / 0.5283 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008614/0.8191, allocations: 50.42 kB / 0.5283 GB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.8192, allocations: 65.75 kB / 0.5284 GB, free: 0.957 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004782/0.8197, allocations: 252.7 kB / 0.5286 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.8199, allocations: 68.84 kB / 0.5287 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.8219, allocations: 0.6815 MB / 0.5293 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.826e-06/0.822, allocations: 4.844 kB / 0.5294 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.822, allocations: 5.703 kB / 0.5294 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.822, allocations: 0 / 0.5294 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.8246, allocations: 1.261 MB / 0.5306 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.456e-06/0.8246, allocations: 2.438 kB / 0.5306 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.8259, allocations: 211.6 kB / 0.5308 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.8261, allocations: 22.44 kB / 0.5308 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.8262, allocations: 24.86 kB / 0.5308 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.8291, allocations: 2.687 MB / 0.5335 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.25e-06/0.8292, allocations: 6.531 kB / 0.5335 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.8309, allocations: 0.8026 MB / 0.5343 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/0.8313, allocations: 180 kB / 0.5344 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.8314, allocations: 10.69 kB / 0.5344 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/0.832, allocations: 28.06 kB / 0.5345 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.8321, allocations: 39.75 kB / 0.5345 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/0.8322, allocations: 44.3 kB / 0.5345 GB, free: 12.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006521/0.8329, allocations: 414 kB / 0.5349 GB, free: 12.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.8329, allocations: 4 kB / 0.5349 GB, free: 12.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001288/0.8342, allocations: 298.4 kB / 0.5352 GB, free: 12.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * 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: 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.8353, allocations: 367.2 kB / 0.5356 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.8368, allocations: 0.5472 MB / 0.5361 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.286e-06/0.8368, allocations: 6.812 kB / 0.5361 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.838, allocations: 395.4 kB / 0.5365 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.8398, allocations: 305.2 kB / 0.5368 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.8429, allocations: 1.615 MB / 0.5384 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007474/0.8437, allocations: 0.9448 MB / 0.5393 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.8442, allocations: 111.3 kB / 0.5394 GB, free: 10.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.752e-06/0.8442, allocations: 0 / 0.5394 GB, free: 10.06 MB / 426.7 MB Notification: Performance of Templates: time 0.03102/0.8753, allocations: 16.61 MB / 0.5556 GB, free: 9.609 MB / 442.7 MB