Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(Modelica): time 2.197/2.197, allocations: 194.9 MB / 211.7 MB, free: 2.867 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 15.94 kB / 264.6 MB, free: 12.88 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1022, allocations: 44.51 MB / 309.1 MB, free: 312 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.271/2.374, allocations: 0.7085 GB / 1.01 GB, free: 109.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/2.374, allocations: 95.78 kB / 1.01 GB, free: 109.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.958/5.332, allocations: 0.5735 GB / 1.584 GB, free: 27.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.29e-06/5.332, allocations: 0 / 1.584 GB, free: 27.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.86e-05/5.332, allocations: 19.94 kB / 1.584 GB, free: 27.89 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00325/5.336, allocations: 0.8265 MB / 1.585 GB, free: 27.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/5.336, allocations: 12.03 kB / 1.585 GB, free: 27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/5.337, allocations: 123.3 kB / 1.585 GB, free: 26.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/5.338, allocations: 369.3 kB / 1.585 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/5.339, allocations: 29 kB / 1.585 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/5.339, allocations: 36 kB / 1.585 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/5.341, allocations: 0.5381 MB / 1.586 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/5.341, allocations: 0 / 1.586 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/5.341, allocations: 28 kB / 1.586 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/5.341, allocations: 8 kB / 1.586 GB, free: 25.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/5.342, allocations: 422.3 kB / 1.586 GB, free: 25.41 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.006349/5.349, allocations: 2.028 MB / 1.588 GB, free: 23.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/5.349, allocations: 154.6 kB / 1.588 GB, free: 23.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-05/5.35, allocations: 4 kB / 1.588 GB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/5.35, allocations: 46.52 kB / 1.588 GB, free: 22.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 4.608e-06/5.35, allocations: 0 / 1.588 GB, free: 22.99 MB / 410.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.01371/5.363, allocations: 1.668 MB / 1.59 GB, free: 21.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/5.363, allocations: 55.41 kB / 1.59 GB, free: 21.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/5.364, allocations: 481.6 kB / 1.591 GB, free: 20.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/5.365, allocations: 29.7 kB / 1.591 GB, free: 20.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/5.365, allocations: 318.4 kB / 1.591 GB, free: 20.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/5.365, allocations: 86.8 kB / 1.591 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/5.365, allocations: 12 kB / 1.591 GB, free: 20.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/5.365, allocations: 354.8 kB / 1.591 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/5.366, allocations: 137.2 kB / 1.592 GB, free: 19.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/5.366, allocations: 432.5 kB / 1.592 GB, free: 19.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006954/5.367, allocations: 221.3 kB / 1.592 GB, free: 18.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/5.367, allocations: 8 kB / 1.592 GB, free: 18.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002136/5.369, allocations: 0.6319 MB / 1.593 GB, free: 18.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/5.369, allocations: 8 kB / 1.593 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/5.369, allocations: 12 kB / 1.593 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/5.37, allocations: 57.69 kB / 1.593 GB, free: 18.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/5.371, allocations: 139.8 kB / 1.593 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/5.373, allocations: 1.852 MB / 1.595 GB, free: 16.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/5.374, allocations: 32.28 kB / 1.595 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/5.374, allocations: 47.92 kB / 1.595 GB, free: 15.93 MB / 410.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.0004894/5.375, allocations: 209.5 kB / 1.595 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/5.375, allocations: 47.44 kB / 1.595 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/5.376, allocations: 294.9 kB / 1.595 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/5.376, allocations: 7.953 kB / 1.595 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/5.376, allocations: 0 / 1.595 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008502/5.377, allocations: 0.5278 MB / 1.596 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/5.379, allocations: 0.6904 MB / 1.597 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/5.379, allocations: 0 / 1.597 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007232/5.38, allocations: 55.97 kB / 1.597 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001598/5.38, allocations: 20.84 kB / 1.597 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/5.38, allocations: 15.92 kB / 1.597 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/5.382, allocations: 1.276 MB / 1.598 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/5.382, allocations: 4.062 kB / 1.598 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/5.383, allocations: 428.7 kB / 1.598 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/5.383, allocations: 120.6 kB / 1.598 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/5.384, allocations: 4 kB / 1.598 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/5.384, allocations: 12 kB / 1.598 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/5.384, allocations: 23.97 kB / 1.598 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/5.384, allocations: 19.98 kB / 1.598 GB, free: 11.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007489/5.385, allocations: 327.1 kB / 1.599 GB, free: 11.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.52e-07/5.385, allocations: 4 kB / 1.599 GB, free: 11.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002297/5.388, allocations: 287.8 kB / 1.599 GB, free: 11.25 MB / 410.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.004634/5.392, allocations: 1.089 MB / 1.6 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/5.394, allocations: 472.8 kB / 1.601 GB, free: 9.684 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/5.394, allocations: 4.062 kB / 1.601 GB, free: 9.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/5.395, allocations: 210.5 kB / 1.601 GB, free: 9.461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/5.398, allocations: 203.7 kB / 1.601 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/5.4, allocations: 1.031 MB / 1.602 GB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/5.401, allocations: 0.8276 MB / 1.603 GB, free: 7.348 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001379/5.402, allocations: 140.5 kB / 1.603 GB, free: 7.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/5.403, allocations: 47.44 kB / 1.603 GB, free: 7.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/5.403, allocations: 0 / 1.603 GB, free: 7.16 MB / 410.7 MB Notification: Performance of Templates: time 0.3729/5.776, allocations: 22.53 MB / 1.625 GB, free: 65.17 MB / 410.7 MB