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.001399/0.001399, allocations: 108.3 kB / 17.06 MB, free: 5.82 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.001246/0.001246, allocations: 195.9 kB / 18 MB, free: 4.965 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.244/1.244, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7967/0.7967, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.86 kB / 0.5719 GB, free: 39.19 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 80.69 MB / 0.6507 GB, free: 12.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80): time 0.002123/0.1286, allocations: 1.382 MB / 0.652 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008022/0.1295, allocations: 0.5185 MB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.1295, allocations: 0 / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.414e-05/0.1296, allocations: 11.92 kB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.1299, allocations: 55.73 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.13, allocations: 35.89 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001359/0.1314, allocations: 1.978 MB / 0.6546 GB, free: 8.09 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.1314, allocations: 16.19 kB / 0.6546 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006592/0.1321, allocations: 0.6751 MB / 0.6552 GB, free: 7.398 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.1333, allocations: 0.9951 MB / 0.6562 GB, free: 6.402 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.1335, allocations: 116 kB / 0.6563 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.1338, allocations: 140 kB / 0.6565 GB, free: 6.152 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0007046/0.1345, allocations: 0.8912 MB / 0.6573 GB, free: 5.258 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0008417/0.1354, allocations: 0.8748 MB / 0.6582 GB, free: 4.379 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.1366, allocations: 1.599 MB / 0.6597 GB, free: 2.773 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1366, allocations: 0 / 0.6597 GB, free: 2.773 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1367, allocations: 0 / 0.6597 GB, free: 2.773 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.063e-05/0.1367, allocations: 4 kB / 0.6597 GB, free: 2.77 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.005137/0.1418, allocations: 2.271 MB / 0.662 GB, free: 452 kB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1419, allocations: 15.89 kB / 0.662 GB, free: 436 kB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002804/0.1422, allocations: 240.3 kB / 0.6622 GB, free: 184 kB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.1425, allocations: 172 kB / 0.6624 GB, free: 12 kB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.1439, allocations: 0.7503 MB / 0.6631 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.144, allocations: 123.1 kB / 0.6632 GB, free: 15.1 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003604/0.1443, allocations: 231.6 kB / 0.6634 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003205/0.1475, allocations: 2.235 MB / 0.6656 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.1476, allocations: 0 / 0.6656 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.1478, allocations: 60 kB / 0.6657 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.1478, allocations: 40 kB / 0.6657 GB, free: 12.52 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003591/0.1514, allocations: 2.909 MB / 0.6686 GB, free: 9.605 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.1539, allocations: 2.079 MB / 0.6706 GB, free: 7.469 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/0.1662, allocations: 5.722 MB / 0.6762 GB, free: 1.711 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00266/0.1689, allocations: 1.767 MB / 0.6779 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.1693, allocations: 160.2 kB / 0.6781 GB, free: 15.76 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.1693, allocations: 77.67 kB / 0.6781 GB, free: 15.68 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=403): time 5.63e-06/0.1693, allocations: 0 / 0.6781 GB, free: 15.68 MB / 0.5295 GB Notification: Performance of matching and sorting (n=403): time 0.007641/0.177, allocations: 5.245 MB / 0.6833 GB, free: 10.41 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.1771, allocations: 94.58 kB / 0.6833 GB, free: 10.3 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.1775, allocations: 353.7 kB / 0.6837 GB, free: 9.945 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.1777, allocations: 89.7 kB / 0.6838 GB, free: 9.852 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1778, allocations: 170.4 kB / 0.6839 GB, free: 9.68 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.1789, allocations: 1.623 MB / 0.6855 GB, free: 8.043 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008682/0.1798, allocations: 0.7261 MB / 0.6862 GB, free: 7.305 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1799, allocations: 337.9 kB / 0.6865 GB, free: 6.969 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/0.1825, allocations: 1.835 MB / 0.6883 GB, free: 5.125 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002628/0.1851, allocations: 1.897 MB / 0.6902 GB, free: 3.211 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005632/0.1908, allocations: 4.133 MB / 0.6942 GB, free: 15.01 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.1908, allocations: 0 / 0.6942 GB, free: 15.01 MB / 0.5452 GB Notification: Performance of matching and sorting (n=564) (initialization): time 0.006839/0.1977, allocations: 4.832 MB / 0.6989 GB, free: 10.09 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.1977, allocations: 4 kB / 0.699 GB, free: 10.09 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.1977, allocations: 0 / 0.699 GB, free: 10.09 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/0.1978, allocations: 20 kB / 0.699 GB, free: 10.07 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003929/0.2017, allocations: 1.03 MB / 0.7 GB, free: 9.039 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.575e-05/0.2018, allocations: 16 kB / 0.7 GB, free: 9.023 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.2032, allocations: 297.6 kB / 0.7003 GB, free: 8.73 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.2035, allocations: 151.9 kB / 0.7004 GB, free: 8.582 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.00073/0.2042, allocations: 0.4982 MB / 0.7009 GB, free: 8.074 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.2045, allocations: 175 kB / 0.7011 GB, free: 7.902 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00822/0.2128, allocations: 5.371 MB / 0.7063 GB, free: 2.43 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.435e-05/0.2128, allocations: 60 kB / 0.7064 GB, free: 2.371 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.2128, allocations: 3.938 kB / 0.7064 GB, free: 2.367 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-05/0.2129, allocations: 27.91 kB / 0.7064 GB, free: 2.34 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.2159, allocations: 2.58 MB / 0.7089 GB, free: 15.7 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.216, allocations: 3.984 kB / 0.7089 GB, free: 15.7 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005511/0.2215, allocations: 1.159 MB / 0.7101 GB, free: 14.54 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-05/0.2216, allocations: 19.94 kB / 0.7101 GB, free: 14.52 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004299/0.222, allocations: 187.9 kB / 0.7103 GB, free: 14.34 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.218e-05/0.222, allocations: 16 kB / 0.7103 GB, free: 14.32 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.222, allocations: 0 / 0.7103 GB, free: 14.32 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009669/0.2317, allocations: 7.197 MB / 0.7173 GB, free: 6.984 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.2332, allocations: 0.7362 MB / 0.718 GB, free: 6.227 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/0.2336, allocations: 151.9 kB / 0.7182 GB, free: 6.078 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.2349, allocations: 88 kB / 0.7183 GB, free: 5.992 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004286/0.2353, allocations: 324 kB / 0.7186 GB, free: 5.672 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/0.2356, allocations: 159.9 kB / 0.7187 GB, free: 5.516 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.0002141/0.2358, allocations: 247.1 kB / 0.7189 GB, free: 5.281 MB / 0.5608 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2358, allocations: 0 / 0.7189 GB, free: 5.281 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.001422/0.2372, allocations: 0.8672 MB / 0.7198 GB, free: 4.414 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.0102/0.2474, allocations: 7.98 MB / 0.7276 GB, free: 12.28 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.006987/0.2545, allocations: 4.572 MB / 0.7321 GB, free: 7.648 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.2545, allocations: 0 / 0.7321 GB, free: 7.648 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.003703/0.2582, allocations: 2.523 MB / 0.7345 GB, free: 5.117 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.2597, allocations: 385.3 kB / 0.7349 GB, free: 4.734 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03585/0.2955, allocations: 28.25 MB / 0.7625 GB, free: 8.199 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000983/0.2966, allocations: 1.634 MB / 0.7641 GB, free: 6.531 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.003198/0.2998, allocations: 1.494 MB / 0.7655 GB, free: 5.031 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.3014, allocations: 0.9561 MB / 0.7665 GB, free: 4.074 MB / 0.6077 GB Notification: Performance of SimCode: time 1.112e-06/0.3014, allocations: 0 / 0.7665 GB, free: 4.074 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5535/0.8549, allocations: 59.2 MB / 0.8243 GB, free: 77.84 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.32, allocations: 8.5 kB / 0.8243 GB, free: 77.82 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)