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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 194.8 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003475, allocations: 12 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2957, allocations: 44.51 MB / 308.6 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.558/0.8537, allocations: 138.8 MB / 447.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005744/0.8596, allocations: 2.361 MB / 449.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005657/0.8602, allocations: 6.781 kB / 449.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.8613, allocations: 168 kB / 449.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.8624, allocations: 233 kB / 450.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.8648, allocations: 411.7 kB / 450.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.8664, allocations: 0.5913 MB / 451.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.8667, allocations: 68 kB / 451.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.8703, allocations: 0.7881 MB / 452 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.8709, allocations: 215.7 kB / 452.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.8711, allocations: 20.94 kB / 452.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.8733, allocations: 426.3 kB / 452.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003996/0.8738, allocations: 190.8 kB / 452.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.8741, allocations: 134.2 kB / 453 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.8762, allocations: 0.8424 MB / 453.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8763, allocations: 0 / 453.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.8763, allocations: 0 / 453.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.8763, allocations: 0 / 453.8 MB, free: 12.41 MB / 362.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.002251/0.8786, allocations: 0.695 MB / 454.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.8787, allocations: 10.31 kB / 454.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002522/0.8789, allocations: 84.58 kB / 454.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.8804, allocations: 135.2 kB / 454.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.8815, allocations: 366.8 kB / 455.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.8816, allocations: 35.33 kB / 455.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.8818, allocations: 36.06 kB / 455.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.8837, allocations: 0.5552 MB / 455.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.8838, allocations: 2.031 kB / 455.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.8839, allocations: 20.09 kB / 455.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.884, allocations: 10.28 kB / 455.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.8854, allocations: 443.8 kB / 456.2 MB, free: 11.23 MB / 362.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.007008/0.8925, allocations: 2.05 MB / 458.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.893, allocations: 148.4 kB / 458.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-05/0.8931, allocations: 10.83 kB / 458.4 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.8932, allocations: 40.59 kB / 458.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 4.078e-06/0.8932, allocations: 0 / 458.4 MB, free: 9.691 MB / 362.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.0138/0.907, allocations: 1.68 MB / 460.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.9071, allocations: 56.03 kB / 460.2 MB, free: 8.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.9082, allocations: 481.8 kB / 460.6 MB, free: 8.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.9083, allocations: 30.77 kB / 460.7 MB, free: 8.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.9087, allocations: 320.4 kB / 461 MB, free: 8.129 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.9089, allocations: 87.47 kB / 461.1 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.9089, allocations: 13.22 kB / 461.1 MB, free: 8.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002529/0.9092, allocations: 355.6 kB / 461.4 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.9097, allocations: 135.9 kB / 461.5 MB, free: 7.719 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008452/0.9106, allocations: 434 kB / 462 MB, free: 7.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/0.9113, allocations: 228.3 kB / 462.2 MB, free: 7.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.122e-05/0.9114, allocations: 4.328 kB / 462.2 MB, free: 7.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002389/0.9138, allocations: 0.6256 MB / 462.8 MB, free: 7.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.9139, allocations: 7.969 kB / 462.8 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/0.9139, allocations: 20.95 kB / 462.9 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003721/0.9143, allocations: 54.45 kB / 462.9 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.9158, allocations: 145.3 kB / 463 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003901/0.9197, allocations: 1.848 MB / 464.9 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.9218, allocations: 39.14 kB / 464.9 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.922, allocations: 42.56 kB / 465 MB, free: 5.172 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.0006352/0.9227, allocations: 208.9 kB / 465.2 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.9229, allocations: 42.88 kB / 465.2 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.9239, allocations: 292.2 kB / 465.5 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.924, allocations: 6.516 kB / 465.5 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.924, allocations: 3.984 kB / 465.5 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006736/0.9247, allocations: 0.5339 MB / 466.1 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.9262, allocations: 0.6921 MB / 466.7 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.9262, allocations: 3.984 kB / 466.7 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.9268, allocations: 53.14 kB / 466.8 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.9269, allocations: 24.66 kB / 466.8 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.9269, allocations: 6 kB / 466.8 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.9281, allocations: 1.281 MB / 468.1 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.9281, allocations: 0 / 468.1 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.9291, allocations: 431.7 kB / 468.5 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.9293, allocations: 117.6 kB / 468.6 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.9294, allocations: 8.688 kB / 468.7 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.9299, allocations: 18.52 kB / 468.7 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.93, allocations: 11.42 kB / 468.7 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.9301, allocations: 21.14 kB / 468.7 MB, free: 2.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005456/0.9306, allocations: 323.5 kB / 469 MB, free: 2.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.9306, allocations: 0 / 469 MB, free: 2.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001203/0.9319, allocations: 210.6 kB / 469.2 MB, free: 2.219 MB / 362.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.003218/0.9351, allocations: 1.261 MB / 470.5 MB, free: 1.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.9363, allocations: 460.9 kB / 470.9 MB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.9363, allocations: 0 / 470.9 MB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.9367, allocations: 212.8 kB / 471.1 MB, free: 1.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.9387, allocations: 210.4 kB / 471.4 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.9449, allocations: 2.846 MB / 474.2 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/0.9455, allocations: 0.8335 MB / 475 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009159/0.9464, allocations: 137.1 kB / 475.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.9467, allocations: 152.1 kB / 475.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.9467, allocations: 0 / 475.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05349/1, allocations: 16.28 MB / 491.6 MB, free: 1.633 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004497/1.001, allocations: 263 kB / 491.9 MB, free: 1.289 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.219/4.22, allocations: 0 / 491.9 MB, free: 1.289 MB / 378.7 MB "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:T_start,X_start[1],X_start[2],X_start[3],X_start[4],X_start[5],X_start[6],ambient.T_ambient,ambient.X_ambient[1],ambient.X_ambient[2],ambient.X_ambient[3],ambient.X_ambient[4],ambient.X_ambient[5],ambient.X_ambient[6],ambient.d_ambient,ambient.h_ambient,ambient.medium.MM,ambient.medium.R,ambient.medium.T,ambient.medium.T_degC,ambient.medium.X[1],ambient.medium.X[2],ambient.medium.X[3],ambient.medium.X[4],ambient.medium.X[5],ambient.medium.X[6],ambient.medium.d,ambient.medium.h,ambient.medium.p,ambient.medium.p_bar,ambient.medium.preferredMediumStates,ambient.medium.standardOrderComponents,ambient.medium.state.T,ambient.medium.state.X[1],ambient.medium.state.X[2],ambient.medium.state.X[3],ambient.medium.state.X[4],ambient.medium.state.X[5],ambient.medium.state.X[6],ambient.medium.state.p,ambient.medium.u,ambient.p_ambient,ambient.port.H_flow,ambient.port.h,ambient.port.m_flow,ambient.port.p,ambient.use_T_ambient,ambient.use_p_ambient,der(volume.U),der(volume.m),der(volume.medium.T),der(volume.medium.d),der(volume.medium.h),der(volume.medium.p),der(volume.medium.u),fixedMassFlowRate.T_ambient,fixedMassFlowRate.X_ambient[1],fixedMassFlowRate.X_ambient[2],fixedMassFlowRate.X_ambient[3],fixedMassFlowRate.X_ambient[4],fixedMassFlowRate.X_ambient[5],fixedMassFlowRate.X_ambient[6],fixedMassFlowRate.h_ambient,fixedMassFlowRate.m_flow,fixedMassFlowRate.medium.MM,fixedMassFlowRate.medium.R,fixedMassFlowRate.medium.T,fixedMassFlowRate.medium.T_degC,fixedMassFlowRate.medium.X[1],fixedMassFlowRate.medium.X[2],fixedMassFlowRate.medium.X[3],fixedMassFlowRate.medium.X[4],fixedMassFlowRate.medium.X[5],fixedMassFlowRate.medium.X[6],fixedMassFlowRate.medium.d,fixedMassFlowRate.medium.h,fixedMassFlowRate.medium.p,fixedMassFlowRate.medium.p_bar,fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.medium.state.T,fixedMassFlowRate.medium.state.X[1],fixedMassFlowRate.medium.state.X[2],fixedMassFlowRate.medium.state.X[3],fixedMassFlowRate.medium.state.X[4],fixedMassFlowRate.medium.state.X[5],fixedMassFlowRate.medium.state.X[6],fixedMassFlowRate.medium.state.p,fixedMassFlowRate.medium.u,fixedMassFlowRate.port.H_flow,fixedMassFlowRate.port.h,fixedMassFlowRate.port.m_flow,fixedMassFlowRate.port.p,fixedMassFlowRate.use_T_ambient,h_start,p_start,shortPipe.dp,shortPipe.dp_nominal,shortPipe.m_flow,shortPipe.m_flow_nominal,shortPipe.port_a.H_flow,shortPipe.port_a.h,shortPipe.port_a.m_flow,shortPipe.port_a.p,shortPipe.port_b.H_flow,shortPipe.port_b.h,shortPipe.port_b.m_flow,shortPipe.port_b.p,time,volume.T_start,volume.U,volume.V,volume.X_start[1],volume.X_start[2],volume.X_start[3],volume.X_start[4],volume.X_start[5],volume.X_start[6],volume.d_start,volume.h_start,volume.m,volume.medium.MM,volume.medium.R,volume.medium.T,volume.medium.T_degC,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.d,volume.medium.h,volume.medium.p,volume.medium.p_bar,volume.medium.preferredMediumStates,volume.medium.standardOrderComponents,volume.medium.state.T,volume.medium.state.X[1],volume.medium.state.X[2],volume.medium.state.X[3],volume.medium.state.X[4],volume.medium.state.X[5],volume.medium.state.X[6],volume.medium.state.p,volume.medium.u,volume.p_start,volume.port.H_flow,volume.port.h,volume.port.m_flow,volume.port.p,volume.use_T_start,volume.use_p_start