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_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.01669/0.01669, allocations: 104.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.1.mo): time 0.001958/0.001959, allocations: 169.5 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.851/1.851, allocations: 170.9 MB / 187.5 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.3184/0.3184, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005862/0.0005864, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1095, allocations: 48.71 MB / 372.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.005017/0.1146, allocations: 1.761 MB / 374.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.1186, allocations: 1.018 MB / 375.1 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.1189, allocations: 4 kB / 375.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004681/0.1194, allocations: 47.67 kB / 375.1 MB, free: 9.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.1199, allocations: 71.78 kB / 375.2 MB, free: 9.906 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.121, allocations: 151.6 kB / 375.4 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00092/0.122, allocations: 335.3 kB / 375.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.1222, allocations: 61.03 kB / 375.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.1226, allocations: 147.3 kB / 375.9 MB, free: 9.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.1231, allocations: 167.3 kB / 376.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.626e-05/0.1232, allocations: 12 kB / 376.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1244, allocations: 323.6 kB / 376.4 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.1247, allocations: 95.58 kB / 376.5 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.1249, allocations: 89.45 kB / 376.6 MB, free: 8.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.126, allocations: 367.4 kB / 376.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1261, allocations: 0 / 376.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1261, allocations: 0 / 376.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1261, allocations: 4 kB / 376.9 MB, free: 8.18 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002414/0.1285, allocations: 0.6862 MB / 377.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.1286, allocations: 8.031 kB / 377.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002433/0.1289, allocations: 98.5 kB / 377.7 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.1291, allocations: 51.38 kB / 377.8 MB, free: 7.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.1299, allocations: 294.3 kB / 378.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-05/0.13, allocations: 33 kB / 378.1 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.1302, allocations: 44 kB / 378.1 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.1328, allocations: 0.6714 MB / 378.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.1329, allocations: 0 / 378.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.1331, allocations: 20 kB / 378.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.342e-05/0.1332, allocations: 21 kB / 378.8 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.1358, allocations: 0.4956 MB / 379.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005209/0.1411, allocations: 1.531 MB / 380.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.1427, allocations: 315.5 kB / 381.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.1429, allocations: 7.953 kB / 381.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.851e-05/0.143, allocations: 42.5 kB / 381.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 5.851e-06/0.143, allocations: 0 / 381.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.003954/0.147, allocations: 0.754 MB / 382 MB, free: 2.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.969e-05/0.1472, allocations: 110.8 kB / 382.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.1487, allocations: 0.5408 MB / 382.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.1489, allocations: 25.7 kB / 382.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.1492, allocations: 232 kB / 382.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.1494, allocations: 63.02 kB / 382.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.1495, allocations: 8 kB / 383 MB, free: 1.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.1497, allocations: 366.7 kB / 383.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.1508, allocations: 168 kB / 383.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.1521, allocations: 283.8 kB / 383.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.1534, allocations: 207.8 kB / 384 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.1534, allocations: 0 / 384 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002956/0.1564, allocations: 0.5203 MB / 384.5 MB, free: 240 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.1565, allocations: 10.5 kB / 384.5 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001904/0.1567, allocations: 39.97 kB / 384.5 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/0.1568, allocations: 4 kB / 384.5 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.1574, allocations: 47.89 kB / 384.6 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.1574, allocations: 8 kB / 384.6 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000945/0.1584, allocations: 87.2 kB / 384.7 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.1586, allocations: 23.98 kB / 384.7 MB, free: 20 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (33): * Single equations (assignments): 21 * 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.0006751/0.1593, allocations: 218.5 kB / 384.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.1595, allocations: 39.44 kB / 384.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.162, allocations: 464.3 kB / 385.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/0.1621, allocations: 8 kB / 385.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.1621, allocations: 0 / 385.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.1621, allocations: 7.984 kB / 385.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.1636, allocations: 389.2 kB / 385.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001722/0.1638, allocations: 39.95 kB / 385.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.1643, allocations: 35.91 kB / 385.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.1644, allocations: 0 / 385.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/0.1644, allocations: 12 kB / 385.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.1645, allocations: 4 kB / 385.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.1645, allocations: 3.984 kB / 385.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.1671, allocations: 0.6418 MB / 386.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/0.1677, allocations: 184.3 kB / 386.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.1679, allocations: 4 kB / 386.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000852/0.1688, allocations: 27.98 kB / 386.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.169, allocations: 23.91 kB / 386.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.207e-05/0.1691, allocations: 15.98 kB / 386.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.1703, allocations: 391 kB / 387.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.242e-06/0.1703, allocations: 0 / 387.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001462/0.1718, allocations: 135.8 kB / 387.3 MB, free: 13.3 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.003563/0.1754, allocations: 1.396 MB / 388.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002844/0.1783, allocations: 0.6844 MB / 389.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/0.1784, allocations: 0 / 389.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.1798, allocations: 496.2 kB / 389.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.1814, allocations: 110 kB / 390 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.1949, allocations: 5.652 MB / 395.6 MB, free: 4.664 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.196, allocations: 0.8779 MB / 396.5 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006665/0.1968, allocations: 87.3 kB / 396.6 MB, free: 3.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.1972, allocations: 119.4 kB / 396.7 MB, free: 3.555 MB / 298.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1972, allocations: 0 / 396.7 MB, free: 3.555 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06861/0.2659, allocations: 11.82 MB / 408.5 MB, free: 7.871 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003562/0.2663, allocations: 230.9 kB / 408.7 MB, free: 7.621 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/3.323, allocations: 4 kB / 408.8 MB, free: 7.617 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat