Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(Modelica): time 1.63/1.63, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003485, allocations: 8 kB / 233.2 MB, free: 3.039 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06864/0.06901, allocations: 38.77 MB / 271.9 MB, free: 12.17 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4155/0.4845, allocations: 137.1 MB / 409.1 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005776/0.4904, allocations: 1.942 MB / 411 MB, free: 4.113 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.4909, allocations: 4 kB / 411 MB, free: 4.109 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009244/0.4918, allocations: 143.3 kB / 411.1 MB, free: 3.969 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.4932, allocations: 275.1 kB / 411.4 MB, free: 3.699 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.4951, allocations: 271.4 kB / 411.7 MB, free: 3.434 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.4964, allocations: 494.9 kB / 412.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.4967, allocations: 76.14 kB / 412.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.4986, allocations: 434.8 kB / 412.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004763/0.4991, allocations: 175.4 kB / 412.8 MB, free: 2.273 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.499e-05/0.4993, allocations: 15.94 kB / 412.8 MB, free: 2.258 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.4999, allocations: 99.92 kB / 412.9 MB, free: 2.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.5001, allocations: 75.78 kB / 413 MB, free: 2.086 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.5003, allocations: 93.52 kB / 413.1 MB, free: 1.988 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009973/0.5014, allocations: 410.5 kB / 413.5 MB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.919e-06/0.5014, allocations: 0 / 413.5 MB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.089e-06/0.5014, allocations: 4 kB / 413.5 MB, free: 1.586 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.272e-06/0.5014, allocations: 0 / 413.5 MB, free: 1.586 MB / 330.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.001416/0.5029, allocations: 0.5183 MB / 414 MB, free: 1.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5029, allocations: 11.97 kB / 414 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/0.5036, allocations: 39.7 kB / 414.1 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.5044, allocations: 282.5 kB / 414.4 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.5044, allocations: 20.56 kB / 414.4 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.452e-05/0.5046, allocations: 31.94 kB / 414.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.5057, allocations: 307.7 kB / 414.7 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.5058, allocations: 3.938 kB / 414.7 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.311e-05/0.5059, allocations: 12 kB / 414.7 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.5059, allocations: 11.95 kB / 414.7 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008404/0.5068, allocations: 205.6 kB / 414.9 MB, free: 44 kB / 330.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.003936/0.5107, allocations: 1.573 MB / 416.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/0.5115, allocations: 170.8 kB / 416.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-05/0.5116, allocations: 4 kB / 416.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/0.5116, allocations: 34.56 kB / 416.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 5.548e-06/0.5117, allocations: 3.938 kB / 416.7 MB, free: 14.09 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.0118/0.5235, allocations: 1.633 MB / 418.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.5236, allocations: 55.41 kB / 418.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.5242, allocations: 248.9 kB / 418.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.913e-05/0.5243, allocations: 29.7 kB / 418.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.5246, allocations: 238.6 kB / 418.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.5248, allocations: 102.6 kB / 419 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.5249, allocations: 8 kB / 419 MB, free: 11.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.5251, allocations: 322.8 kB / 419.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.5256, allocations: 87.95 kB / 419.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/0.5262, allocations: 191.5 kB / 419.6 MB, free: 11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.5268, allocations: 124.4 kB / 419.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.234e-06/0.5268, allocations: 4 kB / 419.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001664/0.5285, allocations: 379.2 kB / 420.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.5285, allocations: 8 kB / 420.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.5286, allocations: 3.938 kB / 420.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/0.5291, allocations: 77.64 kB / 420.2 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.5299, allocations: 83.83 kB / 420.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.5329, allocations: 1.856 MB / 422.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/0.5336, allocations: 24.33 kB / 422.2 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.5338, allocations: 39.98 kB / 422.2 MB, free: 8.238 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.0003987/0.5342, allocations: 149.7 kB / 422.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.5344, allocations: 35.62 kB / 422.4 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.5368, allocations: 437.7 kB / 422.8 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.5369, allocations: 11.98 kB / 422.8 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.93e-06/0.5369, allocations: 0 / 422.8 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001318/0.5382, allocations: 0.563 MB / 423.4 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.5407, allocations: 0.7154 MB / 424.1 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.5408, allocations: 3.953 kB / 424.1 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007387/0.5415, allocations: 71.95 kB / 424.2 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/0.5417, allocations: 20.84 kB / 424.2 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.5418, allocations: 12 kB / 424.2 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.5438, allocations: 1.292 MB / 425.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.931e-06/0.5438, allocations: 0 / 425.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.5455, allocations: 481.8 kB / 426 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.5457, allocations: 104.8 kB / 426.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5459, allocations: 8 kB / 426.1 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.5465, allocations: 19.97 kB / 426.1 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/0.5466, allocations: 23.91 kB / 426.1 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.5468, allocations: 31.98 kB / 426.1 MB, free: 3.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004589/0.5472, allocations: 190 kB / 426.3 MB, free: 3.742 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.229e-06/0.5473, allocations: 0 / 426.3 MB, free: 3.742 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001278/0.5486, allocations: 120 kB / 426.4 MB, free: 3.625 MB / 346.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.0007249/0.5493, allocations: 159.1 kB / 426.6 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.5508, allocations: 375.2 kB / 427 MB, free: 3.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.756e-06/0.5508, allocations: 0 / 427 MB, free: 3.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007049/0.5516, allocations: 234.5 kB / 427.2 MB, free: 2.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.5536, allocations: 157.5 kB / 427.4 MB, free: 2.684 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.5563, allocations: 0.866 MB / 428.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/0.557, allocations: 0.7687 MB / 429 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007006/0.5577, allocations: 75.41 kB / 429.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of SimCode: time 2.276e-06/0.5577, allocations: 0 / 429.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of Templates: time 0.2422/0.8, allocations: 7.485 MB / 436.5 MB, free: 125.1 MB / 346.7 MB