Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01112/0.01112, allocations: 107 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001227/0.001227, allocations: 180.6 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.046/2.046, allocations: 194.6 MB / 211.3 MB, free: 11.22 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2953/0.2953, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004801, allocations: 15.98 kB / 361.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1554, allocations: 54.88 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5947/0.7502, allocations: 143.8 MB / 0.5467 GB, free: 5.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.7677, allocations: 8.417 MB / 0.5549 GB, free: 15.5 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.7689, allocations: 27.75 kB / 0.555 GB, free: 15.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.7707, allocations: 320 kB / 0.5553 GB, free: 15.25 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007087/0.7778, allocations: 1.484 MB / 0.5567 GB, free: 13.88 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005846/0.7837, allocations: 1.233 MB / 0.5579 GB, free: 12.65 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002999/0.7867, allocations: 1.173 MB / 0.5591 GB, free: 11.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.788, allocations: 456.6 kB / 0.5595 GB, free: 11.04 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004511/0.7925, allocations: 1.259 MB / 0.5607 GB, free: 9.773 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004766/0.7973, allocations: 1.333 MB / 0.562 GB, free: 8.438 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.7977, allocations: 36 kB / 0.5621 GB, free: 8.402 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004821/0.8025, allocations: 1.202 MB / 0.5633 GB, free: 7.199 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000908/0.8035, allocations: 371 kB / 0.5636 GB, free: 6.836 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004639/0.804, allocations: 229.3 kB / 0.5638 GB, free: 6.605 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003949/0.8079, allocations: 1.556 MB / 0.5653 GB, free: 5.059 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.808, allocations: 0 / 0.5653 GB, free: 5.059 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.808, allocations: 0 / 0.5653 GB, free: 5.059 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.599e-05/0.808, allocations: 4 kB / 0.5653 GB, free: 5.055 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004034/0.8121, allocations: 1.219 MB / 0.5665 GB, free: 3.785 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.8122, allocations: 8.031 kB / 0.5665 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003931/0.8126, allocations: 134.7 kB / 0.5667 GB, free: 3.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.8149, allocations: 293 kB / 0.567 GB, free: 3.352 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.8169, allocations: 0.6172 MB / 0.5676 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.8171, allocations: 108.7 kB / 0.5677 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.8173, allocations: 67.98 kB / 0.5677 GB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/0.8207, allocations: 1.241 MB / 0.5689 GB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.8208, allocations: 3.938 kB / 0.5689 GB, free: 1.195 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.821, allocations: 40 kB / 0.569 GB, free: 1.156 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.8211, allocations: 77.27 kB / 0.5691 GB, free: 1.082 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.8241, allocations: 1.055 MB / 0.5701 GB, free: 28 kB / 426.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.01085/0.835, allocations: 4.834 MB / 0.5748 GB, free: 10.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008637/0.8359, allocations: 266.5 kB / 0.5751 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.8362, allocations: 129.7 kB / 0.5752 GB, free: 10.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.8362, allocations: 38.56 kB / 0.5752 GB, free: 10.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 3.426e-06/0.8362, allocations: 0 / 0.5752 GB, free: 10.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.01061/0.8469, allocations: 1.702 MB / 0.5769 GB, free: 8.648 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/0.847, allocations: 136.5 kB / 0.577 GB, free: 8.484 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.8488, allocations: 0.9151 MB / 0.5779 GB, free: 7.555 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.8489, allocations: 33.7 kB / 0.5779 GB, free: 7.516 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/0.8496, allocations: 0.5901 MB / 0.5785 GB, free: 6.918 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.8497, allocations: 130.4 kB / 0.5786 GB, free: 6.789 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.8498, allocations: 24 kB / 0.5787 GB, free: 6.766 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.8501, allocations: 398.7 kB / 0.579 GB, free: 6.367 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007957/0.8509, allocations: 278.4 kB / 0.5793 GB, free: 6.098 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.8522, allocations: 0.9183 MB / 0.5802 GB, free: 4.863 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.8534, allocations: 464.5 kB / 0.5806 GB, free: 4.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/0.8534, allocations: 8 kB / 0.5807 GB, free: 4.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003443/0.8569, allocations: 1.29 MB / 0.5819 GB, free: 3.102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.857, allocations: 12 kB / 0.5819 GB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.866e-05/0.857, allocations: 24.09 kB / 0.5819 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/0.8592, allocations: 276.2 kB / 0.5822 GB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.8604, allocations: 226.9 kB / 0.5824 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.8621, allocations: 0.8907 MB / 0.5833 GB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8635, allocations: 63.95 kB / 0.5834 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.8637, allocations: 72 kB / 0.5834 GB, free: 1.531 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007499/0.8645, allocations: 349.2 kB / 0.5838 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.8647, allocations: 90.97 kB / 0.5838 GB, free: 1.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.8662, allocations: 472.5 kB / 0.5843 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.8662, allocations: 0 / 0.5843 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.8662, allocations: 4 kB / 0.5843 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.8663, allocations: 7.984 kB / 0.5843 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.8692, allocations: 1.078 MB / 0.5854 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.8692, allocations: 0 / 0.5854 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/0.8712, allocations: 187.8 kB / 0.5855 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/0.8714, allocations: 20.84 kB / 0.5856 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.8715, allocations: 8 kB / 0.5856 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003188/0.8747, allocations: 2.685 MB / 0.5882 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8747, allocations: 0 / 0.5882 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.8767, allocations: 0.685 MB / 0.5889 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/0.8774, allocations: 204 kB / 0.5891 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.8776, allocations: 12.19 kB / 0.5891 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008119/0.8784, allocations: 27.94 kB / 0.5891 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.8786, allocations: 27.95 kB / 0.5891 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/0.8787, allocations: 21.36 kB / 0.5891 GB, free: 11.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001351/0.88, allocations: 0.5968 MB / 0.5897 GB, free: 10.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.88, allocations: 0 / 0.5897 GB, free: 10.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002352/0.8824, allocations: 431.8 kB / 0.5901 GB, free: 10.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.005334/0.8878, allocations: 1.837 MB / 0.5919 GB, free: 8.395 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.8901, allocations: 0.672 MB / 0.5926 GB, free: 7.727 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.8902, allocations: 0.5 kB / 0.5926 GB, free: 7.727 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001675/0.8919, allocations: 374.9 kB / 0.5929 GB, free: 7.348 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/0.895, allocations: 362.2 kB / 0.5933 GB, free: 7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.9147, allocations: 20.37 MB / 0.6132 GB, free: 2.039 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.9157, allocations: 1.051 MB / 0.6142 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001895/0.9176, allocations: 328.6 kB / 0.6145 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007174/0.9184, allocations: 323.3 kB / 0.6148 GB, free: 336 kB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/0.9184, allocations: 0 / 0.6148 GB, free: 336 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3956/1.314, allocations: 29.8 MB / 0.6439 GB, free: 144.9 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/1.314, allocations: 311.6 kB / 0.6442 GB, free: 144.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.688/5.002, allocations: 5.125 kB / 0.6442 GB, free: 144.5 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat