Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01399/0.01399, allocations: 162 kB / 15.12 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.85/1.85, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001835/0.001835, allocations: 113.9 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5597/0.5597, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005146, allocations: 16 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1232, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.03094/0.1542, allocations: 2.23 MB / 414 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.1682, allocations: 1.61 MB / 415.6 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000378/0.1686, allocations: 0 / 415.6 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.1692, allocations: 91.47 kB / 415.7 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005571/0.1698, allocations: 103.1 kB / 415.8 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.1717, allocations: 263.1 kB / 416 MB, free: 384 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.1724, allocations: 262.2 kB / 416.3 MB, free: 120 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.1726, allocations: 28.72 kB / 416.3 MB, free: 92 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1728, allocations: 87.47 kB / 416.4 MB, free: 4 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.1731, allocations: 103.3 kB / 416.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.1732, allocations: 4 kB / 416.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.1757, allocations: 0.7216 MB / 417.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1759, allocations: 43.72 kB / 417.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1761, allocations: 73.52 kB / 417.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.1772, allocations: 399 kB / 417.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1773, allocations: 4 kB / 417.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1773, allocations: 0 / 417.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1773, allocations: 0 / 417.7 MB, free: 14.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0014/0.1787, allocations: 0.5887 MB / 418.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.1788, allocations: 8.031 kB / 418.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.179, allocations: 74.53 kB / 418.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.1791, allocations: 47.38 kB / 418.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.1796, allocations: 246 kB / 418.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.1796, allocations: 21 kB / 418.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.1797, allocations: 36 kB / 418.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.1809, allocations: 370.5 kB / 419.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.181, allocations: 3.938 kB / 419.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.181, allocations: 11.98 kB / 419.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.1811, allocations: 12 kB / 419.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007957/0.1819, allocations: 271.9 kB / 419.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.1838, allocations: 0.8845 MB / 420.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.1843, allocations: 98.42 kB / 420.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.1845, allocations: 48.91 kB / 420.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/0.1846, allocations: 11.97 kB / 420.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1846, allocations: 30.56 kB / 420.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.665e-06/0.1846, allocations: 0 / 420.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009429/0.1856, allocations: 209.2 kB / 420.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.1856, allocations: 51.41 kB / 420.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.1863, allocations: 397.8 kB / 421.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.1864, allocations: 25.7 kB / 421.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.1866, allocations: 255 kB / 421.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.1867, allocations: 31.55 kB / 421.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.1867, allocations: 8 kB / 421.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1869, allocations: 354.8 kB / 421.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.1873, allocations: 60.25 kB / 421.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.1877, allocations: 250.2 kB / 422.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.1881, allocations: 103.9 kB / 422.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.1881, allocations: 0 / 422.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001054/0.1892, allocations: 353.2 kB / 422.5 MB, free: 9.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.1893, allocations: 8 kB / 422.5 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.228e-05/0.1894, allocations: 27.94 kB / 422.5 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.1894, allocations: 8 kB / 422.5 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.1897, allocations: 59.91 kB / 422.6 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/0.1898, allocations: 20.39 kB / 422.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.1902, allocations: 63.28 kB / 422.7 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.1903, allocations: 20 kB / 422.7 MB, free: 9.336 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002343/0.1905, allocations: 158.6 kB / 422.9 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.1906, allocations: 35.53 kB / 422.9 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009328/0.1915, allocations: 220.7 kB / 423.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.1916, allocations: 0 / 423.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1916, allocations: 192 / 423.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1916, allocations: 4 kB / 423.1 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/0.1921, allocations: 289.5 kB / 423.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.929e-05/0.1922, allocations: 16 kB / 423.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1923, allocations: 11.98 kB / 423.4 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1923, allocations: 0 / 423.4 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.1924, allocations: 8 kB / 423.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1924, allocations: 4 kB / 423.4 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1924, allocations: 0 / 423.4 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.1931, allocations: 255 kB / 423.7 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.1932, allocations: 124.5 kB / 423.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.1933, allocations: 0 / 423.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.1936, allocations: 11.98 kB / 423.8 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.1936, allocations: 8 kB / 423.8 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.1937, allocations: 4 kB / 423.8 MB, free: 8.105 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004164/0.1941, allocations: 271.1 kB / 424.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1941, allocations: 3.938 kB / 424.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007758/0.1949, allocations: 120 kB / 424.2 MB, free: 7.727 MB / 330.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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001526/0.1965, allocations: 0.8914 MB / 425.1 MB, free: 6.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.1975, allocations: 320.2 kB / 425.4 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1976, allocations: 0 / 425.4 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.1981, allocations: 186.8 kB / 425.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.1987, allocations: 41.48 kB / 425.6 MB, free: 6.223 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.2036, allocations: 2.005 MB / 427.6 MB, free: 4.086 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.2041, allocations: 0.7834 MB / 428.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000181/0.2043, allocations: 30.95 kB / 428.5 MB, free: 3.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.2045, allocations: 111.4 kB / 428.6 MB, free: 3.137 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2045, allocations: 0 / 428.6 MB, free: 3.137 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.307/0.5115, allocations: 11 MB / 439.6 MB, free: 43.43 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/0.5118, allocations: 256.3 kB / 439.8 MB, free: 43.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/4.156, allocations: 3.844 kB / 439.8 MB, free: 43.07 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat