Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.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_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_80",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.001959/0.001959, allocations: 175 kB / 13.63 MB, free: 1.684 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.345/1.345, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0009077/0.0009076, allocations: 89.86 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9134/0.9134, allocations: 120.5 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.016e-05, allocations: 4 kB / 0.5368 GB, free: 11.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.5155, allocations: 82.83 MB / 0.6177 GB, free: 9.266 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.6578, allocations: 125.8 MB / 0.7406 GB, free: 11.3 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.658, allocations: 63.77 kB / 0.7406 GB, free: 11.24 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.5953/1.253, allocations: 25.13 MB / 0.7652 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.563e-06/1.253, allocations: 0 / 0.7652 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 4.317e-05/1.253, allocations: 27.69 kB / 0.7652 GB, free: 127.4 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.00802/1.261, allocations: 3.547 MB / 0.7686 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.261, allocations: 11.97 kB / 0.7687 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006868/1.262, allocations: 240.2 kB / 0.7689 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006292/1.263, allocations: 162.2 kB / 0.769 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/1.267, allocations: 2.459 MB / 0.7714 GB, free: 122 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-05/1.267, allocations: 115.2 kB / 0.7716 GB, free: 121.9 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006713/1.268, allocations: 231.3 kB / 0.7718 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00406/1.272, allocations: 2.177 MB / 0.7739 GB, free: 119.5 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/1.272, allocations: 4 kB / 0.7739 GB, free: 119.5 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/1.272, allocations: 64 kB / 0.774 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/1.272, allocations: 39.95 kB / 0.774 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003839/1.276, allocations: 2.859 MB / 0.7768 GB, free: 116.5 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/1.279, allocations: 2.074 MB / 0.7788 GB, free: 114.4 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01346/1.293, allocations: 5.635 MB / 0.7843 GB, free: 108.8 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003184/1.296, allocations: 1.716 MB / 0.786 GB, free: 107.1 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/1.297, allocations: 166 kB / 0.7862 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.297, allocations: 77.67 kB / 0.7862 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=403): time 5.26e-06/1.297, allocations: 0 / 0.7862 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=403): time 0.007101/1.304, allocations: 3.68 MB / 0.7898 GB, free: 103.1 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/1.304, allocations: 102.5 kB / 0.7899 GB, free: 103 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/1.304, allocations: 295.6 kB / 0.7902 GB, free: 102.7 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0003706/1.304, allocations: 93.7 kB / 0.7903 GB, free: 102.6 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/1.305, allocations: 170.4 kB / 0.7905 GB, free: 102.4 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009873/1.306, allocations: 1.546 MB / 0.792 GB, free: 100.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003582/1.306, allocations: 84 kB / 0.792 GB, free: 100.8 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002262/1.306, allocations: 0.5082 MB / 0.7925 GB, free: 100.3 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/1.309, allocations: 1.859 MB / 0.7944 GB, free: 98.42 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/1.312, allocations: 1.913 MB / 0.7962 GB, free: 96.49 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/1.315, allocations: 2.215 MB / 0.7984 GB, free: 94.23 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/1.315, allocations: 0 / 0.7984 GB, free: 94.23 MB / 0.5421 GB Notification: Performance of matching and sorting (n=564) (initialization): time 0.00754/1.323, allocations: 4.877 MB / 0.8032 GB, free: 89.26 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/1.323, allocations: 8 kB / 0.8032 GB, free: 89.25 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.323, allocations: 0 / 0.8032 GB, free: 89.25 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.897e-05/1.323, allocations: 16.56 kB / 0.8032 GB, free: 89.24 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/1.333, allocations: 1.077 MB / 0.8042 GB, free: 88.16 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.342e-05/1.333, allocations: 20 kB / 0.8042 GB, free: 88.14 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/1.335, allocations: 296.5 kB / 0.8045 GB, free: 87.85 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006639/1.336, allocations: 155.9 kB / 0.8047 GB, free: 87.7 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 (564): * Single equations (assignments): 564 * 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.001023/1.337, allocations: 308.1 kB / 0.805 GB, free: 87.39 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/1.338, allocations: 166.2 kB / 0.8051 GB, free: 87.22 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009229/1.347, allocations: 5.308 MB / 0.8103 GB, free: 81.81 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/1.347, allocations: 52 kB / 0.8104 GB, free: 81.76 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/1.347, allocations: 7.984 kB / 0.8104 GB, free: 81.75 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.278e-05/1.347, allocations: 23.91 kB / 0.8104 GB, free: 81.73 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/1.35, allocations: 2.574 MB / 0.8129 GB, free: 79.19 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.35, allocations: 0 / 0.8129 GB, free: 79.19 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01234/1.362, allocations: 1.217 MB / 0.8141 GB, free: 77.97 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.327e-05/1.363, allocations: 20 kB / 0.8141 GB, free: 77.95 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009345/1.363, allocations: 187.8 kB / 0.8143 GB, free: 77.77 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.406e-05/1.364, allocations: 20 kB / 0.8143 GB, free: 77.75 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.364, allocations: 0 / 0.8143 GB, free: 77.75 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/1.375, allocations: 7.024 MB / 0.8212 GB, free: 70.58 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/1.376, allocations: 0.7312 MB / 0.8219 GB, free: 69.83 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005734/1.377, allocations: 151.9 kB / 0.822 GB, free: 69.68 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/1.379, allocations: 91.94 kB / 0.8221 GB, free: 69.59 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005923/1.379, allocations: 324 kB / 0.8224 GB, free: 69.27 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003866/1.38, allocations: 163.9 kB / 0.8226 GB, free: 69.11 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002027/1.38, allocations: 238.1 kB / 0.8228 GB, free: 68.88 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/1.38, allocations: 0 / 0.8228 GB, free: 68.88 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.00176/1.382, allocations: 0.8711 MB / 0.8237 GB, free: 68 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 161 (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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (564): * Single equations (assignments): 564 * 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.009607/1.391, allocations: 7.811 MB / 0.8313 GB, free: 60.04 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.006281/1.398, allocations: 4.522 MB / 0.8357 GB, free: 55.46 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.398, allocations: 0 / 0.8357 GB, free: 55.46 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.003263/1.401, allocations: 2.461 MB / 0.8381 GB, free: 52.99 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.402, allocations: 308.2 kB / 0.8384 GB, free: 52.7 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/1.417, allocations: 12.66 MB / 0.8508 GB, free: 39.93 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000828/1.418, allocations: 1.678 MB / 0.8524 GB, free: 38.22 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.004577/1.423, allocations: 1.518 MB / 0.8539 GB, free: 36.7 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/1.425, allocations: 0.96 MB / 0.8548 GB, free: 35.73 MB / 0.5421 GB Notification: Performance of SimCode: time 8.41e-07/1.425, allocations: 0 / 0.8548 GB, free: 35.73 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08198/1.507, allocations: 56.28 MB / 0.9098 GB, free: 11.69 MB / 0.5734 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/1.507, allocations: 181.8 kB / 0.91 GB, free: 11.47 MB / 0.5734 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.73/5.237, allocations: 0 / 0.91 GB, free: 11.47 MB / 0.5734 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_80_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_80.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe 2>&1)