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.Water.IdealSteam.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.Water.IdealSteam,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.175/2.175, allocations: 194.9 MB / 211.1 MB, free: 8.758 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003593, allocations: 8 kB / 264.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2901, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.5599/0.8501, allocations: 137.9 MB / 446.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003368/0.8535, allocations: 1.947 MB / 448.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.8539, allocations: 4.656 kB / 448.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006872/0.8546, allocations: 135.6 kB / 448.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000973/0.8556, allocations: 275.5 kB / 448.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.8568, allocations: 271.9 kB / 449.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007799/0.8576, allocations: 492.1 kB / 449.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.8578, allocations: 73.66 kB / 449.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.8592, allocations: 439.9 kB / 450 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.8595, allocations: 172.4 kB / 450.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.364e-05/0.8596, allocations: 13.41 kB / 450.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.86, allocations: 108.6 kB / 450.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.8602, allocations: 69.22 kB / 450.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.8603, allocations: 92.89 kB / 450.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006371/0.861, allocations: 404.7 kB / 450.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.861, allocations: 0 / 450.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.861, allocations: 4 kB / 450.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.861, allocations: 0 / 450.9 MB, free: 12.88 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.00101/0.862, allocations: 0.519 MB / 451.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.8621, allocations: 7.719 kB / 451.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.674e-05/0.8622, allocations: 69.59 kB / 451.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.8626, allocations: 42.98 kB / 451.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.8631, allocations: 276 kB / 451.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.8632, allocations: 20.47 kB / 451.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.8632, allocations: 25.42 kB / 451.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.8639, allocations: 312.4 kB / 452.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.864, allocations: 0 / 452.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.864, allocations: 20.06 kB / 452.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.8641, allocations: 4.406 kB / 452.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.8646, allocations: 205.8 kB / 452.4 MB, free: 11.91 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.002513/0.8671, allocations: 1.575 MB / 453.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.8675, allocations: 173.2 kB / 454.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.8676, allocations: 4.25 kB / 454.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.8676, allocations: 36.16 kB / 454.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.635e-06/0.8676, allocations: 0 / 454.2 MB, free: 10.49 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.009066/0.8767, allocations: 1.625 MB / 455.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.8768, allocations: 53.53 kB / 455.8 MB, free: 9.527 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.8772, allocations: 257.8 kB / 456.1 MB, free: 9.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.8772, allocations: 32.88 kB / 456.1 MB, free: 9.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.8774, allocations: 171.2 kB / 456.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.8775, allocations: 101.2 kB / 456.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.8776, allocations: 8.406 kB / 456.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.8777, allocations: 337.2 kB / 456.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.878, allocations: 85.14 kB / 456.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.8783, allocations: 187 kB / 457 MB, free: 8.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.8786, allocations: 111.1 kB / 457.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.8787, allocations: 0 / 457.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001054/0.8797, allocations: 403.4 kB / 457.5 MB, free: 8.559 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.8798, allocations: 9.641 kB / 457.5 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8798, allocations: 2.281 kB / 457.5 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003192/0.8801, allocations: 73.19 kB / 457.6 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.8807, allocations: 83.61 kB / 457.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.8826, allocations: 1.856 MB / 459.5 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.8831, allocations: 30.84 kB / 459.5 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/0.8832, allocations: 38.84 kB / 459.6 MB, free: 6.68 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.0002707/0.8835, allocations: 154.6 kB / 459.7 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.2e-05/0.8836, allocations: 27.91 kB / 459.8 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.8851, allocations: 437 kB / 460.2 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.8851, allocations: 10.77 kB / 460.2 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.8852, allocations: 7.953 kB / 460.2 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007486/0.8859, allocations: 0.5577 MB / 460.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.8874, allocations: 0.7186 MB / 461.5 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.8874, allocations: 0 / 461.5 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.888, allocations: 73.86 kB / 461.5 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.8882, allocations: 23.72 kB / 461.6 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.8882, allocations: 15.3 kB / 461.6 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.8894, allocations: 1.29 MB / 462.9 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8895, allocations: 0 / 462.9 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009954/0.8905, allocations: 489.5 kB / 463.4 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.8906, allocations: 106.9 kB / 463.5 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/0.8907, allocations: 11.88 kB / 463.5 MB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.8912, allocations: 15.67 kB / 463.5 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.8913, allocations: 27.83 kB / 463.5 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.8914, allocations: 30.05 kB / 463.5 MB, free: 3.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002739/0.8916, allocations: 186.5 kB / 463.7 MB, free: 3.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8917, allocations: 0 / 463.7 MB, free: 3.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007217/0.8924, allocations: 131 kB / 463.8 MB, free: 3.672 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.001702/0.8941, allocations: 1.055 MB / 464.9 MB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009615/0.8951, allocations: 371.6 kB / 465.3 MB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8951, allocations: 2.938 kB / 465.3 MB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.8955, allocations: 225.9 kB / 465.5 MB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.897, allocations: 169.3 kB / 465.7 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.9011, allocations: 1.889 MB / 467.5 MB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.9016, allocations: 0.7675 MB / 468.3 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001014/0.9026, allocations: 118.5 kB / 468.4 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.9031, allocations: 124.4 kB / 468.6 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of SimCode: time 1.462e-06/0.9031, allocations: 0 / 468.6 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05654/0.9597, allocations: 11.12 MB / 479.7 MB, free: 11.08 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003378/0.9601, allocations: 224.3 kB / 479.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.661, allocations: 3.938 kB / 479.9 MB, free: 10.84 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