Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.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_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_80",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.001178/0.001178, allocations: 101.7 kB / 16.5 MB, free: 6.641 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.001221/0.001221, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.245/1.245, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7932/0.7932, allocations: 119.3 MB / 410.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.91 kB / 0.4917 GB, free: 12.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4047, allocations: 80.69 MB / 0.5705 GB, free: 43.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80): time 0.001843/0.4066, allocations: 1.432 MB / 0.5719 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006361/0.4072, allocations: 0.5238 MB / 0.5724 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.4073, allocations: 1.188 kB / 0.5724 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.1e-05/0.4073, allocations: 3.938 kB / 0.5724 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.4076, allocations: 50.64 kB / 0.5724 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.414e-05/0.4077, allocations: 41.23 kB / 0.5725 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.4088, allocations: 1.959 MB / 0.5744 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.4088, allocations: 15.47 kB / 0.5744 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.4093, allocations: 0.6733 MB / 0.5751 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009489/0.4103, allocations: 1.067 MB / 0.5761 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.4106, allocations: 115.5 kB / 0.5762 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.4109, allocations: 138.7 kB / 0.5764 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0006717/0.4116, allocations: 0.9 MB / 0.5772 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000757/0.4124, allocations: 0.8673 MB / 0.5781 GB, free: 39.33 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0009909/0.4134, allocations: 1.566 MB / 0.5796 GB, free: 38.4 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4134, allocations: 4 kB / 0.5796 GB, free: 38.4 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4134, allocations: 0 / 0.5796 GB, free: 38.4 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.4134, allocations: 0 / 0.5796 GB, free: 38.4 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.004844/0.4183, allocations: 2.235 MB / 0.5818 GB, free: 37.04 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.4183, allocations: 9.969 kB / 0.5818 GB, free: 37.04 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002465/0.4186, allocations: 247.1 kB / 0.582 GB, free: 36.85 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.4189, allocations: 163.8 kB / 0.5822 GB, free: 36.77 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000969/0.4199, allocations: 0.7502 MB / 0.5829 GB, free: 36.23 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/0.42, allocations: 118 kB / 0.583 GB, free: 36.18 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.4203, allocations: 229.8 kB / 0.5833 GB, free: 36.08 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/0.4233, allocations: 2.234 MB / 0.5854 GB, free: 34.29 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.4233, allocations: 0 / 0.5854 GB, free: 34.29 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.4235, allocations: 60 kB / 0.5855 GB, free: 34.23 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.4235, allocations: 36 kB / 0.5855 GB, free: 34.19 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/0.4265, allocations: 2.913 MB / 0.5884 GB, free: 31.27 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.4287, allocations: 2.082 MB / 0.5904 GB, free: 29.14 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.4395, allocations: 5.718 MB / 0.596 GB, free: 23.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/0.4415, allocations: 1.767 MB / 0.5977 GB, free: 21.61 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.4418, allocations: 160.2 kB / 0.5979 GB, free: 21.43 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.4419, allocations: 73.72 kB / 0.5979 GB, free: 21.35 MB / 462.3 MB Notification: Performance of pre-optimization done (n=403): time 4.719e-06/0.4419, allocations: 0 / 0.5979 GB, free: 21.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=403): time 0.006705/0.4486, allocations: 5.232 MB / 0.6031 GB, free: 16.09 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.4486, allocations: 94.52 kB / 0.6031 GB, free: 15.99 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.4489, allocations: 349.7 kB / 0.6035 GB, free: 15.64 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.449, allocations: 93.7 kB / 0.6036 GB, free: 15.54 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.4491, allocations: 174.4 kB / 0.6037 GB, free: 15.37 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006745/0.4498, allocations: 1.548 MB / 0.6052 GB, free: 13.8 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007643/0.4506, allocations: 0.7261 MB / 0.606 GB, free: 13.06 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.4506, allocations: 337.9 kB / 0.6063 GB, free: 12.72 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.4528, allocations: 1.831 MB / 0.6081 GB, free: 10.88 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.4551, allocations: 1.901 MB / 0.6099 GB, free: 8.965 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004761/0.4599, allocations: 4.121 MB / 0.6139 GB, free: 4.777 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.4599, allocations: 0 / 0.6139 GB, free: 4.777 MB / 462.3 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.005793/0.4657, allocations: 4.827 MB / 0.6187 GB, free: 15.86 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.4658, allocations: 11.98 kB / 0.6187 GB, free: 15.85 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.4658, allocations: 0 / 0.6187 GB, free: 15.85 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.4658, allocations: 16 kB / 0.6187 GB, free: 15.84 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/0.4697, allocations: 1.026 MB / 0.6197 GB, free: 14.81 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.934e-05/0.4698, allocations: 20 kB / 0.6197 GB, free: 14.79 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.4712, allocations: 292.6 kB / 0.62 GB, free: 14.5 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/0.4714, allocations: 151.9 kB / 0.6201 GB, free: 14.35 MB / 478.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 (564): * Single equations (assignments): 564 * 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.0008401/0.4723, allocations: 0.5006 MB / 0.6206 GB, free: 13.84 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/0.4727, allocations: 162.1 kB / 0.6208 GB, free: 13.68 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008481/0.4811, allocations: 5.379 MB / 0.626 GB, free: 8.195 MB / 478.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/0.4812, allocations: 55.98 kB / 0.6261 GB, free: 8.141 MB / 478.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.4812, allocations: 0 / 0.6261 GB, free: 8.141 MB / 478.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-05/0.4813, allocations: 27.91 kB / 0.6261 GB, free: 8.113 MB / 478.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/0.4847, allocations: 2.567 MB / 0.6286 GB, free: 5.488 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.4847, allocations: 0 / 0.6286 GB, free: 5.488 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005496/0.4902, allocations: 1.167 MB / 0.6298 GB, free: 4.32 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.684e-05/0.4902, allocations: 24 kB / 0.6298 GB, free: 4.297 MB / 478.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003758/0.4906, allocations: 183.9 kB / 0.63 GB, free: 4.117 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.391e-05/0.4907, allocations: 24 kB / 0.63 GB, free: 4.094 MB / 478.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4907, allocations: 0 / 0.63 GB, free: 4.094 MB / 478.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.5008, allocations: 7.168 MB / 0.637 GB, free: 12.78 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.5021, allocations: 0.7311 MB / 0.6377 GB, free: 12.02 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004153/0.5025, allocations: 151.9 kB / 0.6378 GB, free: 11.88 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.5038, allocations: 88 kB / 0.6379 GB, free: 11.79 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005343/0.5044, allocations: 327.9 kB / 0.6382 GB, free: 11.46 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002696/0.5046, allocations: 167.9 kB / 0.6384 GB, free: 11.3 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.0002383/0.5049, allocations: 243.1 kB / 0.6386 GB, free: 11.06 MB / 494.3 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5049, allocations: 4 kB / 0.6386 GB, free: 11.06 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.001538/0.5064, allocations: 0.8633 MB / 0.6395 GB, free: 10.2 MB / 494.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 161 (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],Tu[41],Tu[42],Tu[43],Tu[44],Tu[45],Tu[46],Tu[47],Tu[48],Tu[49],Tu[50],Tu[51],Tu[52],Tu[53],Tu[54],Tu[55],Tu[56],Tu[57],Tu[58],Tu[59],Tu[60],Tu[61],Tu[62],Tu[63],Tu[64],Tu[65],Tu[66],Tu[67],Tu[68],Tu[69],Tu[70],Tu[71],Tu[72],Tu[73],Tu[74],Tu[75],Tu[76],Tu[77],Tu[78],Tu[79],Tu[80],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],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80]) * 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 (564): * Single equations (assignments): 564 * 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.01066/0.5171, allocations: 7.963 MB / 0.6472 GB, free: 2.082 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.006692/0.5238, allocations: 4.536 MB / 0.6517 GB, free: 13.48 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5238, allocations: 0 / 0.6517 GB, free: 13.48 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.003432/0.5273, allocations: 2.523 MB / 0.6541 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.5288, allocations: 385.4 kB / 0.6545 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04028/0.5691, allocations: 29.99 MB / 0.6838 GB, free: 11.77 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.5702, allocations: 1.638 MB / 0.6854 GB, free: 10.1 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.003457/0.5736, allocations: 1.498 MB / 0.6869 GB, free: 8.594 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001696/0.5753, allocations: 0.9522 MB / 0.6878 GB, free: 7.641 MB / 0.5295 GB Notification: Performance of SimCode: time 8.21e-07/0.5753, allocations: 4 kB / 0.6878 GB, free: 7.637 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7386/1.314, allocations: 57.83 MB / 0.7443 GB, free: 14.08 MB / 0.592 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/1.314, allocations: 242.3 kB / 0.7445 GB, free: 13.82 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.529/4.844, allocations: 2.109 kB / 0.7445 GB, free: 13.82 MB / 0.592 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_80_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_80.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe 2>&1)