Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.01432/0.01432, allocations: 173.8 kB / 15.12 MB, free: 5.93 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.025/2.025, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.001991/0.001991, allocations: 120.6 kB / 255.6 MB, free: 10.23 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.2608/0.2608, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007593/0.0007594, allocations: 10.88 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1023, allocations: 54.87 MB / 461.2 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5087/0.6111, allocations: 86.62 MB / 0.5349 GB, free: 27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/0.6116, allocations: 98.77 kB / 0.535 GB, free: 27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04876/0.6603, allocations: 10.01 MB / 0.5448 GB, free: 25.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.6604, allocations: 0 / 0.5448 GB, free: 25.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.6604, allocations: 8.531 kB / 0.5448 GB, free: 25.92 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001786/0.6622, allocations: 0.5108 MB / 0.5453 GB, free: 25.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.813e-05/0.6623, allocations: 9.094 kB / 0.5453 GB, free: 25.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000233/0.6626, allocations: 72.73 kB / 0.5454 GB, free: 25.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.6628, allocations: 33.56 kB / 0.5454 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006975/0.6635, allocations: 241.2 kB / 0.5457 GB, free: 25.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.6636, allocations: 18.06 kB / 0.5457 GB, free: 25.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.6637, allocations: 29.09 kB / 0.5457 GB, free: 25.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.6658, allocations: 386.2 kB / 0.5461 GB, free: 25.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.6659, allocations: 1.25 kB / 0.5461 GB, free: 25.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.666, allocations: 17.06 kB / 0.5461 GB, free: 25.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.12e-05/0.6661, allocations: 29.77 kB / 0.5461 GB, free: 25.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.6679, allocations: 423.2 kB / 0.5465 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003107/0.6711, allocations: 0.8918 MB / 0.5474 GB, free: 24.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.6722, allocations: 300.1 kB / 0.5477 GB, free: 24.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.6723, allocations: 8.984 kB / 0.5477 GB, free: 24.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.6723, allocations: 31.75 kB / 0.5477 GB, free: 24.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.875e-06/0.6724, allocations: 4 kB / 0.5477 GB, free: 24.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001556/0.6739, allocations: 374.3 kB / 0.5481 GB, free: 24.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.674, allocations: 57.72 kB / 0.5481 GB, free: 24.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.6746, allocations: 314.1 kB / 0.5484 GB, free: 24.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.6746, allocations: 27.27 kB / 0.5485 GB, free: 24.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.6748, allocations: 163.2 kB / 0.5486 GB, free: 24.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.933e-05/0.6748, allocations: 54.91 kB / 0.5487 GB, free: 24.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.6749, allocations: 0 / 0.5487 GB, free: 24.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.675, allocations: 341.1 kB / 0.549 GB, free: 24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.6754, allocations: 111 kB / 0.5491 GB, free: 23.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.6758, allocations: 156.1 kB / 0.5492 GB, free: 23.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.6763, allocations: 120.3 kB / 0.5494 GB, free: 23.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6763, allocations: 0 / 0.5494 GB, free: 23.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001089/0.6774, allocations: 320 kB / 0.5497 GB, free: 23.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.6774, allocations: 10.09 kB / 0.5497 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6775, allocations: 1.438 kB / 0.5497 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.6775, allocations: 2.031 kB / 0.5497 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.6786, allocations: 115.9 kB / 0.5498 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.6808, allocations: 3.705 MB / 0.5534 GB, free: 20.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.6813, allocations: 38.91 kB / 0.5534 GB, free: 20.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.6813, allocations: 14.02 kB / 0.5535 GB, free: 20.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002983/0.6816, allocations: 169.4 kB / 0.5536 GB, free: 20.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.6817, allocations: 26.94 kB / 0.5536 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.683, allocations: 364.3 kB / 0.554 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.683, allocations: 3.031 kB / 0.554 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.683, allocations: 0 / 0.554 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.6831, allocations: 1.969 kB / 0.554 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.6837, allocations: 313.1 kB / 0.5543 GB, free: 19.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.6837, allocations: 0 / 0.5543 GB, free: 19.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.6848, allocations: 105.3 kB / 0.5544 GB, free: 19.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.6848, allocations: 4 kB / 0.5544 GB, free: 19.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.6849, allocations: 8.047 kB / 0.5544 GB, free: 19.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003378/0.6883, allocations: 3.704 MB / 0.558 GB, free: 32.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6883, allocations: 1.844 kB / 0.558 GB, free: 32.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.6894, allocations: 379.6 kB / 0.5584 GB, free: 32.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.6896, allocations: 108 kB / 0.5585 GB, free: 32.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.6897, allocations: 0 / 0.5585 GB, free: 32.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.69, allocations: 12.45 kB / 0.5585 GB, free: 32.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.6901, allocations: 16.28 kB / 0.5585 GB, free: 32.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.6901, allocations: 4.625 kB / 0.5585 GB, free: 32.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004505/0.6906, allocations: 253 kB / 0.5588 GB, free: 32.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6906, allocations: 0 / 0.5588 GB, free: 32.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006452/0.6913, allocations: 76.77 kB / 0.5588 GB, free: 32.04 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/0.693, allocations: 0.9911 MB / 0.5598 GB, free: 31.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.6947, allocations: 310.7 kB / 0.5601 GB, free: 31.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.6947, allocations: 4.375 kB / 0.5601 GB, free: 31.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.6958, allocations: 176.7 kB / 0.5603 GB, free: 31.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.6964, allocations: 56.78 kB / 0.5603 GB, free: 31.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.7013, allocations: 2.884 MB / 0.5631 GB, free: 29.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.7018, allocations: 0.8073 MB / 0.5639 GB, free: 29.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000331/0.7021, allocations: 69.88 kB / 0.564 GB, free: 29.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.7023, allocations: 77.02 kB / 0.5641 GB, free: 29.01 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7023, allocations: 0 / 0.5641 GB, free: 29.01 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.7431, allocations: 8.386 MB / 0.5723 GB, free: 28.18 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/0.7435, allocations: 268 kB / 0.5725 GB, free: 27.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.171/3.914, allocations: 0 / 0.5725 GB, free: 27.82 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat