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.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003518, allocations: 8 kB / 264.1 MB, free: 2.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.287, allocations: 44.51 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05297/0.34, allocations: 30.47 MB / 339 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.3436, allocations: 1.499 MB / 340.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004252/0.3441, allocations: 3.938 kB / 340.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007257/0.3449, allocations: 143.3 kB / 340.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007362/0.3456, allocations: 203.5 kB / 340.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009965/0.3466, allocations: 223.5 kB / 341.1 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009561/0.3476, allocations: 475 kB / 341.6 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.3479, allocations: 68.62 kB / 341.6 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1979/0.5458, allocations: 71.69 MB / 413.3 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005432/0.5464, allocations: 167.4 kB / 413.5 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.5465, allocations: 16 kB / 413.5 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.5467, allocations: 20 kB / 413.5 MB, free: 3.555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.5469, allocations: 67.78 kB / 413.6 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.547, allocations: 97.52 kB / 413.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.5476, allocations: 343 kB / 414 MB, free: 3.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5476, allocations: 0 / 414 MB, free: 3.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5476, allocations: 0 / 414 MB, free: 3.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.5476, allocations: 3.938 kB / 414 MB, free: 3.047 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001205/0.5488, allocations: 0.5262 MB / 414.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.5489, allocations: 12.03 kB / 414.6 MB, free: 2.461 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.549, allocations: 66.47 kB / 414.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.5494, allocations: 35.72 kB / 414.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.5499, allocations: 270.5 kB / 414.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.5499, allocations: 20.56 kB / 414.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/0.55, allocations: 24 kB / 415 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007187/0.5507, allocations: 295.7 kB / 415.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.5508, allocations: 7.938 kB / 415.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.5508, allocations: 11.95 kB / 415.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.5508, allocations: 8 kB / 415.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005428/0.5514, allocations: 197.6 kB / 415.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2393/0.7907, allocations: 1.435 MB / 416.9 MB, free: 106.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.7913, allocations: 172.7 kB / 417.1 MB, free: 106.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.7914, allocations: 4.422 kB / 417.1 MB, free: 106.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.7914, allocations: 37.8 kB / 417.1 MB, free: 106.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.396e-06/0.7914, allocations: 0 / 417.1 MB, free: 106.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.004128/0.7956, allocations: 1.013 MB / 418.1 MB, free: 106.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.7957, allocations: 55.5 kB / 418.2 MB, free: 106.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.796, allocations: 255.5 kB / 418.4 MB, free: 106 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.7961, allocations: 31.2 kB / 418.5 MB, free: 106 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.7962, allocations: 182.3 kB / 418.7 MB, free: 105.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.7963, allocations: 88.58 kB / 418.7 MB, free: 105.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.7964, allocations: 10.91 kB / 418.7 MB, free: 105.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.7964, allocations: 337.8 kB / 419.1 MB, free: 105.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.7967, allocations: 83.69 kB / 419.2 MB, free: 105.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.797, allocations: 175.4 kB / 419.3 MB, free: 105.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.7973, allocations: 114.1 kB / 419.4 MB, free: 105.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7974, allocations: 1.188 kB / 419.4 MB, free: 105.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001173/0.7985, allocations: 384.2 kB / 419.8 MB, free: 105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.7986, allocations: 6.406 kB / 419.8 MB, free: 105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.7986, allocations: 6.031 kB / 419.8 MB, free: 105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.799, allocations: 74.98 kB / 419.9 MB, free: 105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.7996, allocations: 69.48 kB / 420 MB, free: 105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.802, allocations: 2.684 MB / 422.7 MB, free: 102.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.8025, allocations: 25.62 kB / 422.7 MB, free: 102.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.8026, allocations: 14.91 kB / 422.7 MB, free: 102.3 MB / 346.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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.8028, allocations: 151.5 kB / 422.8 MB, free: 102.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.8029, allocations: 28.86 kB / 422.9 MB, free: 102.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.74e-05/0.803, allocations: 37.17 kB / 422.9 MB, free: 102.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.803, allocations: 4.625 kB / 422.9 MB, free: 102.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.803, allocations: 0 / 422.9 MB, free: 102.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007985/0.8038, allocations: 0.5578 MB / 423.5 MB, free: 101.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.8052, allocations: 0.7072 MB / 424.2 MB, free: 101.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.8052, allocations: 0 / 424.2 MB, free: 101.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.8056, allocations: 46.25 kB / 424.2 MB, free: 101.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004398/0.8061, allocations: 61.39 kB / 424.3 MB, free: 101.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.8061, allocations: 9.266 kB / 424.3 MB, free: 101.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.8074, allocations: 1.398 MB / 425.7 MB, free: 99.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.8074, allocations: 0 / 425.7 MB, free: 99.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009937/0.8084, allocations: 478.4 kB / 426.2 MB, free: 99.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/0.8085, allocations: 104.3 kB / 426.3 MB, free: 99.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.567e-05/0.8086, allocations: 11.98 kB / 426.3 MB, free: 99.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.809, allocations: 8 kB / 426.3 MB, free: 99.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.8091, allocations: 15.97 kB / 426.3 MB, free: 99.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.8091, allocations: 12 kB / 426.3 MB, free: 99.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002167/0.8093, allocations: 186 kB / 426.5 MB, free: 99.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8093, allocations: 3.938 kB / 426.5 MB, free: 99.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005776/0.8099, allocations: 91.97 kB / 426.6 MB, free: 98.93 MB / 346.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 (24): * Single equations (assignments): 23 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.8111, allocations: 1.008 MB / 427.6 MB, free: 97.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000975/0.8121, allocations: 472.1 kB / 428.1 MB, free: 97.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.8121, allocations: 0 / 428.1 MB, free: 97.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.8127, allocations: 234.6 kB / 428.3 MB, free: 97.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.8141, allocations: 150 kB / 428.4 MB, free: 97.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.8177, allocations: 1.881 MB / 430.3 MB, free: 95.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.818, allocations: 0.7762 MB / 431.1 MB, free: 94.26 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000491/0.8185, allocations: 50.94 kB / 431.1 MB, free: 94.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.8186, allocations: 87.34 kB / 431.2 MB, free: 94.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.8187, allocations: 0 / 431.2 MB, free: 94.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/0.8628, allocations: 7.994 MB / 439.2 MB, free: 86.18 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.8631, allocations: 234 kB / 439.4 MB, free: 85.94 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/3.464, allocations: 0 / 439.4 MB, free: 85.94 MB / 346.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