Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01426/0.01426, allocations: 175.5 kB / 15.12 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.217/2.217, allocations: 194.5 MB / 210.3 MB, free: 11.37 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001987/0.001987, allocations: 120.7 kB / 255.6 MB, free: 14.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4469/0.4469, allocations: 40 MB / 340.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004785, allocations: 12 kB / 406.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3888, allocations: 54.87 MB / 461.2 MB, free: 24.49 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.5554, allocations: 93.74 MB / 0.5419 GB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004165/0.5559, allocations: 99.94 kB / 0.542 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05536/0.6113, allocations: 11.26 MB / 0.553 GB, free: 1.879 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6113, allocations: 0 / 0.553 GB, free: 1.879 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.6114, allocations: 8 kB / 0.553 GB, free: 1.871 MB / 394.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.001115/0.6125, allocations: 0.5925 MB / 0.5536 GB, free: 1.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.6125, allocations: 12.03 kB / 0.5536 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.6127, allocations: 78.5 kB / 0.5537 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.6128, allocations: 39.53 kB / 0.5537 GB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.6132, allocations: 242.5 kB / 0.5539 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.6132, allocations: 21 kB / 0.554 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.539e-05/0.6133, allocations: 43.94 kB / 0.554 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6144, allocations: 0.5803 MB / 0.5546 GB, free: 40 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.6144, allocations: 7.938 kB / 0.5546 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.6145, allocations: 15.95 kB / 0.5546 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.6145, allocations: 12 kB / 0.5546 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3313/0.9458, allocations: 333.3 kB / 0.5549 GB, free: 91.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.949, allocations: 4.052 MB / 0.5589 GB, free: 88.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/0.9497, allocations: 102.2 kB / 0.559 GB, free: 88.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.9498, allocations: 3.734 kB / 0.559 GB, free: 88.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.9498, allocations: 37.25 kB / 0.559 GB, free: 88.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.325e-06/0.9498, allocations: 0 / 0.559 GB, free: 88.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009386/0.9508, allocations: 180.1 kB / 0.5592 GB, free: 88.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.9508, allocations: 53.38 kB / 0.5592 GB, free: 88.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006851/0.9515, allocations: 361.1 kB / 0.5596 GB, free: 87.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.9516, allocations: 26.41 kB / 0.5596 GB, free: 87.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.9518, allocations: 254.7 kB / 0.5598 GB, free: 87.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.9518, allocations: 26.42 kB / 0.5599 GB, free: 87.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.9519, allocations: 11.44 kB / 0.5599 GB, free: 87.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.952, allocations: 354.1 kB / 0.5602 GB, free: 87.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.9523, allocations: 61.17 kB / 0.5603 GB, free: 87.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.9527, allocations: 266.7 kB / 0.5605 GB, free: 87.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.9531, allocations: 99.83 kB / 0.5606 GB, free: 87.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.9531, allocations: 2.406 kB / 0.5606 GB, free: 87.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00112/0.9543, allocations: 358.3 kB / 0.561 GB, free: 87.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.9543, allocations: 10.5 kB / 0.561 GB, free: 87.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.9543, allocations: 7.344 kB / 0.561 GB, free: 87.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.832e-05/0.9544, allocations: 10.97 kB / 0.561 GB, free: 87.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008185/0.9552, allocations: 114.7 kB / 0.5611 GB, free: 87.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00075/0.956, allocations: 1.224 MB / 0.5623 GB, free: 85.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.9566, allocations: 60.47 kB / 0.5624 GB, free: 85.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.9566, allocations: 22.81 kB / 0.5624 GB, free: 85.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.9569, allocations: 145.7 kB / 0.5625 GB, free: 85.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/0.957, allocations: 40.42 kB / 0.5626 GB, free: 85.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00081/0.9578, allocations: 184.6 kB / 0.5627 GB, free: 85.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.9578, allocations: 3.234 kB / 0.5627 GB, free: 85.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9578, allocations: 0 / 0.5627 GB, free: 85.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.9578, allocations: 1.406 kB / 0.5627 GB, free: 85.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.9584, allocations: 276.2 kB / 0.563 GB, free: 85.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.9584, allocations: 0.75 kB / 0.563 GB, free: 85.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.9589, allocations: 53.17 kB / 0.5631 GB, free: 85.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.9589, allocations: 3.078 kB / 0.5631 GB, free: 85.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.9589, allocations: 6.547 kB / 0.5631 GB, free: 85.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006634/0.9596, allocations: 1.209 MB / 0.5642 GB, free: 84.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9596, allocations: 3.688 kB / 0.5642 GB, free: 84.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.9603, allocations: 252.9 kB / 0.5645 GB, free: 84.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.9604, allocations: 104.1 kB / 0.5646 GB, free: 84.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.9605, allocations: 1.391 kB / 0.5646 GB, free: 84.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.9608, allocations: 12.56 kB / 0.5646 GB, free: 84.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.9609, allocations: 6.891 kB / 0.5646 GB, free: 84.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.9609, allocations: 8.859 kB / 0.5646 GB, free: 84.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004893/0.9614, allocations: 276.3 kB / 0.5649 GB, free: 84.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9614, allocations: 0 / 0.5649 GB, free: 84.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009933/0.9624, allocations: 128.3 kB / 0.565 GB, free: 84 MB / 394.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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001672/0.9641, allocations: 0.9306 MB / 0.5659 GB, free: 83.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.9653, allocations: 207 kB / 0.5661 GB, free: 83.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.9653, allocations: 0.625 kB / 0.5661 GB, free: 83.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004792/0.9658, allocations: 75.5 kB / 0.5662 GB, free: 83.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.9663, allocations: 38.52 kB / 0.5662 GB, free: 83.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.9719, allocations: 6.771 MB / 0.5728 GB, free: 77.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.9722, allocations: 0.7809 MB / 0.5736 GB, free: 76.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.9725, allocations: 36.83 kB / 0.5736 GB, free: 76.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.9728, allocations: 101 kB / 0.5737 GB, free: 76.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.9728, allocations: 0.5 kB / 0.5737 GB, free: 76.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04376/1.017, allocations: 10.3 MB / 0.5838 GB, free: 74.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/1.017, allocations: 259.4 kB / 0.584 GB, free: 74.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/4.24, allocations: 3.906 kB / 0.584 GB, free: 74.56 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat