Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01068/0.01068, allocations: 104.4 kB / 15.05 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001161/0.001161, allocations: 171.3 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.669/1.669, allocations: 170.9 MB / 187.5 MB, free: 1.012 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.279/0.279, allocations: 38.1 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006365/0.0006367, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09163, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.061/0.1527, allocations: 32.7 MB / 405 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04206/0.1948, allocations: 17.01 MB / 422 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.1961, allocations: 31.75 kB / 422 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.1982, allocations: 390.2 kB / 422.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02164/0.2199, allocations: 3.957 MB / 426.4 MB, free: 6.637 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01116/0.2311, allocations: 2.065 MB / 428.5 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003508/0.2346, allocations: 1.153 MB / 429.6 MB, free: 3.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.2358, allocations: 417.2 kB / 430 MB, free: 2.988 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3021/0.538, allocations: 6.209 MB / 436.2 MB, free: 16.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02463/0.5627, allocations: 8.666 MB / 444.9 MB, free: 16.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.563, allocations: 36.38 kB / 444.9 MB, free: 16.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0183/0.5813, allocations: 7.067 MB / 452 MB, free: 16.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006137/0.582, allocations: 228.1 kB / 452.2 MB, free: 16.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003773/0.5824, allocations: 185.1 kB / 452.4 MB, free: 16.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008338/0.5907, allocations: 3.417 MB / 455.8 MB, free: 16.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5908, allocations: 0 / 455.8 MB, free: 16.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5908, allocations: 0 / 455.8 MB, free: 16.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.5908, allocations: 0 / 455.8 MB, free: 16.37 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005684/0.5965, allocations: 1.476 MB / 457.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.5966, allocations: 12.03 kB / 457.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003303/0.5969, allocations: 117.1 kB / 457.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.6001, allocations: 300.1 kB / 457.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.6015, allocations: 0.5393 MB / 458.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.6017, allocations: 114.9 kB / 458.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.6019, allocations: 65.17 kB / 458.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.6054, allocations: 1.157 MB / 459.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.6055, allocations: 2.906 kB / 459.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.6056, allocations: 35.08 kB / 459.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.244e-05/0.6057, allocations: 44.91 kB / 459.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.6084, allocations: 0.8356 MB / 460.5 MB, free: 13.09 MB / 330.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.008709/0.6172, allocations: 5.494 MB / 466 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.6189, allocations: 0.5686 MB / 466.6 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1773/0.7963, allocations: 49.6 MB / 0.5041 GB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/0.7964, allocations: 44.59 kB / 0.5041 GB, free: 1.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.736e-06/0.7964, allocations: 0 / 0.5041 GB, free: 1.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.00771/0.8041, allocations: 1.932 MB / 0.506 GB, free: 15.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.8043, allocations: 158.2 kB / 0.5061 GB, free: 15.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.8053, allocations: 0.6103 MB / 0.5067 GB, free: 14.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/0.8054, allocations: 37.2 kB / 0.5068 GB, free: 14.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.8058, allocations: 407.2 kB / 0.5072 GB, free: 14.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.806, allocations: 174.9 kB / 0.5073 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.8061, allocations: 14.25 kB / 0.5073 GB, free: 14.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.8063, allocations: 380.5 kB / 0.5077 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.807, allocations: 224.9 kB / 0.5079 GB, free: 13.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009823/0.808, allocations: 0.5881 MB / 0.5085 GB, free: 13.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.8088, allocations: 339 kB / 0.5088 GB, free: 13.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.8089, allocations: 4 kB / 0.5088 GB, free: 13.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002281/0.8112, allocations: 0.8891 MB / 0.5097 GB, free: 12.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.8112, allocations: 13.94 kB / 0.5097 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.8112, allocations: 12 kB / 0.5097 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004337/0.8117, allocations: 69.2 kB / 0.5098 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.8141, allocations: 288.6 kB / 0.5101 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.8163, allocations: 1.985 MB / 0.512 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009882/0.8173, allocations: 65.06 kB / 0.5121 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.751e-05/0.8174, allocations: 42.81 kB / 0.5121 GB, free: 10.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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: 1 * 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: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000577/0.818, allocations: 277 kB / 0.5124 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.8182, allocations: 71.16 kB / 0.5124 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.822, allocations: 2.218 MB / 0.5146 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.746e-05/0.8221, allocations: 36.84 kB / 0.5146 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8221, allocations: 0 / 0.5146 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.8222, allocations: 3.984 kB / 0.5146 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005622/0.8278, allocations: 3.273 MB / 0.5178 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.8278, allocations: 3.953 kB / 0.5178 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.8297, allocations: 185.9 kB / 0.518 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006265/0.8304, allocations: 90.2 kB / 0.5181 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.8304, allocations: 13 kB / 0.5181 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.8325, allocations: 2.003 MB / 0.5201 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8325, allocations: 0 / 0.5201 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.8359, allocations: 1.99 MB / 0.522 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/0.8366, allocations: 282.3 kB / 0.5223 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.8367, allocations: 13.56 kB / 0.5223 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.8378, allocations: 61.2 kB / 0.5224 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.8379, allocations: 35.03 kB / 0.5224 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/0.838, allocations: 21.98 kB / 0.5224 GB, free: 2.129 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009784/0.839, allocations: 0.4984 MB / 0.5229 GB, free: 1.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.839, allocations: 4 kB / 0.5229 GB, free: 1.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004461/0.8434, allocations: 1.077 MB / 0.5239 GB, free: 0.7266 MB / 394.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.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0109/0.8544, allocations: 3.715 MB / 0.5276 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003156/0.8576, allocations: 0.9346 MB / 0.5285 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.8576, allocations: 3.844 kB / 0.5285 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.8597, allocations: 0.6799 MB / 0.5292 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/0.8628, allocations: 353.7 kB / 0.5295 GB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/0.8797, allocations: 13.76 MB / 0.5429 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/0.8807, allocations: 1.138 MB / 0.544 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001633/0.8823, allocations: 455.6 kB / 0.5445 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/0.883, allocations: 385.2 kB / 0.5448 GB, free: 13.73 MB / 426.7 MB Notification: Performance of SimCode: time 9.51e-07/0.883, allocations: 0 / 0.5448 GB, free: 13.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.441/1.324, allocations: 54.86 MB / 0.5984 GB, free: 180.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/1.324, allocations: 285.7 kB / 0.5987 GB, free: 180.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.907/7.231, allocations: 1.375 kB / 0.5987 GB, free: 180.3 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat