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.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.172/2.172, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.000359, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.361, allocations: 44.52 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5723/0.9334, allocations: 148.6 MB / 457.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006255/0.9397, allocations: 3.259 MB / 460.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005615/0.9404, allocations: 2.531 kB / 460.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009759/0.9414, allocations: 200.6 kB / 460.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.9425, allocations: 250.2 kB / 460.8 MB, free: 11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006544/0.9491, allocations: 1.488 MB / 462.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.9505, allocations: 0.628 MB / 463 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.9509, allocations: 102.5 kB / 463.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.9544, allocations: 0.9622 MB / 464 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008645/0.9553, allocations: 294.6 kB / 464.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.9555, allocations: 28.03 kB / 464.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007929/0.9634, allocations: 3.005 MB / 467.3 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004378/0.9639, allocations: 181.1 kB / 467.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002974/0.9642, allocations: 129.6 kB / 467.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004265/0.9685, allocations: 1.557 MB / 469.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9686, allocations: 0 / 469.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.9686, allocations: 0 / 469.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.318e-05/0.9686, allocations: 0 / 469.2 MB, free: 8.5 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00316/0.9718, allocations: 0.9219 MB / 470.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.9719, allocations: 10.31 kB / 470.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.9721, allocations: 88.14 kB / 470.2 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.9725, allocations: 57.12 kB / 470.3 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007722/0.9733, allocations: 365.1 kB / 470.6 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.9734, allocations: 33.28 kB / 470.7 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.9735, allocations: 40.88 kB / 470.7 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.9748, allocations: 0.4959 MB / 471.2 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.9749, allocations: 0 / 471.2 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.975, allocations: 20.19 kB / 471.2 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.975, allocations: 11 kB / 471.2 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.9765, allocations: 0.5947 MB / 471.8 MB, free: 7.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005125/0.9816, allocations: 2.177 MB / 474 MB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.9835, allocations: 0.5676 MB / 474.6 MB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007993/0.9844, allocations: 0.6878 MB / 475.3 MB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.9844, allocations: 44.36 kB / 475.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.737e-06/0.9844, allocations: 0 / 475.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.02613/1.011, allocations: 3.8 MB / 479.1 MB, free: 3.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/1.011, allocations: 56.88 kB / 479.2 MB, free: 3.324 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/1.011, allocations: 291.6 kB / 479.4 MB, free: 3.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/1.011, allocations: 40.23 kB / 479.5 MB, free: 3.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/1.012, allocations: 196.5 kB / 479.7 MB, free: 3.016 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/1.012, allocations: 232.7 kB / 479.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/1.012, allocations: 13.58 kB / 479.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/1.012, allocations: 347.7 kB / 480.3 MB, free: 2.523 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/1.013, allocations: 315.3 kB / 480.6 MB, free: 2.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/1.015, allocations: 390.8 kB / 480.9 MB, free: 2.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/1.016, allocations: 355.3 kB / 481.3 MB, free: 2.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.016, allocations: 1.656 kB / 481.3 MB, free: 2.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003854/1.02, allocations: 0.9668 MB / 482.3 MB, free: 2.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.02, allocations: 4.875 kB / 482.3 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.02, allocations: 6.609 kB / 482.3 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/1.023, allocations: 355.9 kB / 482.6 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/1.024, allocations: 116.9 kB / 482.7 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0058/1.03, allocations: 3.539 MB / 486.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/1.031, allocations: 65.52 kB / 486.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1.031, allocations: 28.86 kB / 486.4 MB, free: 14.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004633/1.032, allocations: 191 kB / 486.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/1.032, allocations: 46.84 kB / 486.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/1.037, allocations: 1.046 MB / 487.6 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/1.037, allocations: 9.859 kB / 487.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.037, allocations: 0 / 487.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003817/1.04, allocations: 1.091 MB / 488.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005278/1.046, allocations: 1.707 MB / 490.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.046, allocations: 0 / 490.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/1.047, allocations: 112.8 kB / 490.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003698/1.051, allocations: 393.8 kB / 490.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/1.051, allocations: 25.84 kB / 491 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/1.053, allocations: 0.8748 MB / 491.8 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.053, allocations: 8.094 kB / 491.9 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005012/1.059, allocations: 1.358 MB / 493.2 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/1.059, allocations: 120.2 kB / 493.3 MB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/1.059, allocations: 23.5 kB / 493.4 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/1.06, allocations: 63.94 kB / 493.4 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.06, allocations: 42.94 kB / 493.5 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/1.061, allocations: 34.34 kB / 493.5 MB, free: 8.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003973/1.061, allocations: 218.3 kB / 493.7 MB, free: 8.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.703e-06/1.061, allocations: 4 kB / 493.7 MB, free: 8.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001891/1.063, allocations: 452.4 kB / 494.1 MB, free: 7.984 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007149/1.07, allocations: 2.329 MB / 496.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003507/1.074, allocations: 1.002 MB / 497.5 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.074, allocations: 0 / 497.5 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.075, allocations: 428.9 kB / 497.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/1.079, allocations: 285.3 kB / 498.2 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/1.095, allocations: 3.822 MB / 0.4902 GB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000846/1.096, allocations: 0.8635 MB / 0.4911 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001509/1.098, allocations: 128.6 kB / 0.4912 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005877/1.098, allocations: 163.3 kB / 0.4914 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of SimCode: time 1.253e-06/1.098, allocations: 0 / 0.4914 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/1.208, allocations: 24.87 MB / 0.5156 GB, free: 7.648 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/1.208, allocations: 218.5 kB / 0.5158 GB, free: 7.406 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.694/4.902, allocations: 3.938 kB / 0.5158 GB, free: 7.402 MB / 410.7 MB "" Variables in the reference:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p Variables in the result:T_start,X_start[1],X_start[2],ambient.T_ambient,ambient.X_ambient[1],ambient.X_ambient[2],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_air,ambient.medium.X_liquid,ambient.medium.X_sat,ambient.medium.X_steam,ambient.medium.Xi[1],ambient.medium.d,ambient.medium.h,ambient.medium.p,ambient.medium.p_bar,ambient.medium.p_steam_sat,ambient.medium.phi,ambient.medium.preferredMediumStates,ambient.medium.standardOrderComponents,ambient.medium.state.T,ambient.medium.state.X[1],ambient.medium.state.X[2],ambient.medium.state.p,ambient.medium.u,ambient.medium.x_sat,ambient.medium.x_water,ambient.p_ambient,ambient.port.H_flow,ambient.port.Xi[1],ambient.port.h,ambient.port.mXi_flow[1],ambient.port.m_flow,ambient.port.p,ambient.use_T_ambient,ambient.use_p_ambient,der(volume.U),der(volume.m),der(volume.mXi[1]),der(volume.medium.R),der(volume.medium.T),der(volume.medium.X[2]),der(volume.medium.X_liquid),der(volume.medium.X_sat),der(volume.medium.X_steam),der(volume.medium.Xi[1]),der(volume.medium.d),der(volume.medium.h),der(volume.medium.p),der(volume.medium.p_steam_sat),der(volume.medium.u),fixedMassFlowRate.T_ambient,fixedMassFlowRate.X_ambient[1],fixedMassFlowRate.X_ambient[2],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_air,fixedMassFlowRate.medium.X_liquid,fixedMassFlowRate.medium.X_sat,fixedMassFlowRate.medium.X_steam,fixedMassFlowRate.medium.Xi[1],fixedMassFlowRate.medium.d,fixedMassFlowRate.medium.h,fixedMassFlowRate.medium.p,fixedMassFlowRate.medium.p_bar,fixedMassFlowRate.medium.p_steam_sat,fixedMassFlowRate.medium.phi,fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.medium.state.T,fixedMassFlowRate.medium.state.X[1],fixedMassFlowRate.medium.state.X[2],fixedMassFlowRate.medium.state.p,fixedMassFlowRate.medium.u,fixedMassFlowRate.medium.x_sat,fixedMassFlowRate.medium.x_water,fixedMassFlowRate.port.H_flow,fixedMassFlowRate.port.Xi[1],fixedMassFlowRate.port.h,fixedMassFlowRate.port.mXi_flow[1],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.Xi[1],shortPipe.port_a.h,shortPipe.port_a.mXi_flow[1],shortPipe.port_a.m_flow,shortPipe.port_a.p,shortPipe.port_b.H_flow,shortPipe.port_b.Xi[1],shortPipe.port_b.h,shortPipe.port_b.mXi_flow[1],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.d_start,volume.h_start,volume.m,volume.mXi[1],volume.medium.MM,volume.medium.R,volume.medium.T,volume.medium.T_degC,volume.medium.X[1],volume.medium.X[2],volume.medium.X_air,volume.medium.X_liquid,volume.medium.X_sat,volume.medium.X_steam,volume.medium.Xi[1],volume.medium.d,volume.medium.h,volume.medium.p,volume.medium.p_bar,volume.medium.p_steam_sat,volume.medium.phi,volume.medium.preferredMediumStates,volume.medium.standardOrderComponents,volume.medium.state.T,volume.medium.state.X[1],volume.medium.state.X[2],volume.medium.state.p,volume.medium.u,volume.medium.x_sat,volume.medium.x_water,volume.p_start,volume.port.H_flow,volume.port.Xi[1],volume.port.h,volume.port.mXi_flow[1],volume.port.m_flow,volume.port.p,volume.use_T_start,volume.use_p_start