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.Water.WaterIF97OnePhase_ph.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.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004604, allocations: 8 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3601, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.05677/0.4169, allocations: 27.11 MB / 335.7 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0258/0.4428, allocations: 13.32 MB / 349 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.4433, allocations: 0 / 349 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.4444, allocations: 234.9 kB / 349.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008856/0.4453, allocations: 247.3 kB / 349.5 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0195/0.4648, allocations: 4.523 MB / 354 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.4663, allocations: 0.5934 MB / 354.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.4665, allocations: 84.94 kB / 354.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009378/0.4759, allocations: 3.263 MB / 357.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.4765, allocations: 199.2 kB / 358.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.4766, allocations: 20 kB / 358.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01683/0.4934, allocations: 5.927 MB / 364.1 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.4937, allocations: 83.72 kB / 364.2 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.4939, allocations: 109.5 kB / 364.3 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006757/0.5007, allocations: 2.611 MB / 366.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5008, allocations: 0 / 366.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5008, allocations: 0 / 366.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.5008, allocations: 0 / 366.9 MB, free: 2.328 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003041/0.5038, allocations: 0.9006 MB / 367.8 MB, free: 1.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.5039, allocations: 12.02 kB / 367.8 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.5041, allocations: 66.55 kB / 367.9 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.506, allocations: 163.4 kB / 368 MB, free: 1.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006331/0.5066, allocations: 318.4 kB / 368.3 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.5067, allocations: 20.66 kB / 368.3 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.5068, allocations: 36 kB / 368.4 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.5087, allocations: 0.5151 MB / 368.9 MB, free: 176 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.5087, allocations: 4 kB / 368.9 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.5088, allocations: 12 kB / 368.9 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.5088, allocations: 8 kB / 368.9 MB, free: 152 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5099, allocations: 329.8 kB / 369.2 MB, free: 15.83 MB / 314.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.00475/0.5146, allocations: 2.569 MB / 371.8 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009161/0.5156, allocations: 274.8 kB / 372.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1139/0.6295, allocations: 31.19 MB / 403.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.013e-05/0.6296, allocations: 46.5 kB / 403.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 2.354e-06/0.6296, allocations: 3.938 kB / 403.3 MB, free: 9.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.005307/0.635, allocations: 1.215 MB / 404.5 MB, free: 8.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.635, allocations: 55.41 kB / 404.6 MB, free: 8.566 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.6355, allocations: 266.5 kB / 404.8 MB, free: 8.297 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.6355, allocations: 33.7 kB / 404.9 MB, free: 8.258 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.6357, allocations: 188 kB / 405.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.6359, allocations: 110.4 kB / 405.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.6359, allocations: 12 kB / 405.2 MB, free: 7.949 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.6361, allocations: 338.8 kB / 405.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.6364, allocations: 88.84 kB / 405.6 MB, free: 7.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.6368, allocations: 214.9 kB / 405.8 MB, free: 7.262 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.6372, allocations: 120 kB / 405.9 MB, free: 7.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.6372, allocations: 11.94 kB / 405.9 MB, free: 7.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001257/0.6385, allocations: 411 kB / 406.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.6385, allocations: 11.97 kB / 406.3 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6385, allocations: 4 kB / 406.4 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/0.639, allocations: 61.69 kB / 406.4 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.6397, allocations: 87.89 kB / 406.5 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.6422, allocations: 2.434 MB / 408.9 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.6427, allocations: 23.89 kB / 409 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.6428, allocations: 20 kB / 409 MB, free: 3.891 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (45): * Single equations (assignments): 42 * 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: 2 * 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: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003298/0.6431, allocations: 177.7 kB / 409.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.6432, allocations: 27.72 kB / 409.2 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.6451, allocations: 0.8668 MB / 410 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.6452, allocations: 15.92 kB / 410.1 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6452, allocations: 0 / 410.1 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001679/0.6469, allocations: 1.041 MB / 411.1 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.6498, allocations: 1.501 MB / 412.6 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.6498, allocations: 0 / 412.6 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.6503, allocations: 55.91 kB / 412.7 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2502/0.9005, allocations: 69.88 kB / 412.7 MB, free: 100.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/0.9006, allocations: 6.859 kB / 412.7 MB, free: 100.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005051/0.9011, allocations: 0.5924 MB / 413.3 MB, free: 99.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.9012, allocations: 0.5 kB / 413.3 MB, free: 99.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.9031, allocations: 0.821 MB / 414.1 MB, free: 99.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.9033, allocations: 137.6 kB / 414.3 MB, free: 99.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/0.9034, allocations: 9.875 kB / 414.3 MB, free: 99.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006405/0.9041, allocations: 44.22 kB / 414.3 MB, free: 99.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.9041, allocations: 22.09 kB / 414.4 MB, free: 99.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.9042, allocations: 18.64 kB / 414.4 MB, free: 99.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003904/0.9046, allocations: 234.8 kB / 414.6 MB, free: 99.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9046, allocations: 0 / 414.6 MB, free: 99.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003194/0.9078, allocations: 0.8546 MB / 415.5 MB, free: 99.38 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 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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.007744/0.9156, allocations: 2.231 MB / 417.7 MB, free: 98.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.917, allocations: 477.1 kB / 418.2 MB, free: 98.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.917, allocations: 0 / 418.2 MB, free: 98.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005401/0.9176, allocations: 248 kB / 418.4 MB, free: 98.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.9194, allocations: 178 kB / 418.6 MB, free: 98.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006286/0.9257, allocations: 2.612 MB / 421.2 MB, free: 96.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.926, allocations: 0.828 MB / 422 MB, free: 95.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006609/0.9267, allocations: 186.9 kB / 422.2 MB, free: 95.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.9269, allocations: 141.1 kB / 422.3 MB, free: 95.82 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.927, allocations: 0 / 422.3 MB, free: 95.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09494/1.022, allocations: 39.3 MB / 461.6 MB, free: 56.88 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/1.022, allocations: 242.4 kB / 461.9 MB, free: 56.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.714/6.736, allocations: 3.938 kB / 461.9 MB, free: 56.62 MB / 346.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.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.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.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