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.001218/0.001218, allocations: 99.89 kB / 16.5 MB, free: 6.645 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.001241/0.001241, 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.26/1.26, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7934/0.7934, allocations: 119.3 MB / 410.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.89 kB / 0.4917 GB, free: 12.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3922, allocations: 80.69 MB / 0.5705 GB, free: 43.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001873/0.3941, allocations: 1.44 MB / 0.5719 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006576/0.3948, allocations: 0.5161 MB / 0.5724 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.3948, allocations: 0 / 0.5724 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.147e-05/0.3949, allocations: 9.281 kB / 0.5724 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.3951, allocations: 46.59 kB / 0.5724 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.275e-05/0.3952, allocations: 37.19 kB / 0.5725 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006197/0.3958, allocations: 1.033 MB / 0.5735 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.3959, allocations: 10.12 kB / 0.5735 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.3962, allocations: 372.2 kB / 0.5739 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005192/0.3967, allocations: 0.555 MB / 0.5744 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.3968, allocations: 58.09 kB / 0.5745 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.3971, allocations: 78.02 kB / 0.5745 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.3974, allocations: 460.3 kB / 0.575 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.3978, allocations: 464.2 kB / 0.5754 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.3983, allocations: 0.8022 MB / 0.5762 GB, free: 40.25 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3983, allocations: 1.375 kB / 0.5762 GB, free: 40.25 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.32e-07/0.3983, allocations: 0 / 0.5762 GB, free: 40.25 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.3984, allocations: 0 / 0.5762 GB, free: 40.25 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.002663/0.401, allocations: 1.29 MB / 0.5775 GB, free: 39.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4011, allocations: 10.16 kB / 0.5775 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.4012, allocations: 130.5 kB / 0.5776 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.4014, allocations: 88.19 kB / 0.5777 GB, free: 39.23 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.4019, allocations: 477.1 kB / 0.5781 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.402, allocations: 58.25 kB / 0.5782 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.4022, allocations: 115.3 kB / 0.5783 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.4038, allocations: 1.14 MB / 0.5794 GB, free: 38.13 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.4038, allocations: 0 / 0.5794 GB, free: 38.13 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-05/0.4039, allocations: 35.56 kB / 0.5794 GB, free: 38.1 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.4039, allocations: 22.92 kB / 0.5795 GB, free: 38.1 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.4056, allocations: 1.261 MB / 0.5807 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.4069, allocations: 1.092 MB / 0.5818 GB, free: 36.9 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005764/0.4126, allocations: 2.793 MB / 0.5845 GB, free: 35.22 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.4137, allocations: 0.8811 MB / 0.5853 GB, free: 34.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.4139, allocations: 123 kB / 0.5855 GB, free: 34.2 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.4139, allocations: 52.56 kB / 0.5855 GB, free: 34.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 2.926e-06/0.4139, allocations: 0 / 0.5855 GB, free: 34.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003348/0.4173, allocations: 2.656 MB / 0.5881 GB, free: 31.48 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.4173, allocations: 73.34 kB / 0.5882 GB, free: 31.4 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.4175, allocations: 233 kB / 0.5884 GB, free: 31.16 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-05/0.4176, allocations: 57.7 kB / 0.5885 GB, free: 31.1 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.4176, allocations: 131.3 kB / 0.5886 GB, free: 30.97 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.418, allocations: 0.7778 MB / 0.5893 GB, free: 30.18 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/0.4184, allocations: 380.3 kB / 0.5897 GB, free: 29.8 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.4184, allocations: 325.9 kB / 0.59 GB, free: 29.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.4196, allocations: 0.9216 MB / 0.5909 GB, free: 28.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.4207, allocations: 0.9486 MB / 0.5918 GB, free: 27.59 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.4231, allocations: 2.062 MB / 0.5939 GB, free: 25.5 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4231, allocations: 0 / 0.5939 GB, free: 25.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002866/0.426, allocations: 2.438 MB / 0.5962 GB, free: 23.02 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.426, allocations: 4 kB / 0.5962 GB, free: 23.01 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.426, allocations: 0 / 0.5962 GB, free: 23.01 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.426, allocations: 8 kB / 0.5962 GB, free: 23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.4278, allocations: 0.515 MB / 0.5968 GB, free: 22.49 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.4278, allocations: 8 kB / 0.5968 GB, free: 22.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005999/0.4285, allocations: 154.2 kB / 0.5969 GB, free: 22.33 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.4286, allocations: 75.97 kB / 0.597 GB, free: 22.25 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.0003267/0.4289, allocations: 313.2 kB / 0.5973 GB, free: 21.94 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.4291, allocations: 83.06 kB / 0.5974 GB, free: 21.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.4326, allocations: 2.721 MB / 0.6 GB, free: 19.08 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.4326, allocations: 24 kB / 0.6 GB, free: 19.06 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4326, allocations: 0 / 0.6 GB, free: 19.06 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.4327, allocations: 15.95 kB / 0.6001 GB, free: 19.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.434, allocations: 1.334 MB / 0.6014 GB, free: 17.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.434, allocations: 4 kB / 0.6014 GB, free: 17.65 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/0.4365, allocations: 0.593 MB / 0.6019 GB, free: 17.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.4366, allocations: 8 kB / 0.6019 GB, free: 17.05 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.4367, allocations: 91.88 kB / 0.602 GB, free: 16.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.4367, allocations: 8 kB / 0.602 GB, free: 16.95 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4367, allocations: 0 / 0.602 GB, free: 16.95 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/0.4408, allocations: 3.619 MB / 0.6056 GB, free: 13.25 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004699/0.4413, allocations: 418.8 kB / 0.606 GB, free: 12.82 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.4414, allocations: 79.95 kB / 0.6061 GB, free: 12.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.4421, allocations: 51.94 kB / 0.6061 GB, free: 12.7 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.4423, allocations: 162 kB / 0.6063 GB, free: 12.54 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.4424, allocations: 79.97 kB / 0.6063 GB, free: 12.46 MB / 462.3 MB Notification: Performance of sorting global known variables: time 9.755e-05/0.4425, allocations: 172.4 kB / 0.6065 GB, free: 12.29 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4425, allocations: 0 / 0.6065 GB, free: 12.29 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006943/0.4432, allocations: 452 kB / 0.6069 GB, free: 11.85 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.00434/0.4476, allocations: 4.279 MB / 0.6111 GB, free: 7.484 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.4502, allocations: 2.271 MB / 0.6133 GB, free: 5.184 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4503, allocations: 4 kB / 0.6133 GB, free: 5.18 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.4516, allocations: 1.265 MB / 0.6146 GB, free: 3.91 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.4523, allocations: 196.3 kB / 0.6148 GB, free: 3.719 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.4699, allocations: 15.05 MB / 0.6295 GB, free: 4.41 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/0.4706, allocations: 1.155 MB / 0.6306 GB, free: 3.227 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001698/0.4723, allocations: 0.7395 MB / 0.6313 GB, free: 2.484 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008345/0.4732, allocations: 479.2 kB / 0.6318 GB, free: 2.016 MB / 478.3 MB Notification: Performance of SimCode: time 1.082e-06/0.4732, allocations: 4 kB / 0.6318 GB, free: 2.012 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7222/1.195, allocations: 29.69 MB / 0.6608 GB, free: 4.539 MB / 0.4983 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/1.196, allocations: 248.9 kB / 0.661 GB, free: 4.281 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.792, allocations: 0 / 0.661 GB, free: 4.281 MB / 0.4983 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)