Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003429, allocations: 8 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07882/0.07918, allocations: 44.49 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4015/0.4807, allocations: 137.2 MB / 445.5 MB, free: 2.098 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.4842, allocations: 1.943 MB / 447.5 MB, free: 152 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.4846, allocations: 7.938 kB / 447.5 MB, free: 144 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000559/0.4851, allocations: 135.3 kB / 447.6 MB, free: 8 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008168/0.486, allocations: 275.1 kB / 447.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.487, allocations: 271.5 kB / 448.1 MB, free: 15.47 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007305/0.4878, allocations: 498.9 kB / 448.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.488, allocations: 73.55 kB / 448.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.4892, allocations: 438.8 kB / 449.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.4895, allocations: 175.4 kB / 449.3 MB, free: 14.31 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.4896, allocations: 16 kB / 449.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.49, allocations: 99.88 kB / 449.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.4901, allocations: 75.78 kB / 449.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.4903, allocations: 89.52 kB / 449.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.4909, allocations: 398.9 kB / 450 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.22e-06/0.4909, allocations: 8 kB / 450 MB, free: 13.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4909, allocations: 0 / 450 MB, free: 13.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.4909, allocations: 0 / 450 MB, free: 13.63 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008881/0.4918, allocations: 0.5145 MB / 450.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4919, allocations: 12.03 kB / 450.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003588/0.4923, allocations: 47.55 kB / 450.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.4927, allocations: 266.7 kB / 450.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.4928, allocations: 16.56 kB / 450.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.4928, allocations: 27.94 kB / 450.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/0.4935, allocations: 320.4 kB / 451.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.4935, allocations: 7.906 kB / 451.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/0.4936, allocations: 16 kB / 451.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.4936, allocations: 4 kB / 451.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/0.4941, allocations: 205.5 kB / 451.4 MB, free: 12.1 MB / 346.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.002327/0.4965, allocations: 1.57 MB / 452.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.4969, allocations: 174.8 kB / 453.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.497, allocations: 7.984 kB / 453.1 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.497, allocations: 43.3 kB / 453.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.305e-06/0.497, allocations: 0 / 453.2 MB, free: 10.14 MB / 346.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.006589/0.5036, allocations: 1.619 MB / 454.8 MB, free: 8.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.5037, allocations: 55.34 kB / 454.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.5041, allocations: 256.8 kB / 455.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.5042, allocations: 33.7 kB / 455.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.5044, allocations: 234.7 kB / 455.4 MB, free: 7.797 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.5045, allocations: 94.64 kB / 455.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.5045, allocations: 4 kB / 455.5 MB, free: 7.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5047, allocations: 326.8 kB / 455.8 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.505, allocations: 83.97 kB / 455.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.5053, allocations: 188 kB / 456 MB, free: 7.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.5056, allocations: 115.9 kB / 456.1 MB, free: 6.949 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.97e-06/0.5056, allocations: 0 / 456.1 MB, free: 6.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009477/0.5066, allocations: 387.5 kB / 456.5 MB, free: 6.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.5066, allocations: 8 kB / 456.5 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.5066, allocations: 4 kB / 456.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.5069, allocations: 77.61 kB / 456.6 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.5074, allocations: 83.89 kB / 456.7 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.5094, allocations: 1.853 MB / 458.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.5098, allocations: 23.97 kB / 458.6 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.5099, allocations: 51.94 kB / 458.6 MB, free: 4.301 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002648/0.5102, allocations: 145.8 kB / 458.8 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.5103, allocations: 23.72 kB / 458.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.5116, allocations: 447.5 kB / 459.2 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.302e-06/0.5117, allocations: 0 / 459.2 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5117, allocations: 7.953 kB / 459.2 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007916/0.5125, allocations: 0.5513 MB / 459.8 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.5139, allocations: 0.7271 MB / 460.5 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.5139, allocations: 3.938 kB / 460.5 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.5144, allocations: 75.88 kB / 460.6 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.5145, allocations: 20.84 kB / 460.6 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.5146, allocations: 16.05 kB / 460.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.5159, allocations: 1.284 MB / 461.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.843e-06/0.5159, allocations: 4.25 kB / 461.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/0.5169, allocations: 490.5 kB / 462.4 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.517, allocations: 104.8 kB / 462.5 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.5171, allocations: 4 kB / 462.5 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.5175, allocations: 20.05 kB / 462.5 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.5175, allocations: 23.97 kB / 462.5 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/0.5176, allocations: 35.94 kB / 462.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002748/0.5179, allocations: 182 kB / 462.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.078e-06/0.5179, allocations: 4 kB / 462.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006951/0.5186, allocations: 123.9 kB / 462.9 MB, free: 15.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004457/0.5191, allocations: 155.1 kB / 463 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008786/0.52, allocations: 378.9 kB / 463.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.52, allocations: 0 / 463.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.5204, allocations: 238.4 kB / 463.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.5215, allocations: 157.3 kB / 463.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.5231, allocations: 0.8505 MB / 464.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.5237, allocations: 0.7762 MB / 465.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.524, allocations: 71.41 kB / 465.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.905e-06/0.5241, allocations: 7.938 kB / 465.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of Templates: time 0.01405/0.5381, allocations: 7.477 MB / 473 MB, free: 5.504 MB / 362.7 MB