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_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",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.01125/0.01125, allocations: 108.6 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.001243/0.001243, allocations: 181.2 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.96/1.96, allocations: 194.6 MB / 211.3 MB, free: 10.98 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.2792/0.2792, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006983/0.0006988, allocations: 8 kB / 361.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1509, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.06231/0.2132, allocations: 32.95 MB / 449 MB, free: 1.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3315/0.5448, allocations: 17.17 MB / 466.2 MB, free: 32.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.546, allocations: 24.88 kB / 466.2 MB, free: 32.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.5478, allocations: 389.3 kB / 466.6 MB, free: 32.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01646/0.5643, allocations: 3.99 MB / 470.6 MB, free: 32.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008475/0.5728, allocations: 2.109 MB / 472.7 MB, free: 32.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002408/0.5752, allocations: 1.155 MB / 473.8 MB, free: 32.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008543/0.5761, allocations: 394.4 kB / 474.2 MB, free: 31.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01722/0.5933, allocations: 6.276 MB / 480.5 MB, free: 31.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02508/0.6185, allocations: 8.765 MB / 489.2 MB, free: 31.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.6188, allocations: 34.06 kB / 489.3 MB, free: 31.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02097/0.6397, allocations: 7.021 MB / 496.3 MB, free: 30.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005738/0.6404, allocations: 223.1 kB / 496.5 MB, free: 30.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.6408, allocations: 185.4 kB / 496.7 MB, free: 30.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.651, allocations: 3.368 MB / 0.4883 GB, free: 30.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.651, allocations: 0 / 0.4883 GB, free: 30.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.651, allocations: 0 / 0.4883 GB, free: 30.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.6511, allocations: 4 kB / 0.4883 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.006619/0.6577, allocations: 1.464 MB / 0.4898 GB, free: 29.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.6578, allocations: 10.91 kB / 0.4898 GB, free: 29.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002843/0.6581, allocations: 111.8 kB / 0.4899 GB, free: 29.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.6602, allocations: 223.9 kB / 0.4901 GB, free: 28.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.6616, allocations: 0.5298 MB / 0.4906 GB, free: 28.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.6617, allocations: 111.2 kB / 0.4907 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.6619, allocations: 60.77 kB / 0.4908 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/0.6648, allocations: 1.07 MB / 0.4918 GB, free: 27.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.6649, allocations: 7.219 kB / 0.4918 GB, free: 27.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.665, allocations: 29.16 kB / 0.4919 GB, free: 27.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.842e-05/0.6651, allocations: 42.44 kB / 0.4919 GB, free: 27.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.6677, allocations: 0.8147 MB / 0.4927 GB, free: 27.66 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.008039/0.6758, allocations: 5.542 MB / 0.4981 GB, free: 23.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.6775, allocations: 0.5286 MB / 0.4986 GB, free: 22.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1881/0.8656, allocations: 54.08 MB / 0.5514 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.873e-05/0.8657, allocations: 46.55 kB / 0.5515 GB, free: 10.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 3.537e-06/0.8657, allocations: 0 / 0.5515 GB, free: 10.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.009653/0.8754, allocations: 2.098 MB / 0.5535 GB, free: 8.637 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.8755, allocations: 183.9 kB / 0.5537 GB, free: 8.414 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.8767, allocations: 0.6211 MB / 0.5543 GB, free: 7.789 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.681e-05/0.8768, allocations: 33.7 kB / 0.5544 GB, free: 7.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.8773, allocations: 419.6 kB / 0.5548 GB, free: 7.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.8775, allocations: 161.3 kB / 0.5549 GB, free: 7.184 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.8776, allocations: 12 kB / 0.5549 GB, free: 7.172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.8778, allocations: 386.7 kB / 0.5553 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.8785, allocations: 225.9 kB / 0.5555 GB, free: 6.566 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.8795, allocations: 0.6088 MB / 0.5561 GB, free: 5.777 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.8804, allocations: 351.7 kB / 0.5564 GB, free: 5.434 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.8805, allocations: 4 kB / 0.5564 GB, free: 5.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002459/0.8829, allocations: 0.9047 MB / 0.5573 GB, free: 4.516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.883, allocations: 16.03 kB / 0.5573 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.883, allocations: 12 kB / 0.5573 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/0.8885, allocations: 272.5 kB / 0.5576 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/0.8911, allocations: 287.6 kB / 0.5579 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.8935, allocations: 2.032 MB / 0.5599 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.8947, allocations: 67.88 kB / 0.5599 GB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/0.8948, allocations: 40 kB / 0.56 GB, free: 1.648 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.000618/0.8954, allocations: 277.4 kB / 0.5602 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.8957, allocations: 71.16 kB / 0.5603 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003825/0.8995, allocations: 2.025 MB / 0.5623 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.294e-05/0.8996, allocations: 23.97 kB / 0.5623 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8996, allocations: 0 / 0.5623 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.8996, allocations: 12.05 kB / 0.5623 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005826/0.9055, allocations: 2.974 MB / 0.5652 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.9055, allocations: 0 / 0.5652 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/0.9074, allocations: 187.8 kB / 0.5654 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003193/0.9107, allocations: 311.8 kB / 0.5657 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.9108, allocations: 16 kB / 0.5657 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.9133, allocations: 2.074 MB / 0.5677 GB, free: 9.449 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9134, allocations: 0 / 0.5677 GB, free: 9.449 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/0.9173, allocations: 1.955 MB / 0.5696 GB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000763/0.9181, allocations: 283.3 kB / 0.5699 GB, free: 7.164 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.9183, allocations: 19.19 kB / 0.5699 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008291/0.9192, allocations: 32.05 kB / 0.57 GB, free: 7.117 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.9193, allocations: 28.39 kB / 0.57 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/0.9194, allocations: 16.09 kB / 0.57 GB, free: 7.074 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.9206, allocations: 0.5576 MB / 0.5705 GB, free: 6.527 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.775e-06/0.9206, allocations: 0 / 0.5705 GB, free: 6.527 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005606/0.9262, allocations: 1.093 MB / 0.5716 GB, free: 5.434 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01366/0.9399, allocations: 3.737 MB / 0.5753 GB, free: 1.762 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003412/0.9434, allocations: 0.9248 MB / 0.5762 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/0.9434, allocations: 4 kB / 0.5762 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.9456, allocations: 0.6281 MB / 0.5768 GB, free: 216 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/0.949, allocations: 363 kB / 0.5771 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.968, allocations: 14.17 MB / 0.591 GB, free: 1.391 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.9691, allocations: 1.113 MB / 0.5921 GB, free: 256 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001441/0.9706, allocations: 346.1 kB / 0.5924 GB, free: 15.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006849/0.9713, allocations: 375.3 kB / 0.5927 GB, free: 15.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/0.9713, allocations: 0 / 0.5927 GB, free: 15.54 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4596/1.431, allocations: 54.13 MB / 0.6456 GB, free: 140.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/1.431, allocations: 283.8 kB / 0.6459 GB, free: 140.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.243/7.674, allocations: 4.969 kB / 0.6459 GB, free: 140.5 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_pT_res.mat does not exist to compare? outputFormat=mat