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.DryAir1.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.DryAir1,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.213/2.213, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003524, allocations: 8 kB / 264 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2998, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0279/0.3278, allocations: 16.28 MB / 324.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009226/0.3371, allocations: 4.756 MB / 329.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.3376, allocations: 3.938 kB / 329.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008657/0.3384, allocations: 175.2 kB / 329.8 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008359/0.3393, allocations: 227.3 kB / 330 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005217/0.3445, allocations: 1.196 MB / 331.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.3457, allocations: 0.5185 MB / 331.7 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.346, allocations: 76.67 kB / 331.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01668/0.3627, allocations: 7.204 MB / 339 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.3631, allocations: 171.2 kB / 339.1 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.3632, allocations: 16 kB / 339.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.3655, allocations: 0.7258 MB / 339.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.3657, allocations: 71.78 kB / 340 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.3659, allocations: 97.52 kB / 340.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3674, allocations: 0.6079 MB / 340.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3674, allocations: 3.938 kB / 340.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3674, allocations: 0 / 340.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.3674, allocations: 0 / 340.7 MB, free: 12.57 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001318/0.3688, allocations: 0.5924 MB / 341.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.3688, allocations: 12.03 kB / 341.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.369, allocations: 62.53 kB / 341.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005965/0.3696, allocations: 51.7 kB / 341.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.3701, allocations: 274.5 kB / 341.6 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.3702, allocations: 32.45 kB / 341.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.3703, allocations: 28 kB / 341.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008028/0.3711, allocations: 326.5 kB / 342 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.3711, allocations: 4 kB / 342 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.3712, allocations: 12 kB / 342 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.3712, allocations: 4 kB / 342 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.3718, allocations: 210 kB / 342.2 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02176/0.3935, allocations: 5.912 MB / 348.2 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.3941, allocations: 178.6 kB / 348.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01872/0.4128, allocations: 3.877 MB / 352.2 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.4129, allocations: 38.5 kB / 352.2 MB, free: 32 kB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.685e-06/0.4129, allocations: 0 / 352.2 MB, free: 32 kB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.009966/0.4229, allocations: 1.412 MB / 353.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.423, allocations: 59.39 kB / 353.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.4234, allocations: 258.5 kB / 354 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.4235, allocations: 33.7 kB / 354 MB, free: 14.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.4237, allocations: 188 kB / 354.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.4238, allocations: 90.66 kB / 354.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.4238, allocations: 8 kB / 354.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.424, allocations: 338.8 kB / 354.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.4242, allocations: 95.69 kB / 354.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.4246, allocations: 183.1 kB / 354.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.425, allocations: 127.9 kB / 355 MB, free: 13.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.425, allocations: 0 / 355 MB, free: 13.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00116/0.4261, allocations: 386.9 kB / 355.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.4262, allocations: 8 kB / 355.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4262, allocations: 4 kB / 355.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005944/0.4322, allocations: 401.5 kB / 355.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.4328, allocations: 71.91 kB / 355.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.4351, allocations: 1.887 MB / 357.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.4356, allocations: 24.17 kB / 357.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.4356, allocations: 16 kB / 357.8 MB, free: 10.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.4359, allocations: 157.7 kB / 357.9 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.23e-05/0.436, allocations: 27.67 kB / 358 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.4372, allocations: 498.1 kB / 358.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.4372, allocations: 0 / 358.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.4372, allocations: 4 kB / 358.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.4383, allocations: 0.7199 MB / 359.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.4404, allocations: 0.9493 MB / 360.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.4405, allocations: 4 kB / 360.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.4408, allocations: 47.94 kB / 360.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00305/0.4439, allocations: 328.2 kB / 360.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.444, allocations: 8 kB / 360.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007787/0.4448, allocations: 0.6383 MB / 361.1 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4448, allocations: 3.953 kB / 361.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.4464, allocations: 0.7204 MB / 361.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.4466, allocations: 104.7 kB / 362 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.4467, allocations: 16.11 kB / 362 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.447, allocations: 8 kB / 362 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.4471, allocations: 19.92 kB / 362 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.4471, allocations: 12 kB / 362 MB, free: 5.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002901/0.4474, allocations: 182 kB / 362.2 MB, free: 5.488 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.4475, allocations: 4 kB / 362.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009487/0.4484, allocations: 187.9 kB / 362.4 MB, free: 5.301 MB / 298.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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002844/0.4513, allocations: 1.422 MB / 363.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.4526, allocations: 454.3 kB / 364.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4527, allocations: 0 / 364.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00088/0.4536, allocations: 236.6 kB / 364.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.4552, allocations: 167.2 kB / 364.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/0.4602, allocations: 2.072 MB / 366.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.4608, allocations: 0.7799 MB / 367.5 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004322/0.4612, allocations: 50.94 kB / 367.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.4614, allocations: 103.4 kB / 367.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of SimCode: time 3.327e-06/0.4615, allocations: 4 kB / 367.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06279/0.5243, allocations: 12.5 MB / 380.2 MB, free: 3.41 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003585/0.5247, allocations: 198.4 kB / 380.4 MB, free: 3.172 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/3.769, allocations: 0 / 380.4 MB, free: 3.172 MB / 314.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.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),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,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