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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001463, allocations: 114 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001632, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8064/0.8064, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 61.91 kB / 0.5719 GB, free: 39.15 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1162, allocations: 80.69 MB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80): time 0.00227/0.1185, allocations: 1.39 MB / 0.652 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.1194, allocations: 0.5146 MB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.1195, allocations: 0 / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.795e-05/0.1196, allocations: 7.922 kB / 0.6526 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1199, allocations: 59.73 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.12, allocations: 39.88 kB / 0.6527 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.1214, allocations: 1.97 MB / 0.6546 GB, free: 8.082 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.998e-05/0.1215, allocations: 16.19 kB / 0.6546 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008663/0.1224, allocations: 0.6751 MB / 0.6552 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.1238, allocations: 0.995 MB / 0.6562 GB, free: 6.395 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.1241, allocations: 116 kB / 0.6563 GB, free: 6.281 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.1245, allocations: 140 kB / 0.6565 GB, free: 6.145 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0008055/0.1254, allocations: 0.8912 MB / 0.6573 GB, free: 5.25 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.1266, allocations: 0.8788 MB / 0.6582 GB, free: 4.367 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.128, allocations: 1.595 MB / 0.6598 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1281, allocations: 0 / 0.6598 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1281, allocations: 0 / 0.6598 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.831e-05/0.1281, allocations: 0 / 0.6598 GB, free: 2.766 MB / 0.4983 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.005392/0.1335, allocations: 2.271 MB / 0.662 GB, free: 448 kB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1336, allocations: 19.83 kB / 0.662 GB, free: 428 kB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002941/0.1339, allocations: 240.3 kB / 0.6622 GB, free: 176 kB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/0.1342, allocations: 172 kB / 0.6624 GB, free: 4 kB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.1353, allocations: 0.7542 MB / 0.6631 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.05e-05/0.1354, allocations: 115.2 kB / 0.6632 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.1358, allocations: 231.6 kB / 0.6634 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003317/0.1391, allocations: 2.231 MB / 0.6656 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.1391, allocations: 0 / 0.6656 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.1393, allocations: 68 kB / 0.6657 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.1393, allocations: 40 kB / 0.6657 GB, free: 12.51 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/0.1431, allocations: 2.909 MB / 0.6686 GB, free: 9.598 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.1458, allocations: 2.083 MB / 0.6706 GB, free: 7.457 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/0.1582, allocations: 5.722 MB / 0.6762 GB, free: 1.699 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.1608, allocations: 1.767 MB / 0.6779 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.1612, allocations: 156.2 kB / 0.6781 GB, free: 15.75 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.1613, allocations: 77.73 kB / 0.6781 GB, free: 15.67 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=403): time 5.21e-06/0.1613, allocations: 4 kB / 0.6781 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of matching and sorting (n=403): time 0.008168/0.1694, allocations: 5.245 MB / 0.6833 GB, free: 10.39 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.1695, allocations: 90.58 kB / 0.6834 GB, free: 10.29 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.1699, allocations: 349.7 kB / 0.6837 GB, free: 9.941 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.1701, allocations: 85.7 kB / 0.6838 GB, free: 9.852 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1702, allocations: 174.4 kB / 0.6839 GB, free: 9.676 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/0.1713, allocations: 1.619 MB / 0.6855 GB, free: 8.043 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.1723, allocations: 0.73 MB / 0.6862 GB, free: 7.301 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1725, allocations: 341.9 kB / 0.6866 GB, free: 6.961 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.1753, allocations: 1.835 MB / 0.6883 GB, free: 5.117 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002889/0.1782, allocations: 1.901 MB / 0.6902 GB, free: 3.199 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006061/0.1843, allocations: 4.117 MB / 0.6942 GB, free: 15.01 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.1843, allocations: 0 / 0.6942 GB, free: 15.01 MB / 0.5452 GB Notification: Performance of matching and sorting (n=564) (initialization): time 0.007289/0.1916, allocations: 4.84 MB / 0.6989 GB, free: 10.09 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.1916, allocations: 4 kB / 0.699 GB, free: 10.08 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.1917, allocations: 4 kB / 0.699 GB, free: 10.08 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/0.1917, allocations: 16 kB / 0.699 GB, free: 10.06 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003915/0.1956, allocations: 1.026 MB / 0.7 GB, free: 9.035 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.891e-05/0.1957, allocations: 16 kB / 0.7 GB, free: 9.02 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.1973, allocations: 301.6 kB / 0.7003 GB, free: 8.723 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/0.1977, allocations: 155.9 kB / 0.7004 GB, free: 8.57 MB / 0.5452 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 (564): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008546/0.1985, allocations: 0.4942 MB / 0.7009 GB, free: 8.066 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/0.1989, allocations: 171 kB / 0.7011 GB, free: 7.898 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009061/0.208, allocations: 5.375 MB / 0.7063 GB, free: 2.422 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-05/0.208, allocations: 52 kB / 0.7064 GB, free: 2.371 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.2081, allocations: 0 / 0.7064 GB, free: 2.371 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-05/0.2081, allocations: 31.83 kB / 0.7064 GB, free: 2.34 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.2114, allocations: 2.584 MB / 0.7089 GB, free: 15.7 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.2115, allocations: 0 / 0.7089 GB, free: 15.7 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005505/0.217, allocations: 1.17 MB / 0.7101 GB, free: 14.53 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.628e-05/0.2171, allocations: 20 kB / 0.7101 GB, free: 14.51 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005165/0.2176, allocations: 183.9 kB / 0.7103 GB, free: 14.33 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-05/0.2177, allocations: 20 kB / 0.7103 GB, free: 14.31 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2177, allocations: 0 / 0.7103 GB, free: 14.31 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.2284, allocations: 7.189 MB / 0.7173 GB, free: 6.984 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.2298, allocations: 0.7401 MB / 0.718 GB, free: 6.223 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004833/0.2302, allocations: 151.9 kB / 0.7182 GB, free: 6.074 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.2317, allocations: 92 kB / 0.7183 GB, free: 5.984 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000569/0.2322, allocations: 323.9 kB / 0.7186 GB, free: 5.664 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000313/0.2326, allocations: 159.9 kB / 0.7187 GB, free: 5.508 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.0002291/0.2328, allocations: 251.1 kB / 0.719 GB, free: 5.27 MB / 0.5608 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2328, allocations: 0 / 0.719 GB, free: 5.27 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.001507/0.2343, allocations: 0.8633 MB / 0.7198 GB, free: 4.406 MB / 0.5608 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01115/0.2455, allocations: 7.98 MB / 0.7276 GB, free: 12.27 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.008091/0.2536, allocations: 4.564 MB / 0.7321 GB, free: 7.645 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 5.83e-06/0.2537, allocations: 0 / 0.7321 GB, free: 7.645 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.004383/0.2581, allocations: 2.527 MB / 0.7345 GB, free: 5.109 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.2596, allocations: 389.3 kB / 0.7349 GB, free: 4.723 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/0.2969, allocations: 28.26 MB / 0.7625 GB, free: 8.188 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.2981, allocations: 1.63 MB / 0.7641 GB, free: 6.523 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.003527/0.3016, allocations: 1.498 MB / 0.7655 GB, free: 5.02 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/0.3034, allocations: 0.9639 MB / 0.7665 GB, free: 4.055 MB / 0.6077 GB Notification: Performance of SimCode: time 7.81e-07/0.3034, allocations: 0 / 0.7665 GB, free: 4.055 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5179/0.8213, allocations: 59.19 MB / 0.8243 GB, free: 78.78 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.14, allocations: 4.375 kB / 0.8243 GB, free: 78.77 MB / 0.6079 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80_res.csv --start-time 0 --stop-time 432000 --timeout 300 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 20 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_80.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe 2>&1)