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.R134a1.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.R134a1,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.05/2.05, allocations: 194.8 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005614/0.0005617, allocations: 16 kB / 264.1 MB, free: 2.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3223, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.04074/0.3631, allocations: 22.42 MB / 331 MB, free: 6.156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03792/0.4011, allocations: 20.77 MB / 351.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.4015, allocations: 7.938 kB / 351.8 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.4027, allocations: 239 kB / 352 MB, free: 1.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000899/0.4036, allocations: 259.2 kB / 352.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01356/0.4172, allocations: 3.097 MB / 355.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.4185, allocations: 0.5428 MB / 355.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.4188, allocations: 88.8 kB / 356 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00093/0.4197, allocations: 291.1 kB / 356.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004234/0.4202, allocations: 187.3 kB / 356.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.4203, allocations: 19.94 kB / 356.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1229/0.5432, allocations: 53.57 MB / 410 MB, free: 7.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.5435, allocations: 79.72 kB / 410.1 MB, free: 6.941 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.5438, allocations: 105.6 kB / 410.2 MB, free: 6.832 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3528/0.8965, allocations: 10.65 MB / 420.9 MB, free: 49.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8966, allocations: 0 / 420.9 MB, free: 49.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.8966, allocations: 0 / 420.9 MB, free: 49.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.8966, allocations: 0.7812 kB / 420.9 MB, free: 49.37 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.01026/0.9069, allocations: 1.065 MB / 421.9 MB, free: 48.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.907, allocations: 10.25 kB / 421.9 MB, free: 48.65 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.9071, allocations: 76.03 kB / 422 MB, free: 48.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007238/0.9078, allocations: 67.56 kB / 422.1 MB, free: 48.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.9084, allocations: 306.1 kB / 422.4 MB, free: 48.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.9084, allocations: 26.19 kB / 422.4 MB, free: 48.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/0.9085, allocations: 28.53 kB / 422.4 MB, free: 48.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.9097, allocations: 461.2 kB / 422.9 MB, free: 48.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.9097, allocations: 0 / 422.9 MB, free: 48.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/0.9098, allocations: 18.48 kB / 422.9 MB, free: 48.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.9098, allocations: 6.625 kB / 422.9 MB, free: 48.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.9108, allocations: 387 kB / 423.3 MB, free: 48.26 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.004496/0.9154, allocations: 2.963 MB / 426.2 MB, free: 46.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009169/0.9163, allocations: 287.9 kB / 426.5 MB, free: 46.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002937/0.9193, allocations: 2.54 MB / 429.1 MB, free: 43.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.9193, allocations: 37.31 kB / 429.1 MB, free: 43.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 3.166e-06/0.9194, allocations: 0 / 429.1 MB, free: 43.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.007304/0.9267, allocations: 1.293 MB / 430.4 MB, free: 43.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.9267, allocations: 57.11 kB / 430.4 MB, free: 43.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.9271, allocations: 266.2 kB / 430.7 MB, free: 43.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.9272, allocations: 35.33 kB / 430.7 MB, free: 43.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.9273, allocations: 187.5 kB / 430.9 MB, free: 43.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.681e-05/0.9274, allocations: 119.7 kB / 431 MB, free: 42.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.9274, allocations: 11.34 kB / 431 MB, free: 42.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.9275, allocations: 337 kB / 431.4 MB, free: 42.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.9279, allocations: 111 kB / 431.5 MB, free: 42.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.9282, allocations: 227.2 kB / 431.7 MB, free: 42.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.9286, allocations: 145.9 kB / 431.9 MB, free: 42.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.9286, allocations: 2.469 kB / 431.9 MB, free: 42.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001246/0.9299, allocations: 464.5 kB / 432.3 MB, free: 42.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.9299, allocations: 9.812 kB / 432.3 MB, free: 42.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.9299, allocations: 3.781 kB / 432.3 MB, free: 42.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007549/0.9375, allocations: 236.3 kB / 432.6 MB, free: 42.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/0.9382, allocations: 84.95 kB / 432.6 MB, free: 42.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.9396, allocations: 1.849 MB / 434.5 MB, free: 40.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.9402, allocations: 39.28 kB / 434.5 MB, free: 40.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.9402, allocations: 22.09 kB / 434.5 MB, free: 40.69 MB / 346.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: 3 (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 (48): * Single equations (assignments): 46 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002658/0.9405, allocations: 158.8 kB / 434.7 MB, free: 40.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.9406, allocations: 36.52 kB / 434.7 MB, free: 40.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.9421, allocations: 0.6881 MB / 435.4 MB, free: 40.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.9421, allocations: 10.34 kB / 435.4 MB, free: 40.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.9421, allocations: 0 / 435.4 MB, free: 40.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.9432, allocations: 0.8568 MB / 436.3 MB, free: 40 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.9453, allocations: 1.199 MB / 437.5 MB, free: 39.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.9454, allocations: 4.25 kB / 437.5 MB, free: 39.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.9458, allocations: 61.88 kB / 437.6 MB, free: 39.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.9485, allocations: 180 kB / 437.7 MB, free: 39.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.9486, allocations: 9.375 kB / 437.7 MB, free: 39.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000384/0.949, allocations: 0.5731 MB / 438.3 MB, free: 39.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.949, allocations: 1 kB / 438.3 MB, free: 39.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.9504, allocations: 0.743 MB / 439.1 MB, free: 38.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.9506, allocations: 121.4 kB / 439.2 MB, free: 38.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.9507, allocations: 10.41 kB / 439.2 MB, free: 38.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.9511, allocations: 21.16 kB / 439.2 MB, free: 38.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.9512, allocations: 22.28 kB / 439.2 MB, free: 38.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.9512, allocations: 17.42 kB / 439.2 MB, free: 38.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000305/0.9515, allocations: 218.8 kB / 439.5 MB, free: 38.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.9515, allocations: 1 kB / 439.5 MB, free: 38.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006623/0.9582, allocations: 0.7422 MB / 440.2 MB, free: 38.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * 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: 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.05857/1.017, allocations: 7.577 MB / 447.8 MB, free: 34.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001204/1.018, allocations: 467.5 kB / 448.2 MB, free: 34.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.018, allocations: 0.875 kB / 448.2 MB, free: 34.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/1.019, allocations: 229 kB / 448.5 MB, free: 33.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/1.02, allocations: 181.9 kB / 448.6 MB, free: 33.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0098/1.03, allocations: 2.592 MB / 451.2 MB, free: 31.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/1.031, allocations: 0.8126 MB / 452 MB, free: 31.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006883/1.031, allocations: 206 kB / 452.2 MB, free: 30.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/1.032, allocations: 136.2 kB / 452.4 MB, free: 30.91 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/1.032, allocations: 0 / 452.4 MB, free: 30.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07934/1.111, allocations: 32.56 MB / 484.9 MB, free: 124 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/1.111, allocations: 189.4 kB / 485.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.944/6.055, allocations: 4 kB / 485.1 MB, free: 15.88 MB / 362.7 MB "" Variables in the reference:time,volume.medium.h,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.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),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,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