Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.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.R134a.R134a2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 194.8 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004899, allocations: 8 kB / 264 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2975, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.05361/0.3512, allocations: 31.53 MB / 340.1 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04532/0.3966, allocations: 25.56 MB / 365.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000623/0.3973, allocations: 4 kB / 365.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.3988, allocations: 342.5 kB / 366 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.4002, allocations: 359 kB / 366.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01765/0.4179, allocations: 3.97 MB / 370.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001837/0.4198, allocations: 0.7731 MB / 371.1 MB, free: 14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.4202, allocations: 114.1 kB / 371.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.4214, allocations: 402.8 kB / 371.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006279/0.4221, allocations: 274.9 kB / 371.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.4222, allocations: 31.94 kB / 371.9 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3955/0.8177, allocations: 69.16 MB / 441 MB, free: 34.22 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.8181, allocations: 113.1 kB / 441.1 MB, free: 34.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.8184, allocations: 144 kB / 441.3 MB, free: 34.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.08573/0.9042, allocations: 13.85 MB / 455.1 MB, free: 22.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.9042, allocations: 0 / 455.1 MB, free: 22.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.9043, allocations: 1 kB / 455.1 MB, free: 22.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.9043, allocations: 0 / 455.1 MB, free: 22.57 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.01095/0.9152, allocations: 1.319 MB / 456.5 MB, free: 21.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9153, allocations: 8.031 kB / 456.5 MB, free: 21.26 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.9155, allocations: 83.22 kB / 456.5 MB, free: 21.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009128/0.9164, allocations: 92.2 kB / 456.6 MB, free: 21.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.9171, allocations: 375.9 kB / 457 MB, free: 20.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.9172, allocations: 34.25 kB / 457 MB, free: 20.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.9173, allocations: 45.12 kB / 457.1 MB, free: 20.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.919, allocations: 0.6199 MB / 457.7 MB, free: 20.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.9191, allocations: 4 kB / 457.7 MB, free: 20.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.503e-05/0.9192, allocations: 20.25 kB / 457.7 MB, free: 20.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.9192, allocations: 13 kB / 457.7 MB, free: 20.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.9207, allocations: 0.5214 MB / 458.3 MB, free: 19.9 MB / 346.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.005593/0.9263, allocations: 3.815 MB / 462.1 MB, free: 16.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.9276, allocations: 406.5 kB / 462.5 MB, free: 16.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004007/0.9316, allocations: 3.559 MB / 466 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.9317, allocations: 45.83 kB / 466.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.617e-06/0.9317, allocations: 3.844 kB / 466.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.01335/0.9451, allocations: 2.036 MB / 468.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.9452, allocations: 55.84 kB / 468.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.9456, allocations: 309.5 kB / 468.5 MB, free: 9.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.9456, allocations: 36.89 kB / 468.5 MB, free: 9.887 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.9458, allocations: 229.4 kB / 468.7 MB, free: 9.703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.9459, allocations: 194.2 kB / 468.9 MB, free: 9.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.946, allocations: 14.94 kB / 468.9 MB, free: 9.539 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.9461, allocations: 361.3 kB / 469.3 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.9465, allocations: 172.5 kB / 469.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.947, allocations: 326.9 kB / 469.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.9476, allocations: 228.9 kB / 470 MB, free: 8.691 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.9476, allocations: 0 / 470 MB, free: 8.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001826/0.9494, allocations: 0.6738 MB / 470.7 MB, free: 8.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.9495, allocations: 4 kB / 470.7 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.9495, allocations: 8 kB / 470.7 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01539/0.9649, allocations: 448.1 kB / 471.1 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.966, allocations: 147.1 kB / 471.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.968, allocations: 2.997 MB / 474.3 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/0.9687, allocations: 49.59 kB / 474.3 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.9688, allocations: 27.75 kB / 474.3 MB, free: 4.586 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003507/0.9692, allocations: 197.3 kB / 474.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.9693, allocations: 40.62 kB / 474.6 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.9714, allocations: 1.056 MB / 475.6 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.9715, allocations: 18.75 kB / 475.6 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.9715, allocations: 0 / 475.6 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/0.973, allocations: 1.084 MB / 476.7 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.976, allocations: 1.725 MB / 478.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.9761, allocations: 7.938 kB / 478.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007102/0.9768, allocations: 104.5 kB / 478.6 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00542/0.9822, allocations: 357.9 kB / 478.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.9824, allocations: 21.73 kB / 478.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006907/0.9831, allocations: 1.144 MB / 480.1 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9831, allocations: 0 / 480.1 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.9855, allocations: 1.124 MB / 481.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.9858, allocations: 141.8 kB / 481.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.9859, allocations: 13.75 kB / 481.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.9865, allocations: 34.55 kB / 481.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.9866, allocations: 42.97 kB / 481.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/0.9867, allocations: 19.23 kB / 481.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004032/0.9871, allocations: 245.2 kB / 481.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.9871, allocations: 4 kB / 481.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008429/0.9956, allocations: 0.9629 MB / 482.7 MB, free: 13.99 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0731/1.069, allocations: 9.424 MB / 492.1 MB, free: 5.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00216/1.071, allocations: 0.7035 MB / 492.8 MB, free: 4.594 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.071, allocations: 0 / 492.8 MB, free: 4.594 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009638/1.072, allocations: 366.2 kB / 493.1 MB, free: 4.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/1.074, allocations: 256.6 kB / 493.4 MB, free: 4.168 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/1.088, allocations: 3.66 MB / 497.1 MB, free: 1.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/1.088, allocations: 0.8725 MB / 497.9 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000987/1.089, allocations: 244.2 kB / 498.2 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/1.09, allocations: 207.2 kB / 498.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/1.09, allocations: 0 / 498.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1588/1.249, allocations: 40.68 MB / 0.5264 GB, free: 7.602 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/1.249, allocations: 197.4 kB / 0.5266 GB, free: 7.355 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.245/6.494, allocations: 3.938 kB / 0.5266 GB, free: 7.352 MB / 410.7 MB "" Variables in the reference:time,volume.medium.h,volume.medium.p,volume1.medium.h,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.phase,ambient.medium.preferredMediumStates,ambient.medium.quality,ambient.medium.sat.Tsat,ambient.medium.sat.psat,ambient.medium.standardOrderComponents,ambient.medium.state.T,ambient.medium.state.d,ambient.medium.state.h,ambient.medium.state.p,ambient.medium.state.phase,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.d),der(volume.medium.h),der(volume.medium.p),der(volume.medium.u),der(volume1.U),der(volume1.m),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.phase,fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.quality,fixedMassFlowRate.medium.sat.Tsat,fixedMassFlowRate.medium.sat.psat,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.medium.state.T,fixedMassFlowRate.medium.state.d,fixedMassFlowRate.medium.state.h,fixedMassFlowRate.medium.state.p,fixedMassFlowRate.medium.state.phase,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.phase,volume.medium.preferredMediumStates,volume.medium.quality,volume.medium.sat.Tsat,volume.medium.sat.psat,volume.medium.standardOrderComponents,volume.medium.state.T,volume.medium.state.d,volume.medium.state.h,volume.medium.state.p,volume.medium.state.phase,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.phase,volume1.medium.preferredMediumStates,volume1.medium.quality,volume1.medium.sat.Tsat,volume1.medium.sat.psat,volume1.medium.standardOrderComponents,volume1.medium.state.T,volume1.medium.state.d,volume1.medium.state.h,volume1.medium.state.p,volume1.medium.state.phase,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