Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",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.001292/0.001292, allocations: 114.1 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.001335/0.001336, allocations: 189.4 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.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9156/0.9156, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 69.41 kB / 0.5719 GB, free: 39.2 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.123, allocations: 80.69 MB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002357/0.1254, allocations: 1.382 MB / 0.652 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008717/0.1263, allocations: 0.5184 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.1263, allocations: 4 kB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.673e-05/0.1264, allocations: 7.922 kB / 0.6526 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.1267, allocations: 59.73 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.1268, allocations: 39.83 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009843/0.1278, allocations: 1.018 MB / 0.6536 GB, free: 9.047 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.1279, allocations: 16.19 kB / 0.6537 GB, free: 9.031 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004086/0.1283, allocations: 367.5 kB / 0.654 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007352/0.129, allocations: 0.5186 MB / 0.6545 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.1292, allocations: 59.94 kB / 0.6546 GB, free: 8.094 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.1294, allocations: 79.98 kB / 0.6546 GB, free: 8.016 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.1299, allocations: 462.9 kB / 0.6551 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.1304, allocations: 453.9 kB / 0.6555 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.1312, allocations: 0.8208 MB / 0.6563 GB, free: 6.293 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1312, allocations: 0 / 0.6563 GB, free: 6.293 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1313, allocations: 0 / 0.6563 GB, free: 6.293 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.1313, allocations: 0 / 0.6563 GB, free: 6.293 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003053/0.1343, allocations: 1.307 MB / 0.6576 GB, free: 4.934 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1344, allocations: 11.89 kB / 0.6576 GB, free: 4.922 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.1346, allocations: 131.2 kB / 0.6577 GB, free: 4.785 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.1347, allocations: 96.41 kB / 0.6578 GB, free: 4.691 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.1354, allocations: 477.6 kB / 0.6583 GB, free: 4.184 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.1355, allocations: 62 kB / 0.6583 GB, free: 4.125 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.1357, allocations: 115.8 kB / 0.6585 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.1375, allocations: 1.131 MB / 0.6596 GB, free: 2.875 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1375, allocations: 0 / 0.6596 GB, free: 2.875 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/0.1376, allocations: 32 kB / 0.6596 GB, free: 2.844 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.1377, allocations: 20 kB / 0.6596 GB, free: 2.824 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.1396, allocations: 1.265 MB / 0.6608 GB, free: 1.555 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.1411, allocations: 1.093 MB / 0.6619 GB, free: 420 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006741/0.1479, allocations: 2.777 MB / 0.6646 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.1493, allocations: 0.8811 MB / 0.6655 GB, free: 12.75 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.1496, allocations: 127 kB / 0.6656 GB, free: 12.61 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.1496, allocations: 56.56 kB / 0.6657 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 3.797e-06/0.1496, allocations: 0 / 0.6657 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.004446/0.1541, allocations: 2.656 MB / 0.6683 GB, free: 9.891 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.1542, allocations: 77.41 kB / 0.6683 GB, free: 9.801 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.1544, allocations: 229 kB / 0.6685 GB, free: 9.566 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.55e-05/0.1545, allocations: 53.7 kB / 0.6686 GB, free: 9.508 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.1546, allocations: 131.3 kB / 0.6687 GB, free: 9.375 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.00069/0.1553, allocations: 0.8212 MB / 0.6695 GB, free: 8.547 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000561/0.1559, allocations: 384.2 kB / 0.6699 GB, free: 8.164 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1561, allocations: 325.9 kB / 0.6702 GB, free: 7.84 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.1576, allocations: 0.9216 MB / 0.6711 GB, free: 6.914 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.1591, allocations: 0.9486 MB / 0.672 GB, free: 5.957 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003208/0.1623, allocations: 2.059 MB / 0.674 GB, free: 3.867 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.1623, allocations: 0 / 0.674 GB, free: 3.867 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003883/0.1662, allocations: 2.443 MB / 0.6764 GB, free: 1.379 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1662, allocations: 11.94 kB / 0.6764 GB, free: 1.367 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1663, allocations: 0 / 0.6764 GB, free: 1.367 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.1663, allocations: 8 kB / 0.6764 GB, free: 1.359 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/0.1684, allocations: 0.5228 MB / 0.677 GB, free: 0.8359 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-05/0.1684, allocations: 15.94 kB / 0.677 GB, free: 0.8203 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/0.1692, allocations: 142.8 kB / 0.6771 GB, free: 0.6797 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.1693, allocations: 79.97 kB / 0.6772 GB, free: 0.6016 MB / 0.5139 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 (284): * Single equations (assignments): 284 * 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.0004446/0.1698, allocations: 310.7 kB / 0.6775 GB, free: 296 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.17, allocations: 91.44 kB / 0.6776 GB, free: 204 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/0.1747, allocations: 2.717 MB / 0.6802 GB, free: 13.43 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/0.1747, allocations: 28 kB / 0.6802 GB, free: 13.4 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1748, allocations: 0 / 0.6802 GB, free: 13.4 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.1748, allocations: 19.94 kB / 0.6803 GB, free: 13.38 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.1766, allocations: 1.339 MB / 0.6816 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.1766, allocations: 0 / 0.6816 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/0.1795, allocations: 0.593 MB / 0.6821 GB, free: 11.4 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.061e-05/0.1795, allocations: 8 kB / 0.6822 GB, free: 11.39 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002209/0.1798, allocations: 91.94 kB / 0.6822 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.314e-05/0.1798, allocations: 8 kB / 0.6822 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1798, allocations: 0 / 0.6822 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005512/0.1853, allocations: 3.628 MB / 0.6858 GB, free: 7.59 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006371/0.186, allocations: 427.4 kB / 0.6862 GB, free: 7.152 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.1862, allocations: 75.95 kB / 0.6863 GB, free: 7.078 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/0.1869, allocations: 44 kB / 0.6863 GB, free: 7.035 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/0.1872, allocations: 169.9 kB / 0.6865 GB, free: 6.867 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.1873, allocations: 79.97 kB / 0.6866 GB, free: 6.789 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001575/0.1875, allocations: 168.5 kB / 0.6867 GB, free: 6.629 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.923e-06/0.1875, allocations: 0 / 0.6867 GB, free: 6.629 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0008569/0.1884, allocations: 459.9 kB / 0.6872 GB, free: 6.18 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],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]) * 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 (284): * Single equations (assignments): 284 * 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.006026/0.1944, allocations: 4.276 MB / 0.6913 GB, free: 1.816 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003721/0.1982, allocations: 2.286 MB / 0.6936 GB, free: 15.5 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1982, allocations: 4 kB / 0.6936 GB, free: 15.49 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.2001, allocations: 1.258 MB / 0.6948 GB, free: 14.23 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.2009, allocations: 204.3 kB / 0.695 GB, free: 14.03 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/0.2211, allocations: 14.47 MB / 0.7091 GB, free: 15.39 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/0.2219, allocations: 1.151 MB / 0.7102 GB, free: 14.21 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.001698/0.2236, allocations: 0.7434 MB / 0.711 GB, free: 13.46 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008983/0.2245, allocations: 479.2 kB / 0.7114 GB, free: 12.99 MB / 0.5608 GB Notification: Performance of SimCode: time 4.41e-07/0.2245, allocations: 0 / 0.7114 GB, free: 12.99 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06566/0.2902, allocations: 31.31 MB / 0.742 GB, free: 13.9 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.87, allocations: 14.05 kB / 0.742 GB, free: 13.89 MB / 0.592 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_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_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1)