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.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,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.009731/0.009731, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.816/1.816, allocations: 170.8 MB / 186.6 MB, free: 1.105 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.003113/0.003114, allocations: 103.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.5197/0.5197, allocations: 38.05 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004687, allocations: 8 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.5656, allocations: 87.83 MB / 499.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/0.566, allocations: 101.7 kB / 499.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1118/0.6778, allocations: 24.04 MB / 0.5114 GB, free: 11.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6779, allocations: 0 / 0.5114 GB, free: 11.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.246e-05/0.6779, allocations: 12 kB / 0.5114 GB, free: 11.16 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001873/0.6798, allocations: 0.77 MB / 0.5122 GB, free: 10.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.6799, allocations: 8.031 kB / 0.5122 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001951/0.6801, allocations: 107.1 kB / 0.5123 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.6802, allocations: 62.55 kB / 0.5123 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006067/0.6808, allocations: 304.1 kB / 0.5126 GB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.645e-05/0.6809, allocations: 46.73 kB / 0.5127 GB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.681, allocations: 53 kB / 0.5127 GB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.683, allocations: 0.7699 MB / 0.5135 GB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.6831, allocations: 0 / 0.5135 GB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-05/0.6832, allocations: 22.38 kB / 0.5135 GB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/0.6832, allocations: 26.34 kB / 0.5135 GB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.6851, allocations: 0.5757 MB / 0.5141 GB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.689, allocations: 1.708 MB / 0.5157 GB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.6901, allocations: 314.5 kB / 0.516 GB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-05/0.6902, allocations: 4 kB / 0.516 GB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.6902, allocations: 38.06 kB / 0.5161 GB, free: 6.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.166e-06/0.6903, allocations: 3.938 kB / 0.5161 GB, free: 6.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002437/0.6927, allocations: 0.7711 MB / 0.5168 GB, free: 6.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.6928, allocations: 110.8 kB / 0.5169 GB, free: 5.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.694, allocations: 0.5794 MB / 0.5175 GB, free: 5.477 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.6941, allocations: 33.02 kB / 0.5175 GB, free: 5.441 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.6943, allocations: 287.2 kB / 0.5178 GB, free: 5.234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.6945, allocations: 72.92 kB / 0.5179 GB, free: 5.172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.6945, allocations: 10.62 kB / 0.5179 GB, free: 5.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.6947, allocations: 364.5 kB / 0.5182 GB, free: 4.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007716/0.6955, allocations: 198.9 kB / 0.5184 GB, free: 4.652 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009778/0.6965, allocations: 475.3 kB / 0.5189 GB, free: 4.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/0.6974, allocations: 276.9 kB / 0.5192 GB, free: 3.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.6975, allocations: 0 / 0.5192 GB, free: 3.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002291/0.6998, allocations: 0.7115 MB / 0.5198 GB, free: 3.238 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.6998, allocations: 8 kB / 0.5199 GB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/0.7, allocations: 47.97 kB / 0.5199 GB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/0.7, allocations: 15.98 kB / 0.5199 GB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.7006, allocations: 79.7 kB / 0.52 GB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-05/0.7006, allocations: 19.94 kB / 0.52 GB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007466/0.7014, allocations: 94.02 kB / 0.5201 GB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.08e-05/0.7015, allocations: 35.17 kB / 0.5201 GB, free: 2.957 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004746/0.702, allocations: 250.5 kB / 0.5204 GB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.7021, allocations: 47.34 kB / 0.5204 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.704, allocations: 495.8 kB / 0.5209 GB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.7041, allocations: 4 kB / 0.5209 GB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.7041, allocations: 0 / 0.5209 GB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.7041, allocations: 7.984 kB / 0.5209 GB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.7055, allocations: 409.2 kB / 0.5213 GB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001812/0.7057, allocations: 43.95 kB / 0.5213 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.7061, allocations: 35.97 kB / 0.5214 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.7061, allocations: 7.938 kB / 0.5214 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.7062, allocations: 11.94 kB / 0.5214 GB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.7062, allocations: 0 / 0.5214 GB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.7062, allocations: 0 / 0.5214 GB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.7084, allocations: 0.6653 MB / 0.522 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.7089, allocations: 187.7 kB / 0.5222 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.7091, allocations: 7.938 kB / 0.5222 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007852/0.7099, allocations: 27.86 kB / 0.5223 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.7101, allocations: 22.84 kB / 0.5223 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/0.7101, allocations: 15.92 kB / 0.5223 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.7113, allocations: 449 kB / 0.5227 GB, free: 492 kB / 362.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.7113, allocations: 0 / 0.5227 GB, free: 492 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001833/0.7131, allocations: 198.3 kB / 0.5229 GB, free: 308 kB / 362.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.003725/0.7169, allocations: 1.52 MB / 0.5244 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002906/0.7198, allocations: 0.7679 MB / 0.5251 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.7199, allocations: 0 / 0.5251 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.7212, allocations: 499.5 kB / 0.5256 GB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.7227, allocations: 105.3 kB / 0.5257 GB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.7387, allocations: 9.769 MB / 0.5353 GB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008957/0.7397, allocations: 0.9052 MB / 0.5361 GB, free: 2.695 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008314/0.7406, allocations: 132.5 kB / 0.5363 GB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/0.741, allocations: 151.3 kB / 0.5364 GB, free: 2.418 MB / 378.7 MB Notification: Performance of SimCode: time 1.123e-06/0.741, allocations: 0 / 0.5364 GB, free: 2.418 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08885/0.8298, allocations: 15.18 MB / 0.5512 GB, free: 3.332 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/0.8302, allocations: 219.7 kB / 0.5514 GB, free: 3.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.071/3.901, allocations: 0 / 0.5514 GB, free: 3.09 MB / 394.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_res.mat does not exist to compare? outputFormat=mat