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.IdealGases.SimpleNaturalGasFixedComposition.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.IdealGases.SimpleNaturalGasFixedComposition,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.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003691, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07813/0.07852, allocations: 44.5 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4073/0.4859, allocations: 138.8 MB / 447.2 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.4902, allocations: 2.361 MB / 449.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.4906, allocations: 0 / 449.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006676/0.4913, allocations: 171.2 kB / 449.7 MB, free: 14.03 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006291/0.4919, allocations: 231.3 kB / 449.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.4935, allocations: 415 kB / 450.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009459/0.4944, allocations: 0.5933 MB / 450.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.4946, allocations: 68.69 kB / 451 MB, free: 12.74 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.4967, allocations: 0.7873 MB / 451.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.4971, allocations: 215.2 kB / 452 MB, free: 11.74 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.4972, allocations: 20 kB / 452 MB, free: 11.72 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.4985, allocations: 427.5 kB / 452.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.4988, allocations: 203.5 kB / 452.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.499, allocations: 129.5 kB / 452.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.5004, allocations: 0.834 MB / 453.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.518e-06/0.5004, allocations: 0 / 453.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.659e-06/0.5004, allocations: 0 / 453.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.935e-06/0.5005, allocations: 0 / 453.6 MB, free: 10.13 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001392/0.5019, allocations: 0.7016 MB / 454.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.5019, allocations: 8.031 kB / 454.3 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008302/0.5027, allocations: 135.3 kB / 454.5 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006833/0.5035, allocations: 369.3 kB / 454.8 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.5035, allocations: 28.95 kB / 454.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/0.5036, allocations: 36 kB / 454.9 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.5049, allocations: 0.5577 MB / 455.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.5049, allocations: 3.938 kB / 455.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/0.505, allocations: 24 kB / 455.5 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.505, allocations: 8 kB / 455.5 MB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009534/0.506, allocations: 446.4 kB / 455.9 MB, free: 7.727 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.00429/0.5103, allocations: 2.043 MB / 457.9 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.5107, allocations: 148.2 kB / 458.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.5107, allocations: 12.22 kB / 458.1 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.5108, allocations: 34.56 kB / 458.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.923e-06/0.5108, allocations: 0 / 458.1 MB, free: 5.301 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=23): time 0.007336/0.5182, allocations: 1.692 MB / 459.8 MB, free: 3.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.5182, allocations: 55.41 kB / 459.9 MB, free: 3.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007708/0.519, allocations: 477.6 kB / 460.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.5191, allocations: 33.7 kB / 460.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.5194, allocations: 372.7 kB / 460.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.496e-05/0.5195, allocations: 90.73 kB / 460.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.5196, allocations: 16 kB / 460.9 MB, free: 2.395 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.5197, allocations: 334.8 kB / 461.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.5201, allocations: 137.2 kB / 461.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/0.5207, allocations: 428.5 kB / 461.7 MB, free: 1.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.5212, allocations: 227.8 kB / 462 MB, free: 1.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.95e-06/0.5212, allocations: 0 / 462 MB, free: 1.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001427/0.5226, allocations: 0.6092 MB / 462.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.5227, allocations: 16.06 kB / 462.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.5227, allocations: 8 kB / 462.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.523, allocations: 69.58 kB / 462.7 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.5236, allocations: 136.6 kB / 462.8 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.5257, allocations: 1.857 MB / 464.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.5263, allocations: 36.16 kB / 464.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/0.5264, allocations: 36 kB / 464.7 MB, free: 14.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * 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: 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.0003929/0.5268, allocations: 217.5 kB / 464.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.527, allocations: 43.53 kB / 465 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008198/0.5278, allocations: 290.8 kB / 465.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.193e-06/0.5278, allocations: 4 kB / 465.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.993e-06/0.5278, allocations: 0 / 465.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006991/0.5286, allocations: 0.5257 MB / 465.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.5301, allocations: 0.6977 MB / 466.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.065e-06/0.5301, allocations: 0.9375 kB / 466.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.5305, allocations: 59.84 kB / 466.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.5306, allocations: 28.8 kB / 466.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.5307, allocations: 0 / 466.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.532, allocations: 1.29 MB / 467.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.503e-06/0.532, allocations: 4.25 kB / 467.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009144/0.533, allocations: 431.5 kB / 468.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.5332, allocations: 116.7 kB / 468.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.5333, allocations: 0 / 468.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.5337, allocations: 15.98 kB / 468.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.5337, allocations: 24.03 kB / 468.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.5338, allocations: 12 kB / 468.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005421/0.5343, allocations: 327.1 kB / 468.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.5343, allocations: 0 / 468.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001083/0.5354, allocations: 207.9 kB / 469 MB, free: 9.609 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.001809/0.5373, allocations: 395.6 kB / 469.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.5385, allocations: 472.3 kB / 469.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.059e-06/0.5385, allocations: 0 / 469.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.5389, allocations: 206.6 kB / 470 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.5402, allocations: 217.6 kB / 470.2 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.5422, allocations: 1.075 MB / 471.3 MB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/0.5428, allocations: 0.8389 MB / 472.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.543, allocations: 43.44 kB / 472.2 MB, free: 6.309 MB / 362.7 MB Notification: Performance of SimCode: time 1.704e-06/0.543, allocations: 4 kB / 472.2 MB, free: 6.305 MB / 362.7 MB Notification: Performance of Templates: time 0.02208/0.5651, allocations: 12.06 MB / 484.3 MB, free: 10.25 MB / 378.7 MB