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.001064/0.001064, allocations: 107.8 kB / 17.06 MB, free: 5.992 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.001/0.001, allocations: 195.9 kB / 18 MB, free: 5.07 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.269/1.269, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8202/0.8202, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 62.97 kB / 0.5719 GB, free: 39.11 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1285, 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.002258/0.1308, allocations: 1.389 MB / 0.652 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.1316, allocations: 0.5262 MB / 0.6526 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.1317, allocations: 0 / 0.6526 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.635e-05/0.1318, allocations: 7.922 kB / 0.6526 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.132, allocations: 51.75 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.1321, allocations: 39.88 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007449/0.1329, allocations: 1.018 MB / 0.6536 GB, free: 9.047 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.133, allocations: 16.19 kB / 0.6537 GB, free: 9.031 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.1333, allocations: 367.5 kB / 0.654 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.1339, allocations: 0.5186 MB / 0.6545 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.134, allocations: 60 kB / 0.6546 GB, free: 8.094 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1342, allocations: 75.98 kB / 0.6546 GB, free: 8.02 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003818/0.1346, allocations: 466.9 kB / 0.6551 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.1351, allocations: 453.9 kB / 0.6555 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006653/0.1357, allocations: 0.8208 MB / 0.6563 GB, free: 6.293 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1357, allocations: 4 kB / 0.6563 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1358, allocations: 0 / 0.6563 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.1358, allocations: 0 / 0.6563 GB, free: 6.289 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.00285/0.1386, allocations: 1.303 MB / 0.6576 GB, free: 4.934 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.1387, allocations: 19.83 kB / 0.6576 GB, free: 4.914 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.1389, allocations: 135.2 kB / 0.6577 GB, free: 4.773 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.1391, allocations: 88.42 kB / 0.6578 GB, free: 4.688 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007402/0.1398, allocations: 477.6 kB / 0.6583 GB, free: 4.18 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.1399, allocations: 58 kB / 0.6583 GB, free: 4.125 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.14, allocations: 115.8 kB / 0.6585 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.1417, allocations: 1.135 MB / 0.6596 GB, free: 2.871 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1418, allocations: 0 / 0.6596 GB, free: 2.871 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/0.1419, allocations: 35.98 kB / 0.6596 GB, free: 2.836 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.1419, allocations: 20 kB / 0.6596 GB, free: 2.816 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.1436, allocations: 1.261 MB / 0.6608 GB, free: 1.551 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.1449, allocations: 1.093 MB / 0.6619 GB, free: 416 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006122/0.151, allocations: 2.785 MB / 0.6646 GB, free: 13.62 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.1522, allocations: 0.8889 MB / 0.6655 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.1525, allocations: 119.1 kB / 0.6656 GB, free: 12.6 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1525, allocations: 48.56 kB / 0.6657 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 3.657e-06/0.1526, allocations: 0 / 0.6657 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.003914/0.1565, allocations: 2.66 MB / 0.6683 GB, free: 9.883 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.1565, allocations: 73.41 kB / 0.6683 GB, free: 9.797 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1567, allocations: 229 kB / 0.6685 GB, free: 9.562 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.1568, allocations: 61.7 kB / 0.6686 GB, free: 9.496 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.1569, allocations: 127.3 kB / 0.6687 GB, free: 9.367 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/0.1575, allocations: 0.8134 MB / 0.6695 GB, free: 8.547 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004693/0.1579, allocations: 392.2 kB / 0.6699 GB, free: 8.156 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1581, allocations: 329.8 kB / 0.6702 GB, free: 7.828 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.1594, allocations: 0.9177 MB / 0.6711 GB, free: 6.906 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.1608, allocations: 0.9525 MB / 0.672 GB, free: 5.945 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.1636, allocations: 2.066 MB / 0.6741 GB, free: 3.848 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1636, allocations: 0 / 0.6741 GB, free: 3.848 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003427/0.167, allocations: 2.431 MB / 0.6764 GB, free: 1.371 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1671, allocations: 4 kB / 0.6764 GB, free: 1.367 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1671, allocations: 4 kB / 0.6764 GB, free: 1.363 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.1671, allocations: 8 kB / 0.6764 GB, free: 1.355 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.1691, allocations: 0.5189 MB / 0.6769 GB, free: 0.8359 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.497e-05/0.1691, allocations: 8 kB / 0.677 GB, free: 0.8281 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.1699, allocations: 154.8 kB / 0.6771 GB, free: 0.6758 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.17, allocations: 79.97 kB / 0.6772 GB, free: 0.5977 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.0004184/0.1704, allocations: 310.6 kB / 0.6775 GB, free: 292 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.1706, allocations: 91.44 kB / 0.6776 GB, free: 200 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.1747, allocations: 2.71 MB / 0.6802 GB, free: 13.43 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.1748, allocations: 28 kB / 0.6802 GB, free: 13.4 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.1748, allocations: 0 / 0.6802 GB, free: 13.4 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/0.1748, allocations: 15.94 kB / 0.6803 GB, free: 13.38 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.1763, allocations: 1.342 MB / 0.6816 GB, free: 11.99 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.1763, allocations: 0 / 0.6816 GB, free: 11.99 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/0.1791, allocations: 0.5891 MB / 0.6821 GB, free: 11.4 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-05/0.1791, allocations: 16 kB / 0.6822 GB, free: 11.39 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.1793, allocations: 83.94 kB / 0.6822 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.548e-05/0.1793, allocations: 15.98 kB / 0.6822 GB, free: 11.29 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1793, allocations: 0 / 0.6822 GB, free: 11.29 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004768/0.1841, allocations: 3.624 MB / 0.6858 GB, free: 7.586 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007059/0.1848, allocations: 423.4 kB / 0.6862 GB, free: 7.152 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.185, allocations: 83.89 kB / 0.6863 GB, free: 7.07 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.1857, allocations: 44 kB / 0.6863 GB, free: 7.027 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.1859, allocations: 165.9 kB / 0.6865 GB, free: 6.867 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.1861, allocations: 87.97 kB / 0.6866 GB, free: 6.781 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001285/0.1862, allocations: 168.5 kB / 0.6867 GB, free: 6.621 MB / 0.5295 GB Notification: Performance of sort global known variables: time 5.421e-06/0.1862, allocations: 0 / 0.6867 GB, free: 6.621 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0007767/0.187, allocations: 455.9 kB / 0.6872 GB, free: 6.176 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.005185/0.1922, allocations: 4.28 MB / 0.6913 GB, free: 1.809 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003326/0.1955, allocations: 2.286 MB / 0.6936 GB, free: 15.49 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1956, allocations: 0 / 0.6936 GB, free: 15.49 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.1972, allocations: 1.262 MB / 0.6948 GB, free: 14.22 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/0.198, allocations: 204 kB / 0.695 GB, free: 14.02 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/0.2155, allocations: 14.47 MB / 0.7091 GB, free: 15.38 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.2161, allocations: 1.151 MB / 0.7102 GB, free: 14.2 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.001543/0.2176, allocations: 0.7356 MB / 0.711 GB, free: 13.46 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007926/0.2184, allocations: 475.3 kB / 0.7114 GB, free: 13 MB / 0.5608 GB Notification: Performance of SimCode: time 6.72e-07/0.2184, allocations: 4 kB / 0.7114 GB, free: 12.99 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05536/0.2738, allocations: 31.32 MB / 0.742 GB, free: 13.9 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.848/10.12, allocations: 6.781 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)