Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.088/1.088, allocations: 120.6 MB / 434.5 MB, free: 0.8828 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 68.08 kB / 0.6083 GB, free: 9.344 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1668, allocations: 85.86 MB / 0.6922 GB, free: 3.27 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002551/0.1693, allocations: 1.407 MB / 0.6936 GB, free: 1.855 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1704, allocations: 0.5691 MB / 0.6941 GB, free: 1.285 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.1704, allocations: 0 / 0.6941 GB, free: 1.285 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.28e-05/0.1705, allocations: 7.922 kB / 0.6941 GB, free: 1.277 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.1709, allocations: 75.66 kB / 0.6942 GB, free: 1.203 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.171, allocations: 39.89 kB / 0.6942 GB, free: 1.164 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0005489/0.1715, allocations: 0.5421 MB / 0.6948 GB, free: 0.6211 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.403e-05/0.1716, allocations: 8.188 kB / 0.6948 GB, free: 0.6133 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.1719, allocations: 211.6 kB / 0.695 GB, free: 416 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.1723, allocations: 279.5 kB / 0.6952 GB, free: 136 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.1724, allocations: 28 kB / 0.6953 GB, free: 108 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1726, allocations: 59.97 kB / 0.6953 GB, free: 48 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.1729, allocations: 235.4 kB / 0.6955 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.1731, allocations: 238.9 kB / 0.6958 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.1736, allocations: 446.1 kB / 0.6962 GB, free: 15.14 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1736, allocations: 0 / 0.6962 GB, free: 15.14 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1736, allocations: 4 kB / 0.6962 GB, free: 15.14 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.1736, allocations: 0 / 0.6962 GB, free: 15.14 MB / 0.5295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001779/0.1754, allocations: 0.7551 MB / 0.6969 GB, free: 14.36 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1754, allocations: 8.031 kB / 0.697 GB, free: 14.35 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.1755, allocations: 86.7 kB / 0.697 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.1756, allocations: 52.64 kB / 0.6971 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.1761, allocations: 265.2 kB / 0.6973 GB, free: 13.92 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.1761, allocations: 29 kB / 0.6974 GB, free: 13.89 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.1762, allocations: 67.83 kB / 0.6974 GB, free: 13.82 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009456/0.1772, allocations: 0.5802 MB / 0.698 GB, free: 13.24 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.1772, allocations: 3.984 kB / 0.698 GB, free: 13.23 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.1772, allocations: 19.98 kB / 0.698 GB, free: 13.21 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1773, allocations: 8 kB / 0.698 GB, free: 13.21 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009197/0.1782, allocations: 0.5855 MB / 0.6986 GB, free: 12.62 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008473/0.179, allocations: 0.5972 MB / 0.6992 GB, free: 11.98 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003294/0.1823, allocations: 1.322 MB / 0.7005 GB, free: 10.65 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006744/0.183, allocations: 431.5 kB / 0.7009 GB, free: 10.23 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.1832, allocations: 32.95 kB / 0.7009 GB, free: 10.19 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.1832, allocations: 43.56 kB / 0.701 GB, free: 10.14 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=103): time 2.575e-06/0.1832, allocations: 3.938 kB / 0.701 GB, free: 10.14 MB / 0.5295 GB Notification: Performance of matching and sorting (n=103): time 0.002277/0.1855, allocations: 1.346 MB / 0.7023 GB, free: 8.789 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.1856, allocations: 64.41 kB / 0.7023 GB, free: 8.715 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1858, allocations: 183.3 kB / 0.7025 GB, free: 8.527 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.1858, allocations: 41.7 kB / 0.7026 GB, free: 8.48 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.1859, allocations: 106.1 kB / 0.7027 GB, free: 8.371 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/0.1863, allocations: 428.4 kB / 0.7031 GB, free: 7.949 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.1866, allocations: 195 kB / 0.7032 GB, free: 7.75 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.1868, allocations: 370.7 kB / 0.7036 GB, free: 7.379 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007383/0.1875, allocations: 474.2 kB / 0.7041 GB, free: 6.918 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007522/0.1883, allocations: 491.5 kB / 0.7045 GB, free: 6.434 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.1899, allocations: 1.044 MB / 0.7055 GB, free: 5.387 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1899, allocations: 0 / 0.7055 GB, free: 5.387 MB / 0.5295 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001986/0.1919, allocations: 1.242 MB / 0.7068 GB, free: 4.137 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1919, allocations: 4 kB / 0.7068 GB, free: 4.133 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1919, allocations: 0 / 0.7068 GB, free: 4.133 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.192, allocations: 4 kB / 0.7068 GB, free: 4.129 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.193, allocations: 271.6 kB / 0.707 GB, free: 3.863 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.193, allocations: 4 kB / 0.707 GB, free: 3.859 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.1934, allocations: 87.34 kB / 0.7071 GB, free: 3.773 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.1935, allocations: 39.98 kB / 0.7071 GB, free: 3.734 MB / 0.5295 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 (144): * Single equations (assignments): 144 * 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.0002748/0.1937, allocations: 213.5 kB / 0.7073 GB, free: 3.516 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.1938, allocations: 47.72 kB / 0.7074 GB, free: 3.469 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.1962, allocations: 1.385 MB / 0.7087 GB, free: 2.082 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.1962, allocations: 16 kB / 0.7088 GB, free: 2.066 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1962, allocations: 0 / 0.7088 GB, free: 2.066 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.1962, allocations: 7.969 kB / 0.7088 GB, free: 2.059 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009786/0.1972, allocations: 0.7261 MB / 0.7095 GB, free: 1.289 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1972, allocations: 3.938 kB / 0.7095 GB, free: 1.285 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.1986, allocations: 303.7 kB / 0.7098 GB, free: 0.9883 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.1986, allocations: 7.938 kB / 0.7098 GB, free: 0.9805 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.1987, allocations: 47.95 kB / 0.7098 GB, free: 0.9336 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.1987, allocations: 12 kB / 0.7098 GB, free: 0.9219 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1987, allocations: 4 kB / 0.7098 GB, free: 0.918 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.2016, allocations: 1.847 MB / 0.7116 GB, free: 15.05 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.202, allocations: 183.1 kB / 0.7118 GB, free: 14.87 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.2021, allocations: 39.98 kB / 0.7119 GB, free: 14.83 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.2024, allocations: 20 kB / 0.7119 GB, free: 14.81 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.2025, allocations: 93.12 kB / 0.712 GB, free: 14.71 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-05/0.2026, allocations: 47.98 kB / 0.712 GB, free: 14.67 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.000109/0.2027, allocations: 124.3 kB / 0.7121 GB, free: 14.55 MB / 0.5452 GB Notification: Performance of sort global known variables: time 2e-07/0.2027, allocations: 0 / 0.7121 GB, free: 14.55 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0005421/0.2033, allocations: 243.9 kB / 0.7124 GB, free: 14.31 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (144): * Single equations (assignments): 144 * 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.003267/0.2065, allocations: 2.452 MB / 0.7148 GB, free: 11.83 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.2084, allocations: 1.085 MB / 0.7158 GB, free: 10.74 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2084, allocations: 0 / 0.7158 GB, free: 10.74 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.000884/0.2093, allocations: 0.6046 MB / 0.7164 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.2098, allocations: 105.6 kB / 0.7165 GB, free: 10.04 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.2206, allocations: 7.801 MB / 0.7241 GB, free: 2.145 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.2212, allocations: 0.9164 MB / 0.725 GB, free: 1.199 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0008279/0.222, allocations: 372.8 kB / 0.7254 GB, free: 0.832 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/0.2225, allocations: 239.3 kB / 0.7256 GB, free: 0.5977 MB / 0.5452 GB Notification: Performance of SimCode: time 1.313e-06/0.2225, allocations: 0 / 0.7256 GB, free: 0.5977 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05584/0.2783, allocations: 17.67 MB / 0.7429 GB, free: 15.11 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.46, allocations: 7.047 kB / 0.7429 GB, free: 15.11 MB / 0.5764 GB " [Timeout remaining time 287] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_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_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 24.817706819994783] Failed to read output from testmodel.py, exit status != 0: 12.573361278999073 12.594498556 12.416994544 Calling exit ...