Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.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.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",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.01015/0.01015, allocations: 165.6 kB / 15.11 MB, free: 5.934 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.973/1.973, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.002014/0.002014, allocations: 107.4 kB / 226.2 MB, free: 10.1 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.5003/0.5003, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004709, allocations: 8 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1106, allocations: 48.71 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5571, allocations: 87.13 MB / 498.8 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/0.5575, allocations: 98.44 kB / 498.9 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1059/0.6635, allocations: 23.46 MB / 0.5101 GB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6635, allocations: 0 / 0.5101 GB, free: 12.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.6635, allocations: 8 kB / 0.5102 GB, free: 12.48 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.00172/0.6653, allocations: 0.7077 MB / 0.5108 GB, free: 11.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.6654, allocations: 12.03 kB / 0.5109 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00018/0.6655, allocations: 114.4 kB / 0.511 GB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.6657, allocations: 56.75 kB / 0.511 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.6663, allocations: 302 kB / 0.5113 GB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.6663, allocations: 46.98 kB / 0.5114 GB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.6665, allocations: 51.25 kB / 0.5114 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.6683, allocations: 0.7448 MB / 0.5121 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.6683, allocations: 0 / 0.5121 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/0.6684, allocations: 22.62 kB / 0.5122 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-05/0.6685, allocations: 41.3 kB / 0.5122 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.6706, allocations: 0.8092 MB / 0.513 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003674/0.6743, allocations: 1.536 MB / 0.5145 GB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.6757, allocations: 446.2 kB / 0.5149 GB, free: 8.258 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.851e-05/0.6758, allocations: 19.45 kB / 0.5149 GB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.6758, allocations: 37.55 kB / 0.515 GB, free: 8.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.487e-06/0.6758, allocations: 0 / 0.515 GB, free: 8.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.00195/0.6778, allocations: 0.5463 MB / 0.5155 GB, free: 7.699 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.6779, allocations: 59.34 kB / 0.5156 GB, free: 7.629 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.6789, allocations: 0.528 MB / 0.5161 GB, free: 7.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.679, allocations: 36.39 kB / 0.5161 GB, free: 7.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.6793, allocations: 260.4 kB / 0.5164 GB, free: 6.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.6794, allocations: 107.5 kB / 0.5165 GB, free: 6.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.6795, allocations: 10.44 kB / 0.5165 GB, free: 6.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.6797, allocations: 356.9 kB / 0.5168 GB, free: 6.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/0.6804, allocations: 197.5 kB / 0.517 GB, free: 6.359 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008823/0.6813, allocations: 436.4 kB / 0.5174 GB, free: 5.859 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/0.6821, allocations: 274.9 kB / 0.5177 GB, free: 5.637 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.6821, allocations: 4 kB / 0.5177 GB, free: 5.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002039/0.6842, allocations: 0.671 MB / 0.5183 GB, free: 5.043 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.6843, allocations: 11.98 kB / 0.5183 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.6843, allocations: 8.109 kB / 0.5183 GB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/0.6843, allocations: 15.94 kB / 0.5184 GB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.6863, allocations: 242.9 kB / 0.5186 GB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005561/0.6919, allocations: 7.313 MB / 0.5257 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007753/0.6927, allocations: 82.05 kB / 0.5258 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.464e-05/0.6928, allocations: 37.92 kB / 0.5259 GB, free: 13.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005394/0.6934, allocations: 266.7 kB / 0.5261 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.6935, allocations: 43.44 kB / 0.5261 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.6955, allocations: 0.5663 MB / 0.5267 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.6956, allocations: 4 kB / 0.5267 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6956, allocations: 4 kB / 0.5267 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.6957, allocations: 11.88 kB / 0.5267 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009364/0.6966, allocations: 432.7 kB / 0.5271 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.6966, allocations: 0 / 0.5271 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/0.6984, allocations: 207.6 kB / 0.5273 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.6984, allocations: 4 kB / 0.5273 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.6985, allocations: 10.98 kB / 0.5273 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005549/0.704, allocations: 7.295 MB / 0.5345 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.7041, allocations: 3.953 kB / 0.5345 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.7056, allocations: 0.5055 MB / 0.535 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.7059, allocations: 128.5 kB / 0.5351 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.706, allocations: 6.312 kB / 0.5351 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.7064, allocations: 11.69 kB / 0.5351 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.7066, allocations: 31.91 kB / 0.5351 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.7066, allocations: 19.3 kB / 0.5352 GB, free: 3.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007746/0.7074, allocations: 403.3 kB / 0.5355 GB, free: 3.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7074, allocations: 0 / 0.5355 GB, free: 3.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001155/0.7086, allocations: 188.1 kB / 0.5357 GB, free: 3.062 MB / 378.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002458/0.7111, allocations: 1.223 MB / 0.5369 GB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002977/0.7141, allocations: 0.5761 MB / 0.5375 GB, free: 1.328 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7142, allocations: 0 / 0.5375 GB, free: 1.328 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.7161, allocations: 307.6 kB / 0.5378 GB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/0.717, allocations: 113.8 kB / 0.5379 GB, free: 0.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.7286, allocations: 8.879 MB / 0.5465 GB, free: 7.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/0.7294, allocations: 0.921 MB / 0.5474 GB, free: 6.871 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007701/0.7302, allocations: 164.4 kB / 0.5476 GB, free: 6.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.7306, allocations: 143.4 kB / 0.5477 GB, free: 6.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/0.7306, allocations: 0 / 0.5477 GB, free: 6.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05685/0.7874, allocations: 15.28 MB / 0.5627 GB, free: 7.402 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003784/0.7879, allocations: 248.8 kB / 0.5629 GB, free: 7.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.42/4.208, allocations: 0 / 0.5629 GB, free: 7.07 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat