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.Air.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.Air,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003535, allocations: 8 kB / 264.1 MB, free: 3.465 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.297, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.5657/0.8627, allocations: 137.1 MB / 445.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003726/0.8665, allocations: 1.939 MB / 447.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005/0.8671, allocations: 8.812 kB / 447.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.8679, allocations: 142.5 kB / 447.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.8691, allocations: 275.4 kB / 448.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.8703, allocations: 272.5 kB / 448.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.8713, allocations: 490.8 kB / 448.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.8716, allocations: 74.86 kB / 448.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.8732, allocations: 438.8 kB / 449.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.8735, allocations: 171.4 kB / 449.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.607e-05/0.8736, allocations: 12.62 kB / 449.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.8741, allocations: 110.1 kB / 449.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.8742, allocations: 73.33 kB / 449.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.8744, allocations: 91.92 kB / 449.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.8751, allocations: 403.2 kB / 450.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.8751, allocations: 0 / 450.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8751, allocations: 0 / 450.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.8751, allocations: 0 / 450.2 MB, free: 13.39 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001079/0.8762, allocations: 0.5192 MB / 450.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8763, allocations: 12.86 kB / 450.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.8764, allocations: 68.06 kB / 450.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/0.8768, allocations: 41.53 kB / 450.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.8773, allocations: 261.2 kB / 451.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.8773, allocations: 24.09 kB / 451.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.29e-05/0.8774, allocations: 33.61 kB / 451.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.8781, allocations: 319 kB / 451.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.8781, allocations: 0 / 451.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.8782, allocations: 11.16 kB / 451.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.8782, allocations: 8.281 kB / 451.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.8787, allocations: 201.9 kB / 451.6 MB, free: 12.42 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.002586/0.8813, allocations: 1.577 MB / 453.2 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.8818, allocations: 176.3 kB / 453.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.8818, allocations: 5.188 kB / 453.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.8819, allocations: 36.66 kB / 453.4 MB, free: 11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.046e-06/0.8819, allocations: 1.859 kB / 453.4 MB, free: 11 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=27): time 0.009248/0.8912, allocations: 1.628 MB / 455.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.8912, allocations: 54.25 kB / 455.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.8916, allocations: 256.9 kB / 455.4 MB, free: 9.895 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.8917, allocations: 28.45 kB / 455.4 MB, free: 9.863 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.8919, allocations: 170.9 kB / 455.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.892, allocations: 101 kB / 455.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.8921, allocations: 17.09 kB / 455.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.8922, allocations: 332.8 kB / 456 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.8925, allocations: 85.47 kB / 456.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.8928, allocations: 183.8 kB / 456.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.8932, allocations: 118.4 kB / 456.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.8932, allocations: 1.859 kB / 456.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009784/0.8942, allocations: 392.5 kB / 456.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.8942, allocations: 8.094 kB / 456.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.8942, allocations: 6.5 kB / 456.8 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/0.8946, allocations: 76.67 kB / 456.8 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.8952, allocations: 84.33 kB / 456.9 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.8972, allocations: 1.855 MB / 458.8 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.8977, allocations: 32.28 kB / 458.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/0.8978, allocations: 37.16 kB / 458.9 MB, free: 7.184 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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.0002834/0.8981, allocations: 145.9 kB / 459 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/0.8982, allocations: 31.3 kB / 459 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.8997, allocations: 440.6 kB / 459.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.8997, allocations: 3.031 kB / 459.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.8997, allocations: 3.953 kB / 459.5 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007748/0.9005, allocations: 0.5643 MB / 460 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.902, allocations: 0.7235 MB / 460.8 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.902, allocations: 0 / 460.8 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.9026, allocations: 72.92 kB / 460.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.9027, allocations: 20.34 kB / 460.8 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.9027, allocations: 14.42 kB / 460.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.904, allocations: 1.294 MB / 462.2 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.904, allocations: 3.984 kB / 462.2 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.9051, allocations: 486.3 kB / 462.6 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.9053, allocations: 107.6 kB / 462.7 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-05/0.9054, allocations: 5.688 kB / 462.7 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.9058, allocations: 17.33 kB / 462.8 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.9059, allocations: 32.11 kB / 462.8 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.906, allocations: 30.11 kB / 462.8 MB, free: 4.289 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002865/0.9063, allocations: 187.3 kB / 463 MB, free: 4.188 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.9063, allocations: 2.812 kB / 463 MB, free: 4.188 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007376/0.9071, allocations: 123.4 kB / 463.1 MB, free: 4.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001776/0.9089, allocations: 1.055 MB / 464.2 MB, free: 3.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009444/0.9098, allocations: 377.9 kB / 464.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9098, allocations: 0 / 464.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.9103, allocations: 223.5 kB / 464.8 MB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.9118, allocations: 169.3 kB / 464.9 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.916, allocations: 1.887 MB / 466.8 MB, free: 2.012 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.9164, allocations: 0.7659 MB / 467.6 MB, free: 1.273 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009957/0.9175, allocations: 117.7 kB / 467.7 MB, free: 1.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.9179, allocations: 125.2 kB / 467.8 MB, free: 1.188 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.9179, allocations: 4 kB / 467.8 MB, free: 1.184 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/0.9621, allocations: 11.09 MB / 478.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003428/0.9625, allocations: 234.7 kB / 479.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.8/3.763, allocations: 4 kB / 479.1 MB, free: 11.32 MB / 378.7 MB "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:T_start,X_start[1],ambient.T_ambient,ambient.X_ambient[1],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.d,ambient.medium.h,ambient.medium.p,ambient.medium.p_bar,ambient.medium.preferredMediumStates,ambient.medium.standardOrderComponents,ambient.medium.state.T,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.h_ambient,fixedMassFlowRate.m_flow,fixedMassFlowRate.medium.MM,fixedMassFlowRate.medium.R,fixedMassFlowRate.medium.T,fixedMassFlowRate.medium.T_degC,fixedMassFlowRate.medium.X[1],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.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.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.d,volume.medium.h,volume.medium.p,volume.medium.p_bar,volume.medium.preferredMediumStates,volume.medium.standardOrderComponents,volume.medium.state.T,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