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 1.867/1.867, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.08984, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5455/0.6354, allocations: 138.8 MB / 447.9 MB, free: 128 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.64, allocations: 2.357 MB / 450.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.6403, allocations: 4 kB / 450.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007844/0.6411, allocations: 163.2 kB / 450.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006953/0.6418, allocations: 239.3 kB / 450.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.6436, allocations: 416.1 kB / 451.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.6447, allocations: 0.5894 MB / 451.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.6449, allocations: 72.69 kB / 451.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.6474, allocations: 0.7833 MB / 452.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.6478, allocations: 219.3 kB / 452.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.648, allocations: 16 kB / 452.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.6495, allocations: 435.5 kB / 453.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.6498, allocations: 187.5 kB / 453.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.65, allocations: 137.5 kB / 453.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.6515, allocations: 0.8348 MB / 454.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.6516, allocations: 0 / 454.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6516, allocations: 0 / 454.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.6516, allocations: 0 / 454.3 MB, free: 9.699 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.001588/0.6532, allocations: 0.6977 MB / 455 MB, free: 8.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.6533, allocations: 8.031 kB / 455 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000963/0.6542, allocations: 139.3 kB / 455.2 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007635/0.655, allocations: 365.3 kB / 455.5 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.6551, allocations: 32.95 kB / 455.5 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6552, allocations: 36 kB / 455.6 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.6566, allocations: 0.5537 MB / 456.1 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.6566, allocations: 8 kB / 456.1 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.6567, allocations: 19.98 kB / 456.2 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.6568, allocations: 12 kB / 456.2 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.6578, allocations: 438.4 kB / 456.6 MB, free: 7.301 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.004971/0.6628, allocations: 2.047 MB / 458.6 MB, free: 5.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.6632, allocations: 152.4 kB / 458.8 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.6632, allocations: 7.984 kB / 458.8 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.6633, allocations: 38.56 kB / 458.8 MB, free: 4.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.825e-06/0.6633, allocations: 0 / 458.8 MB, free: 4.867 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.009785/0.6731, allocations: 1.682 MB / 460.5 MB, free: 3.031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.6732, allocations: 59.41 kB / 460.6 MB, free: 2.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007786/0.674, allocations: 481.6 kB / 461.1 MB, free: 2.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.674, allocations: 29.7 kB / 461.1 MB, free: 2.445 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.6743, allocations: 322.3 kB / 461.4 MB, free: 2.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.635e-05/0.6744, allocations: 90.75 kB / 461.5 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.6745, allocations: 12 kB / 461.5 MB, free: 2.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6746, allocations: 358.8 kB / 461.8 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.675, allocations: 125.2 kB / 462 MB, free: 1.539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.6756, allocations: 444.5 kB / 462.4 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.6761, allocations: 219.8 kB / 462.6 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.6761, allocations: 4 kB / 462.6 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001496/0.6776, allocations: 0.6321 MB / 463.3 MB, free: 100 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.6777, allocations: 8 kB / 463.3 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.6777, allocations: 12 kB / 463.3 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.6779, allocations: 61.66 kB / 463.3 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/0.6789, allocations: 142.4 kB / 463.5 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.6806, allocations: 1.848 MB / 465.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.6813, allocations: 31.92 kB / 465.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.458e-05/0.6814, allocations: 36 kB / 465.4 MB, free: 13.8 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.0003323/0.6817, allocations: 213.5 kB / 465.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.6818, allocations: 47.62 kB / 465.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007999/0.6827, allocations: 302.8 kB / 465.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006692/0.6833, allocations: 0.5238 MB / 466.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.6834, allocations: 0 / 466.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.6835, allocations: 120.6 kB / 466.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6837, allocations: 7.953 kB / 466.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.6841, allocations: 15.92 kB / 466.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.6842, allocations: 15.98 kB / 466.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001106/0.6853, allocations: 333.4 kB / 466.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008399/0.6862, allocations: 499 kB / 467.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002045/0.6864, allocations: 84 kB / 467.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005391/0.687, allocations: 323.1 kB / 467.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Backend: time 5.61e-07/0.687, allocations: 0 / 467.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.6903, allocations: 0.765 MB / 468.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of SimCode: time 0.00322/0.6935, allocations: 1.606 MB / 470.2 MB, free: 8.766 MB / 362.7 MB Notification: Performance of Templates: time 0.03588/0.7294, allocations: 12.06 MB / 482.3 MB, free: 12.7 MB / 378.7 MB