Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 194.8 MB / 211.1 MB, free: 7.602 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005014, allocations: 12 kB / 264.1 MB, free: 2.523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3031, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.05913/0.3623, allocations: 22.19 MB / 330.7 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.3784, allocations: 5.29 MB / 336 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006883/0.3792, allocations: 7.938 kB / 336 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.381, allocations: 239 kB / 336.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.3826, allocations: 319.1 kB / 336.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00797/0.3906, allocations: 1.356 MB / 337.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.3928, allocations: 0.7291 MB / 338.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000369/0.3932, allocations: 118.1 kB / 338.8 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009815/0.3942, allocations: 347 kB / 339.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000563/0.3948, allocations: 247 kB / 339.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.899e-05/0.3949, allocations: 20 kB / 339.4 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.3974, allocations: 0.7571 MB / 340.1 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.3977, allocations: 99.67 kB / 340.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.3979, allocations: 125.5 kB / 340.4 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.3999, allocations: 0.7802 MB / 341.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4, allocations: 0 / 341.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4, allocations: 0 / 341.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.4, allocations: 0 / 341.1 MB, free: 11.98 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001526/0.4015, allocations: 0.6861 MB / 341.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4016, allocations: 15.97 kB / 341.8 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.4017, allocations: 74.53 kB / 341.9 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007901/0.4025, allocations: 79.41 kB / 342 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/0.4032, allocations: 326.3 kB / 342.3 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.4033, allocations: 29 kB / 342.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.4034, allocations: 39.95 kB / 342.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.4045, allocations: 467.5 kB / 342.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.4046, allocations: 4 kB / 342.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.4046, allocations: 20 kB / 342.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.4047, allocations: 8 kB / 342.9 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007924/0.4055, allocations: 299.7 kB / 343.2 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02328/0.4288, allocations: 6.734 MB / 349.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.4296, allocations: 270.4 kB / 350.2 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/0.4485, allocations: 3.877 MB / 354 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.4486, allocations: 34.56 kB / 354.1 MB, free: 14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 3.096e-06/0.4486, allocations: 0 / 354.1 MB, free: 14 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.02107/0.4697, allocations: 2.494 MB / 356.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.4698, allocations: 55.41 kB / 356.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000703/0.4705, allocations: 299.3 kB / 356.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.641e-05/0.4706, allocations: 29.7 kB / 356.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.4709, allocations: 224 kB / 357.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.4712, allocations: 161.7 kB / 357.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.4712, allocations: 12 kB / 357.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.4715, allocations: 354.7 kB / 357.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006077/0.4721, allocations: 153.1 kB / 357.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.4729, allocations: 271.7 kB / 358.1 MB, free: 9.816 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007437/0.4737, allocations: 192.8 kB / 358.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.4737, allocations: 0 / 358.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00255/0.4763, allocations: 0.5956 MB / 358.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.4763, allocations: 4 kB / 358.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.4764, allocations: 4 kB / 358.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01668/0.493, allocations: 0.7715 MB / 359.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.4943, allocations: 115.9 kB / 359.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/0.4984, allocations: 2.463 MB / 362.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009193/0.4994, allocations: 40.02 kB / 362.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.169e-05/0.4995, allocations: 20 kB / 362.3 MB, free: 5.402 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004571/0.5, allocations: 181.6 kB / 362.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.5002, allocations: 39.53 kB / 362.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.5029, allocations: 0.8553 MB / 363.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.503, allocations: 4 kB / 363.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.503, allocations: 0 / 363.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00237/0.5054, allocations: 0.9613 MB / 364.3 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004856/0.5103, allocations: 1.496 MB / 365.8 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.5104, allocations: 3.938 kB / 365.8 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008851/0.5113, allocations: 79.92 kB / 365.9 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008187/0.5195, allocations: 0.6374 MB / 366.5 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.5197, allocations: 8 kB / 366.5 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.5218, allocations: 1.28 MB / 367.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.5219, allocations: 0 / 367.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.5259, allocations: 1.223 MB / 369 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.5263, allocations: 120.5 kB / 369.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.5265, allocations: 12 kB / 369.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007799/0.5273, allocations: 23.92 kB / 369.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.5275, allocations: 31.95 kB / 369.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.895e-05/0.5276, allocations: 19.94 kB / 369.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005437/0.5281, allocations: 205.9 kB / 369.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5282, allocations: 0 / 369.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00186/0.53, allocations: 235.9 kB / 369.7 MB, free: 13.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005856/0.5359, allocations: 1.942 MB / 371.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002703/0.5387, allocations: 0.6903 MB / 372.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.5388, allocations: 0 / 372.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.5409, allocations: 428.9 kB / 372.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.544, allocations: 229.3 kB / 373 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.5542, allocations: 3.024 MB / 376 MB, free: 7.273 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/0.555, allocations: 0.8402 MB / 376.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008185/0.5558, allocations: 76.33 kB / 376.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.5562, allocations: 167.4 kB / 377.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5563, allocations: 0 / 377.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05692/0.6132, allocations: 16.08 MB / 393.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/0.6136, allocations: 206.3 kB / 393.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.456/4.07, allocations: 0 / 393.3 MB, free: 5.867 MB / 330.7 MB "" Variables in the reference:time,volume.medium.T,volume.medium.p,volume1.medium.T,volume1.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.d,ambient.medium.state.h,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),der(volume1.U),der(volume1.m),der(volume1.medium.T),der(volume1.medium.d),der(volume1.medium.h),der(volume1.medium.p),der(volume1.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.d,fixedMassFlowRate.medium.state.h,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,shortPipe1.dp,shortPipe1.dp_nominal,shortPipe1.m_flow,shortPipe1.m_flow_nominal,shortPipe1.port_a.H_flow,shortPipe1.port_a.h,shortPipe1.port_a.m_flow,shortPipe1.port_a.p,shortPipe1.port_b.H_flow,shortPipe1.port_b.h,shortPipe1.port_b.m_flow,shortPipe1.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.d,volume.medium.state.h,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,volume1.T_start,volume1.U,volume1.V,volume1.X_start[1],volume1.d_start,volume1.h_start,volume1.m,volume1.medium.MM,volume1.medium.R,volume1.medium.T,volume1.medium.T_degC,volume1.medium.X[1],volume1.medium.d,volume1.medium.h,volume1.medium.p,volume1.medium.p_bar,volume1.medium.preferredMediumStates,volume1.medium.standardOrderComponents,volume1.medium.state.T,volume1.medium.state.d,volume1.medium.state.h,volume1.medium.state.p,volume1.medium.u,volume1.p_start,volume1.port.H_flow,volume1.port.h,volume1.port.m_flow,volume1.port.p,volume1.use_T_start,volume1.use_p_start