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.SimpleAir.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.SimpleAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005603/0.0005605, allocations: 8 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3409, allocations: 44.49 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.5151/0.856, allocations: 121.8 MB / 430.3 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.8592, allocations: 1.504 MB / 431.8 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/0.8597, allocations: 5.469 kB / 431.8 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007705/0.8605, allocations: 142.5 kB / 432 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007553/0.8613, allocations: 217.7 kB / 432.2 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.8627, allocations: 339.5 kB / 432.5 MB, free: 128 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009528/0.8637, allocations: 485.8 kB / 433 MB, free: 124 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.8639, allocations: 68.03 kB / 433.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007869/0.8647, allocations: 309.5 kB / 433.4 MB, free: 116 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.8652, allocations: 215.5 kB / 433.6 MB, free: 116 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.8653, allocations: 13.91 kB / 433.6 MB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.8658, allocations: 94.03 kB / 433.7 MB, free: 116 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.8659, allocations: 70.16 kB / 433.7 MB, free: 116 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.8661, allocations: 90.02 kB / 433.8 MB, free: 16.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.8667, allocations: 388.3 kB / 434.2 MB, free: 16.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8667, allocations: 0 / 434.2 MB, free: 16.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.8667, allocations: 0 / 434.2 MB, free: 16.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.8667, allocations: 3.938 kB / 434.2 MB, free: 16.05 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.0009907/0.8677, allocations: 0.5215 MB / 434.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.8678, allocations: 10.72 kB / 434.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.8679, allocations: 61.61 kB / 434.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00036/0.8683, allocations: 47.47 kB / 434.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.8688, allocations: 273.2 kB / 435.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.8688, allocations: 18.59 kB / 435.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.8689, allocations: 37.06 kB / 435.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/0.8696, allocations: 294.6 kB / 435.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.8696, allocations: 0 / 435.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/0.8697, allocations: 11.5 kB / 435.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.8697, allocations: 9.094 kB / 435.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.8702, allocations: 203.7 kB / 435.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.8731, allocations: 1.284 MB / 437 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.8739, allocations: 190 kB / 437.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/0.8742, allocations: 171.5 kB / 437.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.8743, allocations: 40.16 kB / 437.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 4.849e-06/0.8743, allocations: 0 / 437.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.005311/0.8796, allocations: 1.043 MB / 438.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.8797, allocations: 57.44 kB / 438.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.8802, allocations: 259.5 kB / 438.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.8803, allocations: 32.2 kB / 438.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.8805, allocations: 178.3 kB / 438.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.8806, allocations: 91.39 kB / 439 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.8806, allocations: 5.312 kB / 439 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.8808, allocations: 335.8 kB / 439.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.8811, allocations: 81.36 kB / 439.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.8814, allocations: 174.7 kB / 439.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.8817, allocations: 113.8 kB / 439.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.8817, allocations: 3.219 kB / 439.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001147/0.8829, allocations: 448.1 kB / 440.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.8829, allocations: 5.781 kB / 440.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.883, allocations: 2.375 kB / 440.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002785/0.8833, allocations: 40.8 kB / 440.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/0.8841, allocations: 78.62 kB / 440.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.8878, allocations: 2.587 MB / 442.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005629/0.8884, allocations: 25.52 kB / 442.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.8885, allocations: 17.72 kB / 442.9 MB, free: 10.07 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003224/0.8888, allocations: 154.5 kB / 443 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.889, allocations: 28.69 kB / 443.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.8902, allocations: 357.4 kB / 443.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.8902, allocations: 10.64 kB / 443.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8902, allocations: 2.906 kB / 443.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/0.8913, allocations: 0.6086 MB / 444 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.8936, allocations: 0.7524 MB / 444.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.8936, allocations: 3.141 kB / 444.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007601/0.8944, allocations: 59.58 kB / 444.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/0.8946, allocations: 19.05 kB / 444.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.8946, allocations: 13.66 kB / 444.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.8962, allocations: 1.285 MB / 446.2 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8962, allocations: 0 / 446.2 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.8977, allocations: 0.5223 MB / 446.7 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.898, allocations: 102.8 kB / 446.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/0.8981, allocations: 3.062 kB / 446.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/0.8988, allocations: 13.52 kB / 446.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.8989, allocations: 17.61 kB / 446.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.8989, allocations: 19.17 kB / 446.9 MB, free: 7.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003689/0.8993, allocations: 191.8 kB / 447 MB, free: 7.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.8993, allocations: 0 / 447 MB, free: 7.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001039/0.9004, allocations: 105.6 kB / 447.1 MB, free: 7.062 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.001875/0.9023, allocations: 1.07 MB / 448.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.9037, allocations: 449.9 kB / 448.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.9038, allocations: 0.875 kB / 448.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.9044, allocations: 217 kB / 448.9 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.9067, allocations: 154.5 kB / 449 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005863/0.9126, allocations: 1.92 MB / 450.9 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.9132, allocations: 0.7733 MB / 451.7 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007604/0.914, allocations: 58.89 kB / 451.8 MB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.9142, allocations: 92.19 kB / 451.9 MB, free: 4.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/0.9142, allocations: 0 / 451.9 MB, free: 4.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04488/0.9591, allocations: 8.415 MB / 460.3 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003216/0.9595, allocations: 221.6 kB / 460.5 MB, free: 476 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/3.944, allocations: 0 / 460.5 MB, free: 476 kB / 362.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