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.Nitrogen.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.Nitrogen,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 194.9 MB / 211.1 MB, free: 7.508 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003557, allocations: 12 kB / 264.1 MB, free: 2.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 44.51 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.5274/0.8257, allocations: 137.1 MB / 445.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.8295, allocations: 1.932 MB / 447.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004735/0.83, allocations: 8.359 kB / 447.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007159/0.8308, allocations: 146.2 kB / 447.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.8318, allocations: 272.4 kB / 448 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.833, allocations: 271.6 kB / 448.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.834, allocations: 0.4883 MB / 448.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.8343, allocations: 71.23 kB / 448.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.8359, allocations: 438.9 kB / 449.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.8363, allocations: 173 kB / 449.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.8364, allocations: 16.31 kB / 449.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004534/0.8368, allocations: 102.9 kB / 449.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.837, allocations: 69.62 kB / 449.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.8371, allocations: 92.05 kB / 449.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006593/0.8378, allocations: 410 kB / 450.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8378, allocations: 0 / 450.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.8378, allocations: 0 / 450.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.8379, allocations: 0 / 450.1 MB, free: 13.32 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.00104/0.8389, allocations: 0.5237 MB / 450.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.839, allocations: 8.125 kB / 450.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.8391, allocations: 63.03 kB / 450.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.8395, allocations: 42.92 kB / 450.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.84, allocations: 270.8 kB / 451 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.84, allocations: 16.66 kB / 451 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.8401, allocations: 36.45 kB / 451.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.8408, allocations: 312.2 kB / 451.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.8409, allocations: 0 / 451.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.8409, allocations: 14.41 kB / 451.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.8409, allocations: 15.22 kB / 451.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.8414, allocations: 205.8 kB / 451.6 MB, free: 12.36 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.002837/0.8443, allocations: 1.565 MB / 453.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.8448, allocations: 177.7 kB / 453.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.601e-05/0.8448, allocations: 4.875 kB / 453.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.8449, allocations: 33.38 kB / 453.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.376e-06/0.8449, allocations: 0 / 453.4 MB, free: 10.94 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.009289/0.8542, allocations: 1.623 MB / 455 MB, free: 10.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.8543, allocations: 57.5 kB / 455.1 MB, free: 9.969 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.8547, allocations: 256.5 kB / 455.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.8548, allocations: 31.33 kB / 455.4 MB, free: 9.801 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.855, allocations: 176 kB / 455.5 MB, free: 9.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.8551, allocations: 98.62 kB / 455.6 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.8551, allocations: 9.844 kB / 455.6 MB, free: 9.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.8553, allocations: 335.8 kB / 456 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.8556, allocations: 89.64 kB / 456 MB, free: 9.258 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.856, allocations: 179.5 kB / 456.2 MB, free: 9.133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.8563, allocations: 118.4 kB / 456.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.8563, allocations: 0 / 456.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001021/0.8573, allocations: 395 kB / 456.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.8574, allocations: 16.36 kB / 456.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.8574, allocations: 4.594 kB / 456.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.8577, allocations: 67.69 kB / 456.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.8584, allocations: 83.67 kB / 456.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.8603, allocations: 1.86 MB / 458.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.8608, allocations: 32.72 kB / 458.8 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/0.8609, allocations: 36.66 kB / 458.8 MB, free: 7.125 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.0002667/0.8612, allocations: 150.1 kB / 459 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.8613, allocations: 28.48 kB / 459 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.8629, allocations: 441.5 kB / 459.4 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.8629, allocations: 6.422 kB / 459.4 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8629, allocations: 6.484 kB / 459.4 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008048/0.8637, allocations: 0.563 MB / 460 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.8653, allocations: 0.7117 MB / 460.7 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.8653, allocations: 0 / 460.7 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.8659, allocations: 73.61 kB / 460.8 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.866, allocations: 20 kB / 460.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.8661, allocations: 19.05 kB / 460.8 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.8673, allocations: 1.289 MB / 462.1 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8673, allocations: 6.875 kB / 462.1 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.8684, allocations: 491.9 kB / 462.6 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.8686, allocations: 103.8 kB / 462.7 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.8687, allocations: 10.3 kB / 462.7 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.8691, allocations: 14.64 kB / 462.7 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.8692, allocations: 32.14 kB / 462.8 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.8693, allocations: 30.45 kB / 462.8 MB, free: 4.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002747/0.8696, allocations: 188.4 kB / 463 MB, free: 4.129 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8696, allocations: 3.938 kB / 463 MB, free: 4.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007233/0.8703, allocations: 125.4 kB / 463.1 MB, free: 4.117 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.0018/0.8721, allocations: 1.047 MB / 464.1 MB, free: 3.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009937/0.8731, allocations: 378 kB / 464.5 MB, free: 3.207 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.8732, allocations: 0 / 464.5 MB, free: 3.207 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004245/0.8736, allocations: 228.7 kB / 464.7 MB, free: 3.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.8752, allocations: 167.5 kB / 464.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/0.8799, allocations: 1.882 MB / 466.8 MB, free: 1.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.8803, allocations: 0.7698 MB / 467.5 MB, free: 1.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000996/0.8814, allocations: 112.9 kB / 467.7 MB, free: 1.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.8818, allocations: 131.2 kB / 467.8 MB, free: 1.129 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.8818, allocations: 0 / 467.8 MB, free: 1.129 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04268/0.9245, allocations: 11.13 MB / 478.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003102/0.9249, allocations: 228.6 kB / 479.1 MB, free: 11.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/3.816, 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