Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(Modelica): time 1.643/1.643, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 12 kB / 233.9 MB, free: 2.371 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08021/0.08059, allocations: 38.76 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5004/0.5811, allocations: 138.7 MB / 411.4 MB, free: 4.051 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.5856, allocations: 2.341 MB / 413.7 MB, free: 1.707 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.586, allocations: 7.938 kB / 413.7 MB, free: 1.699 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007416/0.5867, allocations: 159.3 kB / 413.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007114/0.5875, allocations: 235.3 kB / 414.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.5892, allocations: 414.9 kB / 414.5 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.5903, allocations: 0.5895 MB / 415.1 MB, free: 320 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.5906, allocations: 72.16 kB / 415.2 MB, free: 248 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.593, allocations: 0.7794 MB / 416 MB, free: 15.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.5934, allocations: 211.3 kB / 416.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.5936, allocations: 16 kB / 416.2 MB, free: 15.24 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.5951, allocations: 411.5 kB / 416.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.5954, allocations: 187.5 kB / 416.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.5956, allocations: 137.5 kB / 416.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.5971, allocations: 0.8344 MB / 417.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.5971, allocations: 0 / 417.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5971, allocations: 0 / 417.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.5972, allocations: 0 / 417.7 MB, free: 13.68 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.001612/0.5988, allocations: 0.6938 MB / 418.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5988, allocations: 8.031 kB / 418.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009718/0.5998, allocations: 139.3 kB / 418.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007742/0.6006, allocations: 365.3 kB / 418.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.6007, allocations: 29 kB / 419 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.997e-05/0.6008, allocations: 36 kB / 419 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.6022, allocations: 0.5615 MB / 419.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.6023, allocations: 3.953 kB / 419.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.6024, allocations: 20 kB / 419.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.6024, allocations: 12.86 kB / 419.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.6035, allocations: 446.3 kB / 420 MB, free: 11.28 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.004203/0.6077, allocations: 1.83 MB / 421.9 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.6081, allocations: 150.6 kB / 422 MB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.6081, allocations: 8.234 kB / 422 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.6082, allocations: 38.56 kB / 422 MB, free: 9.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.976e-06/0.6082, allocations: 0 / 422 MB, free: 9.102 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.01222/0.6204, allocations: 1.693 MB / 423.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.6205, allocations: 55.41 kB / 423.8 MB, free: 7.191 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.6219, allocations: 477.6 kB / 424.3 MB, free: 6.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-05/0.622, allocations: 29.7 kB / 424.3 MB, free: 6.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/0.6224, allocations: 318.3 kB / 424.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.6226, allocations: 90.81 kB / 424.7 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.6227, allocations: 12 kB / 424.7 MB, free: 6.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002842/0.623, allocations: 358.8 kB / 425.1 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/0.6236, allocations: 137.2 kB / 425.2 MB, free: 5.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.6247, allocations: 432.5 kB / 425.6 MB, free: 5.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.6258, allocations: 228.3 kB / 425.8 MB, free: 4.984 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/0.6258, allocations: 4 kB / 425.8 MB, free: 4.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002782/0.6286, allocations: 0.6279 MB / 426.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.6287, allocations: 12.16 kB / 426.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.6288, allocations: 12 kB / 426.5 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.6291, allocations: 61.69 kB / 426.5 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.6303, allocations: 139.8 kB / 426.7 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.6329, allocations: 1.848 MB / 428.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.6337, allocations: 36.19 kB / 428.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.6338, allocations: 36 kB / 428.6 MB, free: 2.035 MB / 346.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.0003625/0.6341, allocations: 217.5 kB / 428.8 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.6343, allocations: 43.53 kB / 428.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/0.6351, allocations: 290.8 kB / 429.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007047/0.6358, allocations: 0.5241 MB / 429.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6358, allocations: 0 / 429.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.636, allocations: 124.5 kB / 429.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.6361, allocations: 4 kB / 429.8 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/0.6367, allocations: 15.98 kB / 429.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.6367, allocations: 19.92 kB / 429.8 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001112/0.6379, allocations: 321.6 kB / 430.1 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.218/0.8558, allocations: 484.8 kB / 430.6 MB, free: 126.8 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002499/0.8561, allocations: 87.42 kB / 430.7 MB, free: 126.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006351/0.8568, allocations: 323.5 kB / 431 MB, free: 126.7 MB / 346.7 MB Notification: Performance of Backend: time 8.51e-07/0.8568, allocations: 0 / 431 MB, free: 126.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.8602, allocations: 0.7562 MB / 431.8 MB, free: 126.6 MB / 346.7 MB Notification: Performance of SimCode: time 0.003131/0.8633, allocations: 1.61 MB / 433.4 MB, free: 125.6 MB / 346.7 MB Notification: Performance of Templates: time 0.0304/0.8938, allocations: 12.07 MB / 445.5 MB, free: 121.1 MB / 346.7 MB