Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.0113/0.0113, allocations: 104.1 kB / 15.05 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.1.mo): time 0.00119/0.001189, allocations: 169.7 kB / 15.93 MB, free: 5.527 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.88/1.88, allocations: 170.9 MB / 187.6 MB, free: 1.004 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.2721/0.2721, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007238/0.0007241, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1128, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003275/0.1162, allocations: 1.687 MB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.1188, allocations: 1.232 MB / 375.2 MB, free: 9.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.119, allocations: 0 / 375.2 MB, free: 9.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.1194, allocations: 79.61 kB / 375.3 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1196, allocations: 59.75 kB / 375.4 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007854/0.1204, allocations: 179.5 kB / 375.5 MB, free: 9.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1207, allocations: 107.8 kB / 375.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.249e-05/0.1208, allocations: 20.28 kB / 375.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.121, allocations: 51.72 kB / 375.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1211, allocations: 63.64 kB / 375.8 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1211, allocations: 4 kB / 375.8 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.1221, allocations: 427.5 kB / 376.2 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.1222, allocations: 19.86 kB / 376.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.1223, allocations: 53.64 kB / 376.3 MB, free: 8.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.1229, allocations: 239.5 kB / 376.5 MB, free: 8.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1229, allocations: 0 / 376.5 MB, free: 8.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.968e-06/0.1229, allocations: 0 / 376.5 MB, free: 8.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1229, allocations: 3.938 kB / 376.5 MB, free: 8.613 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007733/0.1237, allocations: 482.5 kB / 377 MB, free: 8.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1238, allocations: 8.031 kB / 377 MB, free: 8.086 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.981e-05/0.1239, allocations: 54.53 kB / 377 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.1239, allocations: 23.72 kB / 377.1 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.1242, allocations: 210.5 kB / 377.3 MB, free: 7.754 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1242, allocations: 19.98 kB / 377.3 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.1243, allocations: 12 kB / 377.3 MB, free: 7.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.1248, allocations: 202.7 kB / 377.5 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1249, allocations: 0 / 377.5 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.1249, allocations: 12 kB / 377.5 MB, free: 7.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1249, allocations: 4 kB / 377.5 MB, free: 7.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.1254, allocations: 168.1 kB / 377.7 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.1267, allocations: 0.5715 MB / 378.3 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.127, allocations: 66.55 kB / 378.3 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.1271, allocations: 8.031 kB / 378.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1271, allocations: 30.56 kB / 378.4 MB, free: 6.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.774e-06/0.1271, allocations: 0 / 378.4 MB, free: 6.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008065/0.1279, allocations: 307.6 kB / 378.7 MB, free: 6.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.128, allocations: 55.41 kB / 378.7 MB, free: 6.184 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.1284, allocations: 258.6 kB / 379 MB, free: 5.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1284, allocations: 25.7 kB / 379 MB, free: 5.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1285, allocations: 163.7 kB / 379.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.1286, allocations: 15.75 kB / 379.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.1286, allocations: 8 kB / 379.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1288, allocations: 334.8 kB / 379.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.129, allocations: 43.97 kB / 379.5 MB, free: 5.324 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.1293, allocations: 128.8 kB / 379.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.1296, allocations: 60.11 kB / 379.7 MB, free: 5.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.1296, allocations: 4 kB / 379.7 MB, free: 5.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006779/0.1303, allocations: 221.2 kB / 379.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1303, allocations: 10.34 kB / 380 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.281e-05/0.1304, allocations: 8 kB / 380 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1304, allocations: 8 kB / 380 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.1306, allocations: 35.91 kB / 380 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.1307, allocations: 4 kB / 380 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.1309, allocations: 35.88 kB / 380 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.1309, allocations: 15.98 kB / 380.1 MB, free: 4.754 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.1311, allocations: 134.7 kB / 380.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.1312, allocations: 19.72 kB / 380.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.1318, allocations: 158.7 kB / 380.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1318, allocations: 0 / 380.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1319, allocations: 0 / 380.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1319, allocations: 144 / 380.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.1322, allocations: 217.6 kB / 380.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.433e-05/0.1323, allocations: 15.98 kB / 380.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.38e-05/0.1324, allocations: 15.97 kB / 380.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1324, allocations: 0 / 380.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1324, allocations: 4 kB / 380.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1324, allocations: 0 / 380.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1324, allocations: 0 / 380.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.1329, allocations: 215.2 kB / 380.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.1331, allocations: 96.91 kB / 380.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.543e-05/0.1331, allocations: 0 / 380.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.1333, allocations: 15.92 kB / 380.9 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.1334, allocations: 4 kB / 380.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1334, allocations: 12 kB / 380.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000233/0.1336, allocations: 178 kB / 381.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1336, allocations: 0 / 381.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005446/0.1342, allocations: 75.84 kB / 381.2 MB, free: 3.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.1354, allocations: 0.817 MB / 382 MB, free: 2.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007399/0.1362, allocations: 188 kB / 382.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1362, allocations: 7.938 kB / 382.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.1366, allocations: 107.4 kB / 382.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1369, allocations: 16.89 kB / 382.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.1409, allocations: 3.34 MB / 385.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1413, allocations: 0.7401 MB / 386.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.1414, allocations: 17.55 kB / 386.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1416, allocations: 55.42 kB / 386.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1416, allocations: 0 / 386.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.1733, allocations: 6.052 MB / 392.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004205/0.1738, allocations: 250.6 kB / 392.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/3.091, allocations: 0 / 392.8 MB, free: 7.793 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat