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.00149/0.00149, allocations: 180.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 98.19 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7246/0.7246, allocations: 120.5 MB / 463 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 4 kB / 0.5447 GB, free: 41.08 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1231, allocations: 82.86 MB / 0.6256 GB, free: 7.801 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6226/0.7457, allocations: 125.9 MB / 0.7486 GB, free: 8.266 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001687/0.7459, allocations: 67.16 kB / 0.7486 GB, free: 8.23 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.1588/0.9047, allocations: 55.27 MB / 0.8026 GB, free: 4.805 MB / 0.5575 GB Notification: Performance of FrontEnd: time 3.156e-06/0.9048, allocations: 0 / 0.8026 GB, free: 4.805 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 0.0001189/0.9049, allocations: 56 kB / 0.8027 GB, free: 4.75 MB / 0.5575 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.02184/0.9268, allocations: 10.2 MB / 0.8126 GB, free: 10.65 MB / 0.5732 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.9268, allocations: 15.97 kB / 0.8126 GB, free: 10.63 MB / 0.5732 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00172/0.9286, allocations: 454.3 kB / 0.8131 GB, free: 10.38 MB / 0.5732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.9302, allocations: 320.3 kB / 0.8134 GB, free: 10.06 MB / 0.5732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/0.9448, allocations: 8.056 MB / 0.8212 GB, free: 2.023 MB / 0.5732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.9451, allocations: 233.7 kB / 0.8215 GB, free: 1.891 MB / 0.5732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/0.9469, allocations: 461.5 kB / 0.8219 GB, free: 1.578 MB / 0.5732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.9579, allocations: 4.385 MB / 0.8262 GB, free: 14.22 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.026e-05/0.958, allocations: 0 / 0.8262 GB, free: 14.22 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005016/0.9585, allocations: 128.1 kB / 0.8263 GB, free: 14.2 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-05/0.9586, allocations: 75.95 kB / 0.8264 GB, free: 14.12 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009766/0.9684, allocations: 7.391 MB / 0.8336 GB, free: 7.688 MB / 0.5888 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007186/0.9756, allocations: 4.127 MB / 0.8376 GB, free: 4.266 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02783/1.003, allocations: 12.06 MB / 0.8494 GB, free: 10.96 MB / 0.6044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006937/1.004, allocations: 238.4 kB / 0.8496 GB, free: 10.72 MB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/1.004, allocations: 118.6 kB / 0.8498 GB, free: 10.64 MB / 0.6044 GB Notification: Performance of pre-optimization done (n=803): time 1.901e-05/1.004, allocations: 0 / 0.8498 GB, free: 10.64 MB / 0.6044 GB Notification: Performance of matching and sorting (n=803): time 0.0187/1.023, allocations: 10.47 MB / 0.86 GB, free: 2.688 MB / 0.6044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.023, allocations: 141.6 kB / 0.8601 GB, free: 2.535 MB / 0.6044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/1.024, allocations: 496.4 kB / 0.8606 GB, free: 2.117 MB / 0.6044 GB Notification: Performance of collectPreVariables (initialization): time 0.0009442/1.025, allocations: 154 kB / 0.8607 GB, free: 2.059 MB / 0.6044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/1.025, allocations: 268.2 kB / 0.861 GB, free: 1.914 MB / 0.6044 GB Notification: Performance of collectInitialBindings (initialization): time 0.003484/1.028, allocations: 3.069 MB / 0.864 GB, free: 15.24 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/1.029, allocations: 179.2 kB / 0.8642 GB, free: 15.2 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 0.0004338/1.029, allocations: 0.7168 MB / 0.8649 GB, free: 14.63 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005804/1.035, allocations: 3.64 MB / 0.8684 GB, free: 11.92 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00623/1.041, allocations: 3.732 MB / 0.8721 GB, free: 9.113 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007463/1.049, allocations: 4.339 MB / 0.8763 GB, free: 6.027 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/1.049, allocations: 0 / 0.8763 GB, free: 6.027 MB / 0.62 GB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.01676/1.066, allocations: 9.546 MB / 0.8856 GB, free: 14.86 MB / 0.6357 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/1.066, allocations: 8 kB / 0.8856 GB, free: 14.86 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/1.066, allocations: 3.938 kB / 0.8856 GB, free: 14.85 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.567e-05/1.066, allocations: 40 kB / 0.8857 GB, free: 14.81 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02553/1.091, allocations: 2.155 MB / 0.8878 GB, free: 12.73 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002161/1.092, allocations: 37.72 kB / 0.8878 GB, free: 12.69 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/1.096, allocations: 0.5648 MB / 0.8884 GB, free: 12.26 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/1.098, allocations: 311.4 kB / 0.8887 GB, free: 12.02 MB / 0.6357 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 () * Number of clocked 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.002714/1.101, allocations: 0.8693 MB / 0.8895 GB, free: 11.38 MB / 0.6357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008689/1.101, allocations: 324.3 kB / 0.8898 GB, free: 11.06 MB / 0.6357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02344/1.125, allocations: 10.75 MB / 0.9003 GB, free: 3.297 MB / 0.6357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.509e-05/1.125, allocations: 112 kB / 0.9004 GB, free: 3.188 MB / 0.6357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.623e-05/1.125, allocations: 0 / 0.9004 GB, free: 3.188 MB / 0.6357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001789/1.125, allocations: 51.8 kB / 0.9005 GB, free: 3.137 MB / 0.6357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008969/1.134, allocations: 5.136 MB / 0.9055 GB, free: 14.95 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.359e-05/1.134, allocations: 0 / 0.9055 GB, free: 14.95 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02964/1.164, allocations: 2.423 MB / 0.9078 GB, free: 12.62 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002005/1.164, allocations: 36 kB / 0.9079 GB, free: 12.58 MB / 0.6513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002744/1.167, allocations: 369.6 kB / 0.9082 GB, free: 12.36 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-05/1.167, allocations: 36 kB / 0.9083 GB, free: 12.32 MB / 0.6513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.167, allocations: 0 / 0.9083 GB, free: 12.32 MB / 0.6513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02526/1.192, allocations: 14.26 MB / 0.9222 GB, free: 1.77 MB / 0.6513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004241/1.197, allocations: 1.384 MB / 0.9235 GB, free: 444 kB / 0.6513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00181/1.198, allocations: 301 kB / 0.9238 GB, free: 284 kB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003485/1.202, allocations: 182.1 kB / 0.924 GB, free: 244 kB / 0.6513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001548/1.204, allocations: 0.6275 MB / 0.9246 GB, free: 15.68 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001317/1.205, allocations: 318.1 kB / 0.9249 GB, free: 15.43 MB / 0.6669 GB Notification: Performance of sorting global known variables: time 0.0007382/1.206, allocations: 396.8 kB / 0.9253 GB, free: 15.11 MB / 0.6669 GB Notification: Performance of sort global known variables: time 4.81e-07/1.206, allocations: 0 / 0.9253 GB, free: 15.11 MB / 0.6669 GB Notification: Performance of remove unused functions: time 0.003582/1.209, allocations: 1.73 MB / 0.927 GB, free: 13.66 MB / 0.6669 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 () * Number of clocked 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.02581/1.235, allocations: 15.29 MB / 0.9419 GB, free: 2.207 MB / 0.6669 GB Notification: Performance of simCode: created initialization part: time 0.4461/1.681, allocations: 9.056 MB / 0.9508 GB, free: 218.4 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.681, allocations: 0 / 0.9508 GB, free: 218.4 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.008809/1.69, allocations: 5.017 MB / 0.9557 GB, free: 217 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.693, allocations: 0.5829 MB / 0.9562 GB, free: 216.8 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05843/1.751, allocations: 50.89 MB / 1.006 GB, free: 192.2 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/1.753, allocations: 2.677 MB / 1.009 GB, free: 190.2 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.008228/1.761, allocations: 3.036 MB / 1.012 GB, free: 187.9 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004031/1.765, allocations: 1.987 MB / 1.013 GB, free: 186.1 MB / 0.6671 GB Notification: Performance of SimCode: time 1.884e-06/1.765, allocations: 3.938 kB / 1.013 GB, free: 186.1 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1371/1.902, allocations: 109.8 MB / 1.121 GB, free: 82.8 MB / 0.6671 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/1.902, allocations: 218.7 kB / 1.121 GB, free: 82.55 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.447/7.349, allocations: 3.656 kB / 1.121 GB, free: 82.55 MB / 0.6671 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)