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.StraightPipe.kc_overall.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.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.01157/0.01158, allocations: 104.4 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.001188/0.001188, allocations: 168 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.84/1.84, allocations: 170.9 MB / 187.6 MB, free: 0.9961 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.2713/0.2713, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006295/0.0006298, allocations: 11.98 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1006, allocations: 48.72 MB / 372.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.005039/0.1057, allocations: 1.804 MB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00681/0.1126, allocations: 1.801 MB / 375.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003247/0.113, allocations: 0 / 375.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.1135, allocations: 67.64 kB / 376 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004389/0.114, allocations: 75.78 kB / 376.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.1163, allocations: 358.9 kB / 376.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008074/0.1172, allocations: 347.2 kB / 376.8 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.1174, allocations: 73.02 kB / 376.8 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.1178, allocations: 159.3 kB / 377 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.1182, allocations: 187.1 kB / 377.2 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.1182, allocations: 12 kB / 377.2 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.1202, allocations: 0.667 MB / 377.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.1204, allocations: 91.64 kB / 377.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.1206, allocations: 93.45 kB / 378 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.1219, allocations: 0.503 MB / 378.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1219, allocations: 0 / 378.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.348e-06/0.1219, allocations: 4 kB / 378.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.122, allocations: 0 / 378.5 MB, free: 6.578 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001846/0.1238, allocations: 0.7566 MB / 379.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.1239, allocations: 16.03 kB / 379.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.1241, allocations: 102.4 kB / 379.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.1242, allocations: 55.34 kB / 379.5 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.1248, allocations: 322.1 kB / 379.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.1249, allocations: 37.31 kB / 379.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.125, allocations: 56 kB / 379.9 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.127, allocations: 0.7696 MB / 380.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.127, allocations: 0 / 380.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.561e-05/0.1271, allocations: 24 kB / 380.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/0.1272, allocations: 21.31 kB / 380.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.129, allocations: 0.5788 MB / 381.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.1327, allocations: 1.704 MB / 383 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.1338, allocations: 311.5 kB / 383.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-05/0.1339, allocations: 15.98 kB / 383.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1339, allocations: 30.56 kB / 383.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 3.155e-06/0.1339, allocations: 0 / 383.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.002338/0.1363, allocations: 0.7642 MB / 384.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.1364, allocations: 110.8 kB / 384.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.1375, allocations: 0.6393 MB / 384.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.1376, allocations: 29.7 kB / 384.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.1379, allocations: 299.3 kB / 385.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.138, allocations: 70.98 kB / 385.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.138, allocations: 12 kB / 385.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1382, allocations: 366.8 kB / 385.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.139, allocations: 196.9 kB / 385.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009555/0.14, allocations: 470.5 kB / 386.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009173/0.1409, allocations: 279.7 kB / 386.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1409, allocations: 0 / 386.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002306/0.1432, allocations: 0.7077 MB / 387.2 MB, free: 13.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.1433, allocations: 8 kB / 387.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/0.1435, allocations: 47.97 kB / 387.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-05/0.1435, allocations: 12 kB / 387.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.144, allocations: 92 kB / 387.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/0.1441, allocations: 15.94 kB / 387.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.1448, allocations: 106.9 kB / 387.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.23e-05/0.145, allocations: 35.95 kB / 387.5 MB, free: 13.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004507/0.1454, allocations: 265.4 kB / 387.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.1456, allocations: 51.44 kB / 387.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.1473, allocations: 487.2 kB / 388.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.1473, allocations: 4 kB / 388.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1473, allocations: 4 kB / 388.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1474, allocations: 0 / 388.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.1483, allocations: 413.2 kB / 388.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001227/0.1485, allocations: 39.97 kB / 388.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.1488, allocations: 31.97 kB / 388.8 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.1488, allocations: 4 kB / 388.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/0.1489, allocations: 15.98 kB / 388.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.1489, allocations: 3.938 kB / 388.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.1489, allocations: 3.984 kB / 388.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.1505, allocations: 0.665 MB / 389.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.1509, allocations: 184.4 kB / 389.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.151, allocations: 0 / 389.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.1516, allocations: 31.97 kB / 389.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.1517, allocations: 27.97 kB / 389.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.1518, allocations: 8 kB / 389.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008185/0.1526, allocations: 442.7 kB / 390.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1526, allocations: 3.938 kB / 390.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001216/0.1539, allocations: 187.8 kB / 390.3 MB, free: 10.17 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.002734/0.1566, allocations: 1.47 MB / 391.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001977/0.1586, allocations: 0.7714 MB / 392.6 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1587, allocations: 256 / 392.6 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008902/0.1596, allocations: 496.2 kB / 393.1 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009584/0.1605, allocations: 114.2 kB / 393.2 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.172, allocations: 9.742 MB / 402.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/0.1728, allocations: 0.9091 MB / 403.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006009/0.1734, allocations: 132.4 kB / 404 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.1737, allocations: 143.4 kB / 404.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.1737, allocations: 0 / 404.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05042/0.2241, allocations: 14.42 MB / 418.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/0.2245, allocations: 230.9 kB / 418.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.208/3.432, allocations: 0 / 418.8 MB, free: 13.42 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat