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.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.0008733/0.0008733, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007866/0.0007866, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8516/0.8516, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 0.588/0.588, allocations: 88.06 MB / 348.7 MB, free: 14.34 MB / 330.7 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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5246 GB, free: 2.387 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.664e-05, allocations: 6.281 kB / 0.5246 GB, free: 2.379 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001661/0.001678, allocations: 1.369 MB / 0.5259 GB, free: 1 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006174/0.002295, allocations: 0.5262 MB / 0.5265 GB, free: 484 kB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.002333, allocations: 0 / 0.5265 GB, free: 484 kB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.353e-05/0.002407, allocations: 7.922 kB / 0.5265 GB, free: 476 kB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.00269, allocations: 63.61 kB / 0.5265 GB, free: 412 kB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.786e-05/0.002768, allocations: 47.75 kB / 0.5266 GB, free: 364 kB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005489/0.003317, allocations: 1.037 MB / 0.5276 GB, free: 15.32 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.003356, allocations: 8.188 kB / 0.5276 GB, free: 15.31 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.003797, allocations: 475.4 kB / 0.528 GB, free: 14.84 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005572/0.004354, allocations: 0.499 MB / 0.5285 GB, free: 14.34 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 8.06e-05/0.004434, allocations: 56 kB / 0.5286 GB, free: 14.29 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.004749, allocations: 87.97 kB / 0.5287 GB, free: 14.2 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.005034, allocations: 479 kB / 0.5291 GB, free: 13.73 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.005276, allocations: 359.2 kB / 0.5295 GB, free: 13.38 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.005851, allocations: 0.9111 MB / 0.5304 GB, free: 12.47 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005853, allocations: 0 / 0.5304 GB, free: 12.47 MB / 458.8 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005854, allocations: 0 / 0.5304 GB, free: 12.47 MB / 458.8 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.005864, allocations: 0 / 0.5304 GB, free: 12.47 MB / 458.8 MB 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.0015/0.007364, allocations: 1.235 MB / 0.5316 GB, free: 11.2 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.007398, allocations: 8.031 kB / 0.5316 GB, free: 11.19 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/0.007514, allocations: 131.2 kB / 0.5317 GB, free: 11.05 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.007661, allocations: 88.42 kB / 0.5318 GB, free: 10.97 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.008121, allocations: 415.9 kB / 0.5322 GB, free: 10.53 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.008153, allocations: 58.38 kB / 0.5322 GB, free: 10.47 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.008276, allocations: 127.7 kB / 0.5324 GB, free: 10.35 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.00936, allocations: 1.143 MB / 0.5335 GB, free: 9.195 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.009373, allocations: 0 / 0.5335 GB, free: 9.195 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.157e-05/0.009435, allocations: 28 kB / 0.5335 GB, free: 9.168 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.009447, allocations: 20 kB / 0.5335 GB, free: 9.148 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.01062, allocations: 1.257 MB / 0.5347 GB, free: 7.895 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009336/0.01155, allocations: 0.9753 MB / 0.5357 GB, free: 6.879 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/0.01495, allocations: 2.688 MB / 0.5383 GB, free: 4.191 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008293/0.01578, allocations: 0.8459 MB / 0.5392 GB, free: 3.348 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.01592, allocations: 33.98 kB / 0.5392 GB, free: 3.316 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.01595, allocations: 52.56 kB / 0.5392 GB, free: 3.254 MB / 458.8 MB Notification: Performance of pre-optimization done (n=203): time 3.246e-06/0.01595, allocations: 0 / 0.5392 GB, free: 3.254 MB / 458.8 MB Notification: Performance of matching and sorting (n=203): time 0.002781/0.01873, allocations: 2.653 MB / 0.5418 GB, free: 0.5977 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.01877, allocations: 73.41 kB / 0.5419 GB, free: 0.5156 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.01892, allocations: 233.9 kB / 0.5421 GB, free: 284 kB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.01898, allocations: 61.7 kB / 0.5422 GB, free: 216 kB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.01904, allocations: 135.3 kB / 0.5423 GB, free: 76 kB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004046/0.01944, allocations: 0.8019 MB / 0.5431 GB, free: 15.26 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.01975, allocations: 380.3 kB / 0.5434 GB, free: 14.88 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.01984, allocations: 326 kB / 0.5438 GB, free: 14.56 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009323/0.02077, allocations: 0.9177 MB / 0.5447 GB, free: 13.64 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009394/0.02171, allocations: 0.9486 MB / 0.5456 GB, free: 12.68 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.02378, allocations: 2.066 MB / 0.5476 GB, free: 10.58 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.02378, allocations: 0 / 0.5476 GB, free: 10.58 MB / 474.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002384/0.02617, allocations: 2.439 MB / 0.55 GB, free: 8.102 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.02618, allocations: 8 kB / 0.55 GB, free: 8.094 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.02619, allocations: 0 / 0.55 GB, free: 8.094 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.02621, allocations: 12 kB / 0.55 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/0.0272, allocations: 0.5189 MB / 0.5505 GB, free: 7.562 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.02722, allocations: 8 kB / 0.5505 GB, free: 7.555 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.02754, allocations: 154.8 kB / 0.5507 GB, free: 7.402 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.02762, allocations: 79.91 kB / 0.5507 GB, free: 7.324 MB / 474.8 MB 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.0002731/0.0279, allocations: 313.2 kB / 0.551 GB, free: 7.008 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.02799, allocations: 87.48 kB / 0.5511 GB, free: 6.922 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.03085, allocations: 2.71 MB / 0.5538 GB, free: 4.16 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.03087, allocations: 28 kB / 0.5538 GB, free: 4.133 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.03088, allocations: 7.875 kB / 0.5538 GB, free: 4.125 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.03089, allocations: 19.94 kB / 0.5538 GB, free: 4.105 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.03205, allocations: 1.217 MB / 0.555 GB, free: 2.844 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.03205, allocations: 0 / 0.555 GB, free: 2.844 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.03351, allocations: 0.5814 MB / 0.5556 GB, free: 2.262 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.03352, allocations: 12 kB / 0.5556 GB, free: 2.25 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.03363, allocations: 91.92 kB / 0.5557 GB, free: 2.16 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.03364, allocations: 12 kB / 0.5557 GB, free: 2.148 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.03364, allocations: 3.938 kB / 0.5557 GB, free: 2.145 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/0.03716, allocations: 3.62 MB / 0.5592 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.03755, allocations: 346.3 kB / 0.5596 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.03766, allocations: 75.95 kB / 0.5596 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.03795, allocations: 48 kB / 0.5597 GB, free: 13.99 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.0381, allocations: 169.9 kB / 0.5598 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.03818, allocations: 79.97 kB / 0.5599 GB, free: 13.74 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.504e-05/0.03828, allocations: 173.2 kB / 0.5601 GB, free: 13.57 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.03828, allocations: 0 / 0.5601 GB, free: 13.57 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0005488/0.03883, allocations: 452 kB / 0.5605 GB, free: 13.13 MB / 490.8 MB 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.003807/0.04263, allocations: 4.292 MB / 0.5647 GB, free: 8.754 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.002115/0.04475, allocations: 2.153 MB / 0.5668 GB, free: 6.57 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.04475, allocations: 0 / 0.5668 GB, free: 6.57 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.04583, allocations: 1.191 MB / 0.568 GB, free: 5.375 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.04632, allocations: 208.4 kB / 0.5682 GB, free: 5.176 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.05783, allocations: 13.39 MB / 0.5812 GB, free: 7.613 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.05815, allocations: 0.5504 MB / 0.5818 GB, free: 7.031 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0008384/0.05899, allocations: 0.7317 MB / 0.5825 GB, free: 6.297 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005619/0.05955, allocations: 480.3 kB / 0.583 GB, free: 5.828 MB / 0.4949 GB Notification: Performance of SimCode: time 5.81e-07/0.05955, allocations: 0 / 0.583 GB, free: 5.828 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04076/0.1003, allocations: 32.97 MB / 0.6152 GB, free: 5.105 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.366, allocations: 3.938 kB / 0.6152 GB, free: 5.102 MB / 0.5262 GB " [Timeout remaining time 293] (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) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 13.143677083775401] Failed to read output from testmodel.py, exit status != 0: 7.458954176865518 7.467700967 7.459984811 Calling exit ...