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.SimpleNaturalGas.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.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.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003387, allocations: 11.98 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08835/0.08871, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4679/0.5567, allocations: 138.7 MB / 447.8 MB, free: 260 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004259/0.561, allocations: 2.359 MB / 450.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.5612, allocations: 7.938 kB / 450.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007946/0.562, allocations: 183.2 kB / 450.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000631/0.5627, allocations: 227.3 kB / 450.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.5644, allocations: 419.6 kB / 450.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.5654, allocations: 0.5857 MB / 451.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/0.5658, allocations: 207.7 kB / 451.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.5682, allocations: 0.8067 MB / 452.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.5687, allocations: 255.3 kB / 452.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.5689, allocations: 32 kB / 452.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.5704, allocations: 447.5 kB / 453.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005023/0.5709, allocations: 367.2 kB / 453.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.5712, allocations: 193.3 kB / 453.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.5732, allocations: 1.217 MB / 455 MB, free: 8.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5732, allocations: 0 / 455 MB, free: 8.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5732, allocations: 0 / 455 MB, free: 8.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.5732, allocations: 0 / 455 MB, free: 8.98 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.002174/0.5754, allocations: 0.8887 MB / 455.9 MB, free: 8.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5755, allocations: 8.031 kB / 455.9 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.5765, allocations: 163 kB / 456.1 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.5776, allocations: 480.8 kB / 456.5 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/0.5777, allocations: 49.31 kB / 456.6 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.5779, allocations: 68 kB / 456.7 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.5803, allocations: 0.9356 MB / 457.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.5803, allocations: 11.92 kB / 457.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.5805, allocations: 32 kB / 457.6 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.596e-05/0.5806, allocations: 41.98 kB / 457.7 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.5829, allocations: 0.8667 MB / 458.5 MB, free: 5.355 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.008145/0.591, allocations: 3.383 MB / 461.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.5925, allocations: 0.6274 MB / 462.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.34e-05/0.5925, allocations: 20.47 kB / 462.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.5926, allocations: 47.12 kB / 462.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 6.593e-06/0.5926, allocations: 3.984 kB / 462.6 MB, free: 0.9844 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.02596/0.6186, allocations: 6.151 MB / 468.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.6187, allocations: 60.06 kB / 468.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.6197, allocations: 0.5369 MB / 469.4 MB, free: 9.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.6198, allocations: 45.7 kB / 469.4 MB, free: 9.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.6201, allocations: 276.6 kB / 469.7 MB, free: 9.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.6204, allocations: 260.3 kB / 469.9 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.6205, allocations: 12 kB / 470 MB, free: 9.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.6207, allocations: 370.8 kB / 470.3 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.6218, allocations: 441.8 kB / 470.7 MB, free: 8.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.6231, allocations: 0.5077 MB / 471.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.6244, allocations: 0.5066 MB / 471.8 MB, free: 7.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6244, allocations: 0 / 471.8 MB, free: 7.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003448/0.6278, allocations: 1.339 MB / 473.1 MB, free: 6.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.6279, allocations: 4 kB / 473.1 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6279, allocations: 7.938 kB / 473.1 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.6289, allocations: 330.8 kB / 473.4 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.6307, allocations: 175.8 kB / 473.6 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.6415, allocations: 10.3 MB / 483.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.6428, allocations: 75.94 kB / 484 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.6429, allocations: 47.98 kB / 484 MB, free: 10.12 MB / 378.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.0006234/0.6436, allocations: 273.6 kB / 484.3 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.6438, allocations: 59.34 kB / 484.4 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/0.6472, allocations: 1.295 MB / 485.6 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002795/0.65, allocations: 1.606 MB / 487.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6501, allocations: 0 / 487.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.6504, allocations: 144.4 kB / 487.4 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.6506, allocations: 27.98 kB / 487.4 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.652, allocations: 79.78 kB / 487.5 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.6522, allocations: 48.58 kB / 487.5 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004371/0.6565, allocations: 1.259 MB / 488.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0039/0.6605, allocations: 1.689 MB / 490.5 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001145/0.6616, allocations: 0.4892 MB / 491 MB, free: 2.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007379/0.6624, allocations: 399.1 kB / 491.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of Backend: time 4.2e-07/0.6624, allocations: 0 / 491.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005432/0.6678, allocations: 1.835 MB / 493.2 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of SimCode: time 0.006061/0.6739, allocations: 2.686 MB / 495.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of Templates: time 0.05807/0.732, allocations: 23.87 MB / 0.5076 GB, free: 5.969 MB / 410.7 MB