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.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(Modelica): time 1.798/1.798, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005487/0.0005488, allocations: 8 kB / 233.9 MB, free: 2.371 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1189, allocations: 38.77 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4585/0.5775, allocations: 138.6 MB / 411.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004907/0.5825, allocations: 2.338 MB / 413.6 MB, free: 1.801 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.583, allocations: 7.938 kB / 413.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008807/0.5839, allocations: 175.2 kB / 413.8 MB, free: 1.621 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007806/0.5847, allocations: 227.4 kB / 414 MB, free: 1.398 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.5865, allocations: 419 kB / 414.4 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.5877, allocations: 0.5857 MB / 415 MB, free: 408 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004282/0.5881, allocations: 205.3 kB / 415.2 MB, free: 204 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.5908, allocations: 0.7912 MB / 416 MB, free: 15.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006605/0.5915, allocations: 271.2 kB / 416.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.5917, allocations: 31.94 kB / 416.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.5933, allocations: 411.6 kB / 416.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005735/0.5939, allocations: 367.2 kB / 417 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.5943, allocations: 193.3 kB / 417.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.5967, allocations: 1.212 MB / 418.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5968, allocations: 0 / 418.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.5968, allocations: 0 / 418.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.627e-05/0.5968, allocations: 4 kB / 418.4 MB, free: 12.94 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002578/0.5994, allocations: 0.9002 MB / 419.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5995, allocations: 11.97 kB / 419.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.6007, allocations: 159 kB / 419.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.602, allocations: 465 kB / 420 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.6021, allocations: 49.31 kB / 420 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.6024, allocations: 75.84 kB / 420.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.605, allocations: 0.9444 MB / 421 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.6051, allocations: 0 / 421 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.6053, allocations: 32 kB / 421.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.773e-05/0.6054, allocations: 41.98 kB / 421.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.6077, allocations: 0.8667 MB / 422 MB, free: 9.312 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.008357/0.6161, allocations: 3.058 MB / 425 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.6176, allocations: 0.6313 MB / 425.7 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.76e-05/0.6177, allocations: 16.55 kB / 425.7 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.6178, allocations: 51.05 kB / 425.7 MB, free: 5.332 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 4.338e-06/0.6178, allocations: 0 / 425.7 MB, free: 5.332 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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.2411/0.8589, allocations: 6.136 MB / 431.9 MB, free: 126.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.859, allocations: 58.94 kB / 431.9 MB, free: 126.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.8601, allocations: 0.5466 MB / 432.5 MB, free: 126.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002106/0.8603, allocations: 43.55 kB / 432.5 MB, free: 126.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.8606, allocations: 276.7 kB / 432.8 MB, free: 126.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.8609, allocations: 257.8 kB / 433 MB, free: 126.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.861, allocations: 14.69 kB / 433 MB, free: 126.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.8611, allocations: 368.4 kB / 433.4 MB, free: 125.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.8623, allocations: 446.5 kB / 433.8 MB, free: 125.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.8635, allocations: 0.5094 MB / 434.3 MB, free: 125.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.8649, allocations: 0.4977 MB / 434.8 MB, free: 125.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.8649, allocations: 5.094 kB / 434.8 MB, free: 125.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003487/0.8684, allocations: 1.339 MB / 436.2 MB, free: 124.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.8685, allocations: 5.875 kB / 436.2 MB, free: 124.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.8685, allocations: 4.969 kB / 436.2 MB, free: 124.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009936/0.8695, allocations: 330.1 kB / 436.5 MB, free: 124.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.8714, allocations: 180.5 kB / 436.7 MB, free: 124.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.882, allocations: 10.29 MB / 447 MB, free: 114.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.8838, allocations: 79.86 kB / 447.1 MB, free: 114.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.8841, allocations: 47.55 kB / 447.1 MB, free: 114.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000869/0.8849, allocations: 277.3 kB / 447.4 MB, free: 114.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/0.8853, allocations: 68.14 kB / 447.5 MB, free: 114.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/0.8907, allocations: 1.287 MB / 448.7 MB, free: 113.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004209/0.8949, allocations: 1.601 MB / 450.3 MB, free: 112.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.895, allocations: 1.5 kB / 450.3 MB, free: 112.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/0.8955, allocations: 146.4 kB / 450.5 MB, free: 112.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.8959, allocations: 31.8 kB / 450.5 MB, free: 112.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/0.8979, allocations: 80.2 kB / 450.6 MB, free: 112.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.8981, allocations: 50.7 kB / 450.6 MB, free: 112.3 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006017/0.9042, allocations: 1.259 MB / 451.9 MB, free: 111.8 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005525/0.9098, allocations: 1.684 MB / 453.6 MB, free: 111.1 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001579/0.9114, allocations: 0.4884 MB / 454.1 MB, free: 110.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009221/0.9123, allocations: 404 kB / 454.5 MB, free: 110.5 MB / 346.7 MB Notification: Performance of Backend: time 8.82e-07/0.9124, allocations: 0 / 454.5 MB, free: 110.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007198/0.9196, allocations: 1.839 MB / 456.3 MB, free: 109.3 MB / 346.7 MB Notification: Performance of SimCode: time 0.007763/0.9274, allocations: 2.676 MB / 459 MB, free: 107.3 MB / 346.7 MB Notification: Performance of Templates: time 0.08813/1.016, allocations: 23.86 MB / 482.8 MB, free: 83.7 MB / 346.7 MB