Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.111/2.111, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.000453, allocations: 19.98 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3718, allocations: 48.7 MB / 331.3 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03215/0.4041, allocations: 17.15 MB / 348.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.4181, allocations: 5.768 MB / 354.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.4195, allocations: 26.19 kB / 354.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.4208, allocations: 245.4 kB / 354.5 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006572/0.4274, allocations: 1.423 MB / 355.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005307/0.4328, allocations: 1.21 MB / 357.1 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0032/0.436, allocations: 1.174 MB / 358.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.4371, allocations: 404.7 kB / 358.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00779/0.4449, allocations: 2.606 MB / 361.3 MB, free: 372 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.4481, allocations: 1.033 MB / 362.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.4485, allocations: 35.98 kB / 362.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.4527, allocations: 1.182 MB / 363.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005984/0.4533, allocations: 211.4 kB / 363.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.4537, allocations: 169.3 kB / 363.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.4566, allocations: 0.9977 MB / 364.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4567, allocations: 0 / 364.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4567, allocations: 3.938 kB / 364.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.4567, allocations: 0 / 364.9 MB, free: 12.73 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003026/0.4597, allocations: 0.9894 MB / 365.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.4598, allocations: 16.03 kB / 365.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002477/0.4601, allocations: 98.5 kB / 366 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.4614, allocations: 143 kB / 366.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.4629, allocations: 0.4927 MB / 366.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.4631, allocations: 104.4 kB / 366.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.4632, allocations: 51.94 kB / 366.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.4658, allocations: 0.8355 MB / 367.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.4658, allocations: 11.89 kB / 367.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.466, allocations: 24 kB / 367.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.442e-05/0.4661, allocations: 36.98 kB / 367.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.4681, allocations: 0.6048 MB / 368.3 MB, free: 9.137 MB / 298.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.008119/0.4763, allocations: 4.621 MB / 372.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.4774, allocations: 315.5 kB / 373.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003757/0.4778, allocations: 344.6 kB / 373.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.4779, allocations: 34.55 kB / 373.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 3.246e-06/0.4779, allocations: 0 / 373.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.006397/0.4843, allocations: 1.494 MB / 375.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/0.4844, allocations: 136.5 kB / 375.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.4857, allocations: 0.6329 MB / 375.9 MB, free: 1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.585e-05/0.4858, allocations: 37.7 kB / 375.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/0.4862, allocations: 440.6 kB / 376.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.4864, allocations: 126.2 kB / 376.4 MB, free: 408 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.4864, allocations: 16 kB / 376.5 MB, free: 392 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4866, allocations: 342.8 kB / 376.8 MB, free: 40 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006108/0.4872, allocations: 205.8 kB / 377 MB, free: 15.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/0.4881, allocations: 0.531 MB / 377.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/0.4889, allocations: 301.6 kB / 377.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.4889, allocations: 4 kB / 377.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002303/0.4913, allocations: 0.8507 MB / 378.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.4913, allocations: 11.98 kB / 378.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/0.4914, allocations: 12 kB / 378.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.4934, allocations: 281.8 kB / 379 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.4943, allocations: 135.8 kB / 379.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.4961, allocations: 1.37 MB / 380.5 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009518/0.497, allocations: 39.89 kB / 380.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.4972, allocations: 55.98 kB / 380.6 MB, free: 12.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005542/0.4977, allocations: 245.5 kB / 380.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.498, allocations: 67.25 kB / 380.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.5003, allocations: 0.6157 MB / 381.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.5004, allocations: 4 kB / 381.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5004, allocations: 0 / 381.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5004, allocations: 11.98 kB / 381.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.5036, allocations: 1.184 MB / 382.7 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5036, allocations: 0 / 382.7 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.504, allocations: 39.97 kB / 382.7 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.5054, allocations: 213.5 kB / 382.9 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.5054, allocations: 11.95 kB / 382.9 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.507, allocations: 1.296 MB / 384.2 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5071, allocations: 0 / 384.2 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.5093, allocations: 0.7866 MB / 385 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.5098, allocations: 192.2 kB / 385.2 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.51, allocations: 11.95 kB / 385.2 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007018/0.5107, allocations: 24.05 kB / 385.3 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.5108, allocations: 27.95 kB / 385.3 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.79e-05/0.5109, allocations: 20 kB / 385.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008677/0.5118, allocations: 443 kB / 385.7 MB, free: 6.672 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5118, allocations: 0 / 385.7 MB, free: 6.672 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00142/0.5132, allocations: 275.9 kB / 386 MB, free: 6.402 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003677/0.5169, allocations: 1.573 MB / 387.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.5188, allocations: 0.5128 MB / 388.1 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5188, allocations: 0 / 388.1 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.5196, allocations: 217 kB / 388.3 MB, free: 4.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.5221, allocations: 296.8 kB / 388.6 MB, free: 3.785 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.533, allocations: 4.228 MB / 392.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/0.5338, allocations: 0.938 MB / 393.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006632/0.5345, allocations: 247.3 kB / 394 MB, free: 14.13 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5345, allocations: 0 / 394 MB, free: 14.13 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.399/3.933, allocations: 20.13 MB / 414.1 MB, free: 10.02 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat