Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_160",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_160",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008183/0.0008183, allocations: 97.55 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8449/0.8449, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.156e-05/1.159e-05, allocations: 0 / 0.5296 GB, free: 460 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5047, allocations: 82.84 MB / 0.6105 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.652, allocations: 125.2 MB / 0.7328 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.6523, allocations: 67.77 kB / 0.7328 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.7041/1.356, allocations: 55.18 MB / 0.7867 GB, free: 106.2 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.232e-06/1.356, allocations: 0 / 0.7867 GB, free: 106.2 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 5.977e-05/1.357, allocations: 56 kB / 0.7868 GB, free: 106.2 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.02014/1.377, allocations: 10.08 MB / 0.7966 GB, free: 96.02 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.377, allocations: 16.02 kB / 0.7966 GB, free: 96 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/1.378, allocations: 324.3 kB / 0.7969 GB, free: 95.68 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/1.392, allocations: 8.063 MB / 0.8048 GB, free: 87.56 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.873e-05/1.392, allocations: 100 kB / 0.8049 GB, free: 87.46 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007392/1.393, allocations: 338.7 kB / 0.8052 GB, free: 87.13 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006813/1.399, allocations: 7.131 MB / 0.8122 GB, free: 80 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005601/1.405, allocations: 3.932 MB / 0.816 GB, free: 76.04 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.893e-05/1.405, allocations: 0 / 0.816 GB, free: 76.04 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/1.405, allocations: 0 / 0.816 GB, free: 76.04 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/1.405, allocations: 79.95 kB / 0.8161 GB, free: 75.96 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00447/1.41, allocations: 3.642 MB / 0.8197 GB, free: 72.18 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02201/1.432, allocations: 11.51 MB / 0.8309 GB, free: 60.54 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004674/1.437, allocations: 3.221 MB / 0.8341 GB, free: 57.31 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000564/1.437, allocations: 243.2 kB / 0.8343 GB, free: 57.05 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/1.437, allocations: 112.9 kB / 0.8344 GB, free: 56.93 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=803): time 8.206e-06/1.437, allocations: 3.938 kB / 0.8344 GB, free: 56.93 MB / 0.5421 GB Notification: Performance of matching and sorting (n=803): time 0.01957/1.457, allocations: 8.457 MB / 0.8427 GB, free: 48.41 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/1.457, allocations: 133.7 kB / 0.8428 GB, free: 48.27 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/1.457, allocations: 463.5 kB / 0.8432 GB, free: 47.81 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0003653/1.458, allocations: 27.11 kB / 0.8433 GB, free: 47.78 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/1.458, allocations: 268.7 kB / 0.8435 GB, free: 47.51 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.001625/1.46, allocations: 2.991 MB / 0.8464 GB, free: 44.48 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003853/1.46, allocations: 0 / 0.8464 GB, free: 44.48 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0003028/1.46, allocations: 0.7174 MB / 0.8471 GB, free: 43.75 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004371/1.465, allocations: 3.55 MB / 0.8506 GB, free: 40.19 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004254/1.469, allocations: 3.593 MB / 0.8541 GB, free: 36.59 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/1.482, allocations: 5.792 MB / 0.8598 GB, free: 30.76 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.14e-05/1.482, allocations: 0 / 0.8598 GB, free: 30.76 MB / 0.5421 GB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.02042/1.502, allocations: 10.63 MB / 0.8701 GB, free: 20.05 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/1.503, allocations: 9.406 kB / 0.8701 GB, free: 20.05 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/1.503, allocations: 0 / 0.8701 GB, free: 20.05 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.511e-05/1.503, allocations: 36 kB / 0.8702 GB, free: 20.01 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03382/1.536, allocations: 2.157 MB / 0.8723 GB, free: 17.85 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001821/1.537, allocations: 36 kB / 0.8723 GB, free: 17.82 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004808/1.542, allocations: 405.2 kB / 0.8727 GB, free: 17.41 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/1.543, allocations: 307.9 kB / 0.873 GB, free: 17.11 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1124): * Single equations (assignments): 1124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001286/1.544, allocations: 211.2 kB / 0.8732 GB, free: 16.9 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01934/1.564, allocations: 8.469 MB / 0.8815 GB, free: 8.371 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000668/1.564, allocations: 320.3 kB / 0.8818 GB, free: 8.055 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02236/1.587, allocations: 11.39 MB / 0.8929 GB, free: 12.55 MB / 0.5578 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.916e-05/1.587, allocations: 108 kB / 0.893 GB, free: 12.45 MB / 0.5578 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/1.587, allocations: 4 kB / 0.893 GB, free: 12.44 MB / 0.5578 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.034e-05/1.587, allocations: 55.78 kB / 0.8931 GB, free: 12.39 MB / 0.5578 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006492/1.593, allocations: 4.494 MB / 0.8975 GB, free: 7.762 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/1.593, allocations: 0 / 0.8975 GB, free: 7.762 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03834/1.632, allocations: 2.415 MB / 0.8998 GB, free: 5.344 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/1.632, allocations: 32 kB / 0.8998 GB, free: 5.312 MB / 0.5578 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001869/1.634, allocations: 259.7 kB / 0.9001 GB, free: 5.059 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.608e-05/1.634, allocations: 40 kB / 0.9001 GB, free: 5.02 MB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.634, allocations: 7.984 kB / 0.9001 GB, free: 5.012 MB / 0.5578 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02861/1.663, allocations: 14.8 MB / 0.9146 GB, free: 6.07 MB / 0.5734 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/1.665, allocations: 1.391 MB / 0.9159 GB, free: 4.652 MB / 0.5734 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007488/1.666, allocations: 123.8 kB / 0.9161 GB, free: 4.531 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/1.669, allocations: 0 / 0.9161 GB, free: 4.531 MB / 0.5734 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008928/1.67, allocations: 0.6365 MB / 0.9167 GB, free: 3.891 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005869/1.67, allocations: 315.9 kB / 0.917 GB, free: 3.582 MB / 0.5734 GB Notification: Performance of sorting global known variables: time 0.0004484/1.671, allocations: 367.1 kB / 0.9173 GB, free: 3.227 MB / 0.5734 GB Notification: Performance of sort global known variables: time 1.71e-07/1.671, allocations: 0 / 0.9173 GB, free: 3.227 MB / 0.5734 GB Notification: Performance of remove unused functions: time 0.003396/1.674, allocations: 1.387 MB / 0.9187 GB, free: 1.84 MB / 0.5734 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 321 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],Tu[41],Tu[42],Tu[43],Tu[44],Tu[45],Tu[46],Tu[47],Tu[48],Tu[49],Tu[50],Tu[51],Tu[52],Tu[53],Tu[54],Tu[55],Tu[56],Tu[57],Tu[58],Tu[59],Tu[60],Tu[61],Tu[62],Tu[63],Tu[64],Tu[65],Tu[66],Tu[67],Tu[68],Tu[69],Tu[70],Tu[71],Tu[72],Tu[73],Tu[74],Tu[75],Tu[76],Tu[77],Tu[78],Tu[79],Tu[80],Tu[81],Tu[82],Tu[83],Tu[84],Tu[85],Tu[86],Tu[87],Tu[88],Tu[89],Tu[90],Tu[91],Tu[92],Tu[93],Tu[94],Tu[95],Tu[96],Tu[97],Tu[98],Tu[99],Tu[100],Tu[101],Tu[102],Tu[103],Tu[104],Tu[105],Tu[106],Tu[107],Tu[108],Tu[109],Tu[110],Tu[111],Tu[112],Tu[113],Tu[114],Tu[115],Tu[116],Tu[117],Tu[118],Tu[119],Tu[120],Tu[121],Tu[122],Tu[123],Tu[124],Tu[125],Tu[126],Tu[127],Tu[128],Tu[129],Tu[130],Tu[131],Tu[132],Tu[133],Tu[134],Tu[135],Tu[136],Tu[137],Tu[138],Tu[139],Tu[140],Tu[141],Tu[142],Tu[143],Tu[144],Tu[145],Tu[146],Tu[147],Tu[148],Tu[149],Tu[150],Tu[151],Tu[152],Tu[153],Tu[154],Tu[155],Tu[156],Tu[157],Tu[158],Tu[159],Tu[160],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[100],x[101],x[102],x[103],x[104],x[105],x[106],x[107],x[108],x[109],x[110],x[111],x[112],x[113],x[114],x[115],x[116],x[117],x[118],x[119],x[120],x[121],x[122],x[123],x[124],x[125],x[126],x[127],x[128],x[129],x[130],x[131],x[132],x[133],x[134],x[135],x[136],x[137],x[138],x[139],x[140],x[141],x[142],x[143],x[144],x[145],x[146],x[147],x[148],x[149],x[150],x[151],x[152],x[153],x[154],x[155],x[156],x[157],x[158],x[159],x[160]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1124): * Single equations (assignments): 1124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.03223/1.706, allocations: 15.67 MB / 0.934 GB, free: 2.012 MB / 0.589 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.719, allocations: 8.61 MB / 0.9424 GB, free: 9.367 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.719, allocations: 0 / 0.9424 GB, free: 9.367 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.006485/1.726, allocations: 4.709 MB / 0.947 GB, free: 4.664 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/1.728, allocations: 421.3 kB / 0.9474 GB, free: 4.258 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03144/1.759, allocations: 26.1 MB / 0.9729 GB, free: 10 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/1.761, allocations: 2.676 MB / 0.9755 GB, free: 7.289 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.007461/1.769, allocations: 3.055 MB / 0.9785 GB, free: 4.227 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003424/1.772, allocations: 1.987 MB / 0.9804 GB, free: 2.238 MB / 0.6359 GB Notification: Performance of SimCode: time 7.31e-07/1.772, allocations: 0 / 0.9804 GB, free: 2.238 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4777/2.25, allocations: 108.9 MB / 1.087 GB, free: 154.5 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/2.25, allocations: 188.7 kB / 1.087 GB, free: 154.3 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.633/7.883, allocations: 0 / 1.087 GB, free: 154.3 MB / 0.6515 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_160_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_160.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.pipe 2>&1)