Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 234.9 MB / 250.4 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004338, allocations: 12 kB / 314.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3687, allocations: 54.86 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05904/0.4278, allocations: 34.33 MB / 403.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00902/0.4368, allocations: 4.14 MB / 407.8 MB, free: 6.203 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009087/0.4378, allocations: 27.75 kB / 407.8 MB, free: 6.176 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.439, allocations: 262.7 kB / 408 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.4417, allocations: 0.7009 MB / 408.7 MB, free: 5.215 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.4448, allocations: 0.6938 MB / 409.4 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.4471, allocations: 1.148 MB / 410.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007318/0.4479, allocations: 377.3 kB / 410.9 MB, free: 3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1987/0.6466, allocations: 72.03 MB / 483 MB, free: 10.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03566/0.6823, allocations: 13.25 MB / 496.2 MB, free: 13.67 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.6826, allocations: 28 kB / 496.3 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3807/1.063, allocations: 18.38 MB / 0.5026 GB, free: 97.23 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004752/1.064, allocations: 210.8 kB / 0.5028 GB, free: 97.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002795/1.064, allocations: 162.9 kB / 0.5029 GB, free: 97.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/1.065, allocations: 0.7548 MB / 0.5037 GB, free: 97.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/1.065, allocations: 1.641 kB / 0.5037 GB, free: 97.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.065, allocations: 3.969 kB / 0.5037 GB, free: 97.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/1.065, allocations: 2.312 kB / 0.5037 GB, free: 97.14 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002614/1.068, allocations: 0.9251 MB / 0.5046 GB, free: 96.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.068, allocations: 8.469 kB / 0.5046 GB, free: 96.57 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/1.068, allocations: 101.8 kB / 0.5047 GB, free: 96.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004214/1.069, allocations: 91.56 kB / 0.5048 GB, free: 96.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/1.07, allocations: 499.5 kB / 0.5052 GB, free: 96.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/1.07, allocations: 105.4 kB / 0.5053 GB, free: 96.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.07, allocations: 47.88 kB / 0.5054 GB, free: 96.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/1.072, allocations: 0.8201 MB / 0.5062 GB, free: 95.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/1.072, allocations: 3.375 kB / 0.5062 GB, free: 95.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/1.072, allocations: 25.17 kB / 0.5062 GB, free: 95.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.481e-05/1.072, allocations: 34.95 kB / 0.5063 GB, free: 95.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/1.074, allocations: 0.6435 MB / 0.5069 GB, free: 95.97 MB / 426.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.006299/1.08, allocations: 4.218 MB / 0.511 GB, free: 93.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/1.081, allocations: 422.2 kB / 0.5114 GB, free: 93.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005269/1.082, allocations: 0.4984 MB / 0.5119 GB, free: 92.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.082, allocations: 39.7 kB / 0.5119 GB, free: 92.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.374e-06/1.082, allocations: 3.969 kB / 0.5119 GB, free: 92.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.004559/1.086, allocations: 1.505 MB / 0.5134 GB, free: 92.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/1.087, allocations: 137.6 kB / 0.5135 GB, free: 92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008372/1.087, allocations: 0.5479 MB / 0.5141 GB, free: 91.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/1.087, allocations: 35.89 kB / 0.5141 GB, free: 91.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/1.088, allocations: 404.2 kB / 0.5145 GB, free: 91.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/1.088, allocations: 159.9 kB / 0.5146 GB, free: 91.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/1.088, allocations: 17.91 kB / 0.5147 GB, free: 91.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.1e-05/1.088, allocations: 340.8 kB / 0.515 GB, free: 91.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/1.089, allocations: 225.4 kB / 0.5152 GB, free: 91.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/1.089, allocations: 0.536 MB / 0.5157 GB, free: 90.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/1.09, allocations: 328.5 kB / 0.516 GB, free: 90.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/1.09, allocations: 3.969 kB / 0.516 GB, free: 90.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002657/1.093, allocations: 0.94 MB / 0.517 GB, free: 90.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.093, allocations: 10.47 kB / 0.517 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.093, allocations: 10.88 kB / 0.517 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/1.095, allocations: 266.7 kB / 0.5172 GB, free: 90.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/1.095, allocations: 134.1 kB / 0.5174 GB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/1.096, allocations: 0.854 MB / 0.5182 GB, free: 89.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/1.097, allocations: 54.02 kB / 0.5182 GB, free: 89.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/1.097, allocations: 31.75 kB / 0.5183 GB, free: 89.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004515/1.098, allocations: 252.1 kB / 0.5185 GB, free: 89.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/1.098, allocations: 63.25 kB / 0.5186 GB, free: 89.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/1.1, allocations: 0.7148 MB / 0.5193 GB, free: 89.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.1, allocations: 4 kB / 0.5193 GB, free: 89.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.1, allocations: 8 kB / 0.5193 GB, free: 89.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/1.1, allocations: 2.25 kB / 0.5193 GB, free: 89.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/1.103, allocations: 1.386 MB / 0.5206 GB, free: 88.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/1.103, allocations: 0 / 0.5206 GB, free: 88.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.105, allocations: 188.6 kB / 0.5208 GB, free: 88.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/1.105, allocations: 69.55 kB / 0.5209 GB, free: 88.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.818e-05/1.105, allocations: 14.98 kB / 0.5209 GB, free: 88.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/1.108, allocations: 2.808 MB / 0.5236 GB, free: 85.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.108, allocations: 3.844 kB / 0.5236 GB, free: 85.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/1.11, allocations: 0.9894 MB / 0.5246 GB, free: 84.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004122/1.11, allocations: 201.1 kB / 0.5248 GB, free: 84.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/1.111, allocations: 14.91 kB / 0.5248 GB, free: 84.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006698/1.111, allocations: 31.61 kB / 0.5248 GB, free: 84.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.111, allocations: 36.52 kB / 0.5249 GB, free: 84.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/1.112, allocations: 21.89 kB / 0.5249 GB, free: 84.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000598/1.112, allocations: 379.1 kB / 0.5253 GB, free: 84.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.112, allocations: 10.02 kB / 0.5253 GB, free: 84.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001008/1.113, allocations: 203.6 kB / 0.5255 GB, free: 84.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002782/1.116, allocations: 1.651 MB / 0.5271 GB, free: 82.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001647/1.118, allocations: 0.6068 MB / 0.5277 GB, free: 82.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.118, allocations: 0 / 0.5277 GB, free: 82.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/1.119, allocations: 469.2 kB / 0.5281 GB, free: 82.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.122, allocations: 307.2 kB / 0.5284 GB, free: 81.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009066/1.131, allocations: 4.409 MB / 0.5327 GB, free: 78.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/1.131, allocations: 0.9468 MB / 0.5336 GB, free: 77.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005373/1.132, allocations: 237.6 kB / 0.5339 GB, free: 76.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/1.132, allocations: 0 / 0.5339 GB, free: 76.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.982/4.114, allocations: 17.7 MB / 0.5512 GB, free: 59.51 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat