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.001384/0.001384, allocations: 114.4 kB / 16.63 MB, free: 6.812 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.001479/0.001478, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.295/1.295, allocations: 222.9 MB / 241.2 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7778/0.7778, allocations: 119.3 MB / 410.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.91 kB / 0.4919 GB, free: 12.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4109, allocations: 80.69 MB / 0.5707 GB, free: 43.87 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001918/0.4128, allocations: 1.44 MB / 0.5721 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006128/0.4135, allocations: 0.5122 MB / 0.5726 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.4135, allocations: 1.375 kB / 0.5726 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.014e-05/0.4136, allocations: 11.92 kB / 0.5726 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.4138, allocations: 47.23 kB / 0.5726 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.463e-05/0.4139, allocations: 29.84 kB / 0.5727 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006003/0.4145, allocations: 1.024 MB / 0.5737 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.4146, allocations: 13.36 kB / 0.5737 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.4149, allocations: 359.7 kB / 0.574 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.4154, allocations: 0.5531 MB / 0.5746 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.4155, allocations: 59.22 kB / 0.5746 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.4157, allocations: 85.17 kB / 0.5747 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.416, allocations: 461.9 kB / 0.5751 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.4163, allocations: 458.2 kB / 0.5756 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.4169, allocations: 0.8108 MB / 0.5764 GB, free: 40.19 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4169, allocations: 0 / 0.5764 GB, free: 40.19 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4169, allocations: 4.938 kB / 0.5764 GB, free: 40.19 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.4169, allocations: 0 / 0.5764 GB, free: 40.19 MB / 462.3 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.002732/0.4197, allocations: 1.291 MB / 0.5776 GB, free: 39.32 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4197, allocations: 13.11 kB / 0.5776 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.4198, allocations: 135.5 kB / 0.5778 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.42, allocations: 87.25 kB / 0.5779 GB, free: 39.17 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.4205, allocations: 473.8 kB / 0.5783 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.4206, allocations: 58.25 kB / 0.5784 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.4208, allocations: 115.3 kB / 0.5785 GB, free: 38.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.4223, allocations: 1.136 MB / 0.5796 GB, free: 38.08 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4223, allocations: 1.281 kB / 0.5796 GB, free: 38.08 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/0.4224, allocations: 38.31 kB / 0.5796 GB, free: 38.05 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.4224, allocations: 18.94 kB / 0.5796 GB, free: 38.05 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.424, allocations: 1.262 MB / 0.5809 GB, free: 37.58 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.4252, allocations: 1.092 MB / 0.5819 GB, free: 36.85 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005674/0.4309, allocations: 2.783 MB / 0.5847 GB, free: 35.18 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009251/0.4318, allocations: 0.8889 MB / 0.5855 GB, free: 34.29 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.432, allocations: 119 kB / 0.5856 GB, free: 34.16 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.432, allocations: 52.56 kB / 0.5857 GB, free: 34.09 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 2.966e-06/0.4321, allocations: 0 / 0.5857 GB, free: 34.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.0031/0.4352, allocations: 2.648 MB / 0.5883 GB, free: 31.45 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.4352, allocations: 77.34 kB / 0.5883 GB, free: 31.36 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.4354, allocations: 233 kB / 0.5886 GB, free: 31.12 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/0.4354, allocations: 61.7 kB / 0.5886 GB, free: 31.05 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.4355, allocations: 135.3 kB / 0.5888 GB, free: 30.92 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.4358, allocations: 0.7778 MB / 0.5895 GB, free: 30.13 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.4362, allocations: 380.3 kB / 0.5899 GB, free: 29.75 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.4363, allocations: 325.9 kB / 0.5902 GB, free: 29.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.4373, allocations: 0.9138 MB / 0.5911 GB, free: 28.51 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.4384, allocations: 0.9486 MB / 0.592 GB, free: 27.55 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.4406, allocations: 2.074 MB / 0.594 GB, free: 25.45 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4406, allocations: 0 / 0.594 GB, free: 25.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002688/0.4433, allocations: 2.43 MB / 0.5964 GB, free: 22.97 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4433, allocations: 7.938 kB / 0.5964 GB, free: 22.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4433, allocations: 4 kB / 0.5964 GB, free: 22.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.4433, allocations: 12 kB / 0.5964 GB, free: 22.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.4451, allocations: 0.515 MB / 0.5969 GB, free: 22.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.4451, allocations: 8 kB / 0.5969 GB, free: 22.42 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.4458, allocations: 150.2 kB / 0.5971 GB, free: 22.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.4459, allocations: 75.97 kB / 0.5972 GB, free: 22.2 MB / 462.3 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.0003431/0.4463, allocations: 321.1 kB / 0.5975 GB, free: 21.88 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.4464, allocations: 83.06 kB / 0.5975 GB, free: 21.79 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/0.4498, allocations: 2.717 MB / 0.6002 GB, free: 19.02 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.4498, allocations: 28 kB / 0.6002 GB, free: 19 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4498, allocations: 0 / 0.6002 GB, free: 19 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.4498, allocations: 15.94 kB / 0.6002 GB, free: 18.98 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.4511, allocations: 1.334 MB / 0.6015 GB, free: 17.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.4511, allocations: 7.938 kB / 0.6016 GB, free: 17.58 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/0.4536, allocations: 0.5813 MB / 0.6021 GB, free: 17 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/0.4536, allocations: 12 kB / 0.6021 GB, free: 16.99 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.4538, allocations: 95.92 kB / 0.6022 GB, free: 16.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.4538, allocations: 12 kB / 0.6022 GB, free: 16.88 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4538, allocations: 0 / 0.6022 GB, free: 16.88 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003791/0.4576, allocations: 3.615 MB / 0.6058 GB, free: 13.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.4581, allocations: 414.8 kB / 0.6062 GB, free: 12.77 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.4583, allocations: 79.95 kB / 0.6062 GB, free: 12.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/0.459, allocations: 44 kB / 0.6063 GB, free: 12.64 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.4592, allocations: 166 kB / 0.6064 GB, free: 12.48 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.4593, allocations: 83.97 kB / 0.6065 GB, free: 12.4 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001052/0.4594, allocations: 172.4 kB / 0.6067 GB, free: 12.23 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4594, allocations: 0 / 0.6067 GB, free: 12.23 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007175/0.4602, allocations: 448 kB / 0.6071 GB, free: 11.8 MB / 462.3 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.004145/0.4643, allocations: 4.275 MB / 0.6113 GB, free: 7.434 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.007788/0.4721, allocations: 5.868 MB / 0.617 GB, free: 1.535 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4721, allocations: 0 / 0.617 GB, free: 1.535 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.4734, allocations: 1.262 MB / 0.6182 GB, free: 276 kB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.4742, allocations: 200.3 kB / 0.6184 GB, free: 76 kB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.4912, allocations: 15.06 MB / 0.6331 GB, free: 0.7539 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.4918, allocations: 1.151 MB / 0.6343 GB, free: 15.57 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.001534/0.4933, allocations: 0.7395 MB / 0.635 GB, free: 14.83 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007495/0.4941, allocations: 471.3 kB / 0.6354 GB, free: 14.37 MB / 494.3 MB Notification: Performance of SimCode: time 6.21e-07/0.4941, allocations: 0 / 0.6354 GB, free: 14.37 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3763/0.8703, allocations: 30.79 MB / 0.6655 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.8706, allocations: 242 kB / 0.6657 GB, free: 15.58 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.488, allocations: 0 / 0.6657 GB, free: 15.58 MB / 0.5139 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1)