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.LinearColdWater.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.LinearColdWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.28/2.281, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 12 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2947, allocations: 44.5 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01691/0.3117, allocations: 10.49 MB / 319.1 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.3148, allocations: 1.395 MB / 320.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.3152, allocations: 4 kB / 320.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000683/0.3159, allocations: 139.4 kB / 320.6 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006226/0.3165, allocations: 207.4 kB / 320.8 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000949/0.3175, allocations: 227.5 kB / 321 MB, free: 280 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008668/0.3184, allocations: 475 kB / 321.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.3186, allocations: 64.7 kB / 321.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.3196, allocations: 350.9 kB / 321.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.32, allocations: 163.4 kB / 322 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.094e-05/0.3201, allocations: 12 kB / 322.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.3203, allocations: 23.98 kB / 322.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.3204, allocations: 71.78 kB / 322.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.3206, allocations: 89.58 kB / 322.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.3211, allocations: 332 kB / 322.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3212, allocations: 8 kB / 322.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3212, allocations: 3.938 kB / 322.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3212, allocations: 0 / 322.6 MB, free: 14.71 MB / 266.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.00127/0.3225, allocations: 0.5263 MB / 323.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3225, allocations: 8.031 kB / 323.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.3226, allocations: 58.55 kB / 323.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003583/0.323, allocations: 43.61 kB / 323.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.3235, allocations: 270.6 kB / 323.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.3236, allocations: 20.5 kB / 323.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.3237, allocations: 31.84 kB / 323.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.3244, allocations: 299.7 kB / 323.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.3244, allocations: 3.984 kB / 323.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.557e-05/0.3245, allocations: 12 kB / 323.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3245, allocations: 8 kB / 323.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.3251, allocations: 193.5 kB / 324 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.3276, allocations: 1.432 MB / 325.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.3281, allocations: 179.1 kB / 325.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.3281, allocations: 8.188 kB / 325.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3282, allocations: 30.75 kB / 325.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.434e-06/0.3282, allocations: 4 kB / 325.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.004015/0.3322, allocations: 1.009 MB / 326.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3323, allocations: 59.36 kB / 326.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.3327, allocations: 258.5 kB / 327 MB, free: 9.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.3328, allocations: 29.7 kB / 327 MB, free: 9.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3329, allocations: 188.1 kB / 327.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.3331, allocations: 82.75 kB / 327.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.3331, allocations: 8 kB / 327.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3333, allocations: 334.8 kB / 327.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.3336, allocations: 87.95 kB / 327.7 MB, free: 9.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.3339, allocations: 175.1 kB / 327.9 MB, free: 8.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.3342, allocations: 111.9 kB / 328 MB, free: 8.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3343, allocations: 0 / 328 MB, free: 8.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001161/0.3354, allocations: 390.8 kB / 328.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3355, allocations: 6.812 kB / 328.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.3355, allocations: 4 kB / 328.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004315/0.3359, allocations: 65.61 kB / 328.4 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.3365, allocations: 63.91 kB / 328.5 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/0.3399, allocations: 2.693 MB / 331.2 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/0.3404, allocations: 28.08 kB / 331.2 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.3404, allocations: 12 kB / 331.2 MB, free: 5.332 MB / 266.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.0002539/0.3407, allocations: 157.7 kB / 331.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.3408, allocations: 27.67 kB / 331.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.3409, allocations: 38.17 kB / 331.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3409, allocations: 0 / 331.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3409, allocations: 0 / 331.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009984/0.342, allocations: 0.5708 MB / 332 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.3436, allocations: 0.6949 MB / 332.7 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3436, allocations: 3.938 kB / 332.7 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.344, allocations: 39.98 kB / 332.8 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.3445, allocations: 64.77 kB / 332.8 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.3446, allocations: 15.92 kB / 332.9 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.3464, allocations: 1.398 MB / 334.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3464, allocations: 0 / 334.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.3476, allocations: 481.3 kB / 334.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3477, allocations: 100.8 kB / 334.8 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/0.3478, allocations: 8 kB / 334.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.3482, allocations: 8 kB / 334.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.3483, allocations: 20.03 kB / 334.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.3483, allocations: 12 kB / 334.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002842/0.3486, allocations: 182 kB / 335 MB, free: 1.195 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.755e-06/0.3487, allocations: 0 / 335 MB, free: 1.195 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000599/0.3493, allocations: 95.94 kB / 335.1 MB, free: 1.102 MB / 266.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.00155/0.3508, allocations: 1.01 MB / 336.1 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.352, allocations: 473.9 kB / 336.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.352, allocations: 0 / 336.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.3526, allocations: 238.5 kB / 336.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.3542, allocations: 148.4 kB / 337 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.3588, allocations: 1.878 MB / 338.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.3593, allocations: 0.7723 MB / 339.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005244/0.3599, allocations: 50.95 kB / 339.7 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.3601, allocations: 83.41 kB / 339.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3601, allocations: 0 / 339.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.3985, allocations: 7.991 MB / 347.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003618/0.3989, allocations: 235.2 kB / 348 MB, free: 4.086 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.055, allocations: 0 / 348 MB, free: 4.086 MB / 282.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