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.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,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.01392/0.01392, allocations: 175.9 kB / 15.12 MB, free: 5.984 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.117/2.117, allocations: 194.5 MB / 210.3 MB, free: 8.781 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.002028/0.002028, allocations: 116.6 kB / 255.6 MB, free: 11.4 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.2691/0.2691, allocations: 40 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004573, allocations: 12.03 kB / 406.3 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.09931, allocations: 54.88 MB / 461.2 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5599/0.6593, allocations: 88.92 MB / 0.5372 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003753/0.6597, allocations: 95.61 kB / 0.5373 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0572/0.7169, allocations: 13.65 MB / 0.5506 GB, free: 19.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.717, allocations: 0 / 0.5506 GB, free: 19.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.717, allocations: 6 kB / 0.5506 GB, free: 19.97 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001371/0.7184, allocations: 0.6566 MB / 0.5513 GB, free: 19.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.7185, allocations: 9.281 kB / 0.5513 GB, free: 19.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.7186, allocations: 79.98 kB / 0.5514 GB, free: 19.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.7187, allocations: 39.28 kB / 0.5514 GB, free: 19.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.7192, allocations: 283.2 kB / 0.5517 GB, free: 19.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.7193, allocations: 32.88 kB / 0.5517 GB, free: 19.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.7194, allocations: 36.97 kB / 0.5517 GB, free: 19.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.7208, allocations: 0.5705 MB / 0.5523 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.7209, allocations: 0 / 0.5523 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.7209, allocations: 13.84 kB / 0.5523 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/0.721, allocations: 16.97 kB / 0.5523 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.7225, allocations: 437.6 kB / 0.5527 GB, free: 19.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.7255, allocations: 1.311 MB / 0.554 GB, free: 18.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000944/0.7265, allocations: 319.7 kB / 0.5543 GB, free: 18.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/0.7266, allocations: 7.859 kB / 0.5543 GB, free: 18.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.7266, allocations: 41.81 kB / 0.5544 GB, free: 18.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 3.136e-06/0.7266, allocations: 0 / 0.5544 GB, free: 18.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.002153/0.7288, allocations: 0.744 MB / 0.5551 GB, free: 18.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.7289, allocations: 110.6 kB / 0.5552 GB, free: 17.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007728/0.7296, allocations: 455.2 kB / 0.5556 GB, free: 17.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.7297, allocations: 29.33 kB / 0.5557 GB, free: 17.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.7299, allocations: 205.6 kB / 0.5559 GB, free: 17.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.73, allocations: 57.42 kB / 0.5559 GB, free: 17.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.73, allocations: 7.375 kB / 0.5559 GB, free: 17.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.7301, allocations: 352.6 kB / 0.5563 GB, free: 17.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.7307, allocations: 155.1 kB / 0.5564 GB, free: 17.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/0.7314, allocations: 238 kB / 0.5566 GB, free: 17.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.7321, allocations: 188.1 kB / 0.5568 GB, free: 17.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.7321, allocations: 0 / 0.5568 GB, free: 17.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001637/0.7337, allocations: 471.3 kB / 0.5573 GB, free: 17.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.7338, allocations: 7.891 kB / 0.5573 GB, free: 17.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.7339, allocations: 41.36 kB / 0.5573 GB, free: 17.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.734, allocations: 3.938 kB / 0.5573 GB, free: 17.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.7343, allocations: 39.52 kB / 0.5573 GB, free: 17.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.7343, allocations: 7.906 kB / 0.5574 GB, free: 17.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.7349, allocations: 64.55 kB / 0.5574 GB, free: 17.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.7349, allocations: 14.2 kB / 0.5574 GB, free: 17.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003479/0.7353, allocations: 195.5 kB / 0.5576 GB, free: 16.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.7354, allocations: 38.75 kB / 0.5577 GB, free: 16.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.7368, allocations: 448.2 kB / 0.5581 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.7369, allocations: 7.031 kB / 0.5581 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7369, allocations: 0 / 0.5581 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7369, allocations: 0 / 0.5581 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008427/0.7377, allocations: 374.4 kB / 0.5584 GB, free: 16.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.161e-05/0.7379, allocations: 33.53 kB / 0.5585 GB, free: 16.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.7382, allocations: 35.84 kB / 0.5585 GB, free: 16.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.7382, allocations: 3.969 kB / 0.5585 GB, free: 16.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.7382, allocations: 6.828 kB / 0.5585 GB, free: 16.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.7382, allocations: 7.891 kB / 0.5585 GB, free: 16.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.7382, allocations: 3.938 kB / 0.5585 GB, free: 16.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.7396, allocations: 0.6408 MB / 0.5592 GB, free: 16.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.7398, allocations: 122.6 kB / 0.5593 GB, free: 16.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.606e-05/0.7399, allocations: 11.34 kB / 0.5593 GB, free: 16.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.7404, allocations: 30.84 kB / 0.5593 GB, free: 16.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.7405, allocations: 12.95 kB / 0.5593 GB, free: 16.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.7406, allocations: 13.83 kB / 0.5593 GB, free: 16.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005447/0.7411, allocations: 358.8 kB / 0.5597 GB, free: 16.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7411, allocations: 3.719 kB / 0.5597 GB, free: 16.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009205/0.7421, allocations: 129.8 kB / 0.5598 GB, free: 16.07 MB / 378.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002155/0.7442, allocations: 1.45 MB / 0.5612 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.7458, allocations: 0.5822 MB / 0.5618 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7458, allocations: 0 / 0.5618 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007078/0.7465, allocations: 416.7 kB / 0.5622 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.7474, allocations: 87.14 kB / 0.5623 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/0.754, allocations: 4.453 MB / 0.5666 GB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.7545, allocations: 0.8559 MB / 0.5675 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003467/0.7548, allocations: 70.62 kB / 0.5675 GB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.7551, allocations: 110.8 kB / 0.5676 GB, free: 11.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7551, allocations: 0 / 0.5676 GB, free: 11.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.052/0.8071, allocations: 11.59 MB / 0.5789 GB, free: 6.82 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.8074, allocations: 230.9 kB / 0.5792 GB, free: 6.578 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/3.833, allocations: 0 / 0.5792 GB, free: 6.578 MB / 378.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_res.mat does not exist to compare? outputFormat=mat