Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_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.2/package.mo): time 0.01113/0.01113, allocations: 107.9 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001373/0.001372, allocations: 181.3 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.946/1.946, allocations: 194.5 MB / 211.3 MB, free: 11.24 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2906/0.2906, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1117, allocations: 54.89 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.055/0.1668, allocations: 32.94 MB / 449 MB, free: 1.527 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3255/0.4924, allocations: 17.18 MB / 466.2 MB, free: 32.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.4936, allocations: 27.81 kB / 466.2 MB, free: 32.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.4954, allocations: 387.6 kB / 466.6 MB, free: 32.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0162/0.5116, allocations: 3.984 MB / 470.5 MB, free: 32.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008654/0.5203, allocations: 2.112 MB / 472.7 MB, free: 32.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.5227, allocations: 1.158 MB / 473.8 MB, free: 32.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009188/0.5237, allocations: 408.5 kB / 474.2 MB, free: 32.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01672/0.5404, allocations: 6.293 MB / 480.5 MB, free: 31.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02371/0.5642, allocations: 8.76 MB / 489.3 MB, free: 31.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.5645, allocations: 35.31 kB / 489.3 MB, free: 31.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02097/0.5855, allocations: 7.183 MB / 496.5 MB, free: 30.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005962/0.5861, allocations: 224.3 kB / 496.7 MB, free: 30.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.5866, allocations: 191.2 kB / 496.9 MB, free: 30.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.5969, allocations: 3.453 MB / 0.4886 GB, free: 30 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.597, allocations: 3.281 kB / 0.4886 GB, free: 30 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.597, allocations: 0 / 0.4886 GB, free: 30 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.597, allocations: 4 kB / 0.4886 GB, free: 30 MB / 378.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.007178/0.6042, allocations: 1.53 MB / 0.4901 GB, free: 29.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.6043, allocations: 8.781 kB / 0.4901 GB, free: 29.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003748/0.6046, allocations: 119.2 kB / 0.4902 GB, free: 29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/0.6081, allocations: 312.5 kB / 0.4905 GB, free: 28.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.6096, allocations: 0.5451 MB / 0.4911 GB, free: 28.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.6098, allocations: 115.6 kB / 0.4912 GB, free: 28.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.61, allocations: 59.05 kB / 0.4912 GB, free: 28.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004127/0.6141, allocations: 1.209 MB / 0.4924 GB, free: 27.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.6142, allocations: 12.73 kB / 0.4924 GB, free: 27.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.6143, allocations: 28.62 kB / 0.4925 GB, free: 27.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.513e-05/0.6144, allocations: 49.33 kB / 0.4925 GB, free: 27.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004438/0.6189, allocations: 1.054 MB / 0.4935 GB, free: 27.57 MB / 378.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.009193/0.6281, allocations: 5.617 MB / 0.499 GB, free: 23.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005926/0.6341, allocations: 0.7909 MB / 0.4998 GB, free: 22.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0901/0.7243, allocations: 19.08 MB / 0.5184 GB, free: 16.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.279e-05/0.7244, allocations: 38.56 kB / 0.5185 GB, free: 16.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 6.672e-06/0.7244, allocations: 0 / 0.5185 GB, free: 16.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.01758/0.742, allocations: 2.361 MB / 0.5208 GB, free: 14.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.7422, allocations: 166.6 kB / 0.5209 GB, free: 14.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.7436, allocations: 0.6014 MB / 0.5215 GB, free: 13.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001576/0.7438, allocations: 33.7 kB / 0.5215 GB, free: 13.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/0.7443, allocations: 399.8 kB / 0.5219 GB, free: 13.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.7446, allocations: 179.2 kB / 0.5221 GB, free: 12.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.7447, allocations: 16 kB / 0.5221 GB, free: 12.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000287/0.745, allocations: 378.7 kB / 0.5225 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.7468, allocations: 297.8 kB / 0.5227 GB, free: 12.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.7491, allocations: 0.6311 MB / 0.5234 GB, free: 11.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.7513, allocations: 392.5 kB / 0.5237 GB, free: 11.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/0.7513, allocations: 4 kB / 0.5237 GB, free: 11.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005315/0.7567, allocations: 1.003 MB / 0.5247 GB, free: 10.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.7568, allocations: 8 kB / 0.5247 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/0.7568, allocations: 12 kB / 0.5247 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000706/0.7575, allocations: 73.53 kB / 0.5248 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004128/0.7617, allocations: 315.5 kB / 0.5251 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.7644, allocations: 1.99 MB / 0.5271 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.7667, allocations: 79.94 kB / 0.5271 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.7669, allocations: 44 kB / 0.5272 GB, free: 7.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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.0009567/0.7679, allocations: 273.4 kB / 0.5274 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/0.7683, allocations: 71.16 kB / 0.5275 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0079/0.7762, allocations: 2.608 MB / 0.5301 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.827e-05/0.7763, allocations: 35.94 kB / 0.5301 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.7763, allocations: 3.953 kB / 0.5301 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.7764, allocations: 3.984 kB / 0.5301 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.7869, allocations: 3.778 MB / 0.5338 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.787, allocations: 4 kB / 0.5338 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/0.7899, allocations: 243.7 kB / 0.534 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008929/0.7908, allocations: 92.64 kB / 0.5341 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.791, allocations: 15.98 kB / 0.5341 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/0.7941, allocations: 2.011 MB / 0.5361 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.7941, allocations: 0.8594 kB / 0.5361 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00761/0.8017, allocations: 2.375 MB / 0.5384 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009223/0.8027, allocations: 326.8 kB / 0.5387 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.803, allocations: 12 kB / 0.5387 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.8043, allocations: 63.89 kB / 0.5388 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.8046, allocations: 53.73 kB / 0.5388 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.141e-05/0.8047, allocations: 23.92 kB / 0.5389 GB, free: 11.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001585/0.8063, allocations: 0.5459 MB / 0.5394 GB, free: 10.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.026e-06/0.8063, allocations: 0 / 0.5394 GB, free: 10.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007552/0.8139, allocations: 1.097 MB / 0.5405 GB, free: 9.543 MB / 410.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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.0206/0.8346, allocations: 4.11 MB / 0.5445 GB, free: 5.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005818/0.8404, allocations: 1.117 MB / 0.5456 GB, free: 4.391 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.8405, allocations: 4.062 kB / 0.5456 GB, free: 4.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003843/0.8443, allocations: 0.825 MB / 0.5464 GB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004384/0.8488, allocations: 362.2 kB / 0.5467 GB, free: 3.219 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/0.8708, allocations: 13.87 MB / 0.5603 GB, free: 5.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.872, allocations: 1.185 MB / 0.5614 GB, free: 3.855 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001682/0.8737, allocations: 445.1 kB / 0.5619 GB, free: 3.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008257/0.8745, allocations: 435.3 kB / 0.5623 GB, free: 2.992 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8745, allocations: 0 / 0.5623 GB, free: 2.992 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1448/1.019, allocations: 56.83 MB / 0.6178 GB, free: 10.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003435/1.02, allocations: 270.8 kB / 0.618 GB, free: 9.883 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.526/7.545, allocations: 0 / 0.618 GB, free: 9.883 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat