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.Air.DryAirNasa.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.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 194.8 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005326, allocations: 8 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3293, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.5402/0.8696, allocations: 137.1 MB / 445.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003555/0.8732, allocations: 1.933 MB / 447.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004642/0.8737, allocations: 6.406 kB / 447.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007507/0.8745, allocations: 148.4 kB / 447.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.8755, allocations: 267.3 kB / 448.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.8767, allocations: 278 kB / 448.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008928/0.8776, allocations: 499.8 kB / 448.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.8778, allocations: 66.28 kB / 448.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.8793, allocations: 440.1 kB / 449.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.8797, allocations: 171.2 kB / 449.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.8798, allocations: 13.09 kB / 449.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.8803, allocations: 111.1 kB / 449.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.8804, allocations: 68.2 kB / 449.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.8805, allocations: 92.11 kB / 449.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006572/0.8812, allocations: 403.4 kB / 450.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8812, allocations: 3.938 kB / 450.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.8812, allocations: 0 / 450.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.8813, allocations: 0 / 450.2 MB, free: 13.31 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.001046/0.8823, allocations: 0.523 MB / 450.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8824, allocations: 10.72 kB / 450.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.953e-05/0.8825, allocations: 56.8 kB / 450.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.8828, allocations: 47.23 kB / 450.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.8833, allocations: 264 kB / 451.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.8834, allocations: 21 kB / 451.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.8834, allocations: 32.64 kB / 451.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/0.8841, allocations: 315 kB / 451.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.8842, allocations: 5.438 kB / 451.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.8842, allocations: 10 kB / 451.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.8843, allocations: 8.531 kB / 451.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.8847, allocations: 203.3 kB / 451.6 MB, free: 12.35 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.00253/0.8873, allocations: 1.576 MB / 453.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.8877, allocations: 183.4 kB / 453.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.8878, allocations: 8.891 kB / 453.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.8878, allocations: 33.31 kB / 453.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 4.178e-06/0.8879, allocations: 0 / 453.4 MB, free: 10.91 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.009666/0.8975, allocations: 1.618 MB / 455.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.8976, allocations: 60.47 kB / 455.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.898, allocations: 253.6 kB / 455.4 MB, free: 9.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.8981, allocations: 31.7 kB / 455.4 MB, free: 9.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.8983, allocations: 166.9 kB / 455.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.8984, allocations: 107.2 kB / 455.7 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.8984, allocations: 4.125 kB / 455.7 MB, free: 9.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.8986, allocations: 343 kB / 456 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.8989, allocations: 84.09 kB / 456.1 MB, free: 9.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.8992, allocations: 178.5 kB / 456.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.8995, allocations: 121.2 kB / 456.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.8996, allocations: 2.812 kB / 456.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009934/0.9006, allocations: 394.8 kB / 456.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.9006, allocations: 6.031 kB / 456.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.9006, allocations: 12.55 kB / 456.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/0.901, allocations: 71.52 kB / 456.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.9016, allocations: 79.66 kB / 456.9 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.9036, allocations: 1.867 MB / 458.8 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.9041, allocations: 25.2 kB / 458.8 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.9042, allocations: 40.92 kB / 458.9 MB, free: 7.098 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.0002708/0.9044, allocations: 149.2 kB / 459 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.335e-05/0.9045, allocations: 26.62 kB / 459 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.9061, allocations: 440.6 kB / 459.5 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.9062, allocations: 2.469 kB / 459.5 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.9062, allocations: 3.953 kB / 459.5 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007954/0.907, allocations: 0.56 MB / 460 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.9085, allocations: 0.7328 MB / 460.8 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.9085, allocations: 1.859 kB / 460.8 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.9091, allocations: 72.3 kB / 460.8 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.9092, allocations: 20.03 kB / 460.8 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.9093, allocations: 15.2 kB / 460.9 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.9107, allocations: 1.292 MB / 462.2 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.9107, allocations: 0 / 462.2 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.9118, allocations: 486.6 kB / 462.6 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.9119, allocations: 106 kB / 462.7 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.641e-05/0.912, allocations: 4.812 kB / 462.7 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.9124, allocations: 18.05 kB / 462.8 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.9125, allocations: 29.08 kB / 462.8 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.9126, allocations: 33.27 kB / 462.8 MB, free: 4.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002691/0.9129, allocations: 184.7 kB / 463 MB, free: 4.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.39e-06/0.9129, allocations: 0 / 463 MB, free: 4.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007176/0.9136, allocations: 133.3 kB / 463.1 MB, free: 4.098 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.001723/0.9154, allocations: 1.049 MB / 464.2 MB, free: 3.348 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009322/0.9163, allocations: 376 kB / 464.5 MB, free: 3.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.9164, allocations: 2.219 kB / 464.5 MB, free: 3.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.9168, allocations: 228.8 kB / 464.8 MB, free: 3.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.9183, allocations: 162.6 kB / 464.9 MB, free: 2.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.9224, allocations: 1.885 MB / 466.8 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.9229, allocations: 0.7706 MB / 467.6 MB, free: 1.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009877/0.9239, allocations: 118.9 kB / 467.7 MB, free: 1.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.9244, allocations: 122.6 kB / 467.8 MB, free: 1.109 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.9244, allocations: 0 / 467.8 MB, free: 1.109 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05853/0.9829, allocations: 11.13 MB / 478.9 MB, free: 11.58 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003825/0.9834, allocations: 226.7 kB / 479.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.783/3.767, allocations: 4 kB / 479.2 MB, free: 11.34 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