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.001046/0.001046, allocations: 94.44 kB / 16.65 MB, free: 6.535 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.00129/0.001291, allocations: 176.5 kB / 17.56 MB, free: 6.18 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.347/1.347, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9998/0.9998, allocations: 120.5 MB / 413.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 12 kB / 0.4963 GB, free: 9.996 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4502, allocations: 82.83 MB / 0.5772 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001088/0.4513, allocations: 1.102 MB / 0.5783 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006868/0.452, allocations: 0.5089 MB / 0.5788 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.4521, allocations: 0 / 0.5788 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.604e-05/0.4522, allocations: 5.094 kB / 0.5788 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.4524, allocations: 49.97 kB / 0.5789 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.018e-05/0.4525, allocations: 32.94 kB / 0.5789 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006898/0.4532, allocations: 1.037 MB / 0.5799 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.4532, allocations: 14.36 kB / 0.5799 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.4536, allocations: 365 kB / 0.5803 GB, free: 39.79 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.4542, allocations: 0.5544 MB / 0.5808 GB, free: 39.47 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.4543, allocations: 58.09 kB / 0.5809 GB, free: 39.47 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.4545, allocations: 81.14 kB / 0.5809 GB, free: 39.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.4548, allocations: 468.7 kB / 0.5814 GB, free: 39.19 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.4552, allocations: 477.4 kB / 0.5818 GB, free: 38.88 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005577/0.4558, allocations: 0.803 MB / 0.5826 GB, free: 38.4 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4558, allocations: 1.281 kB / 0.5826 GB, free: 38.4 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4558, allocations: 0 / 0.5826 GB, free: 38.4 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4558, allocations: 4 kB / 0.5826 GB, free: 38.39 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.00316/0.459, allocations: 1.563 MB / 0.5842 GB, free: 37.4 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.459, allocations: 9.781 kB / 0.5842 GB, free: 37.4 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.4592, allocations: 131.8 kB / 0.5843 GB, free: 37.3 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.4594, allocations: 94.92 kB / 0.5844 GB, free: 37.25 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.4599, allocations: 477.5 kB / 0.5848 GB, free: 36.86 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.46, allocations: 62.22 kB / 0.5849 GB, free: 36.83 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.4602, allocations: 115.3 kB / 0.585 GB, free: 36.78 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.4618, allocations: 1.133 MB / 0.5861 GB, free: 36.15 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.4618, allocations: 3.938 kB / 0.5861 GB, free: 36.15 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/0.4619, allocations: 30.34 kB / 0.5861 GB, free: 36.12 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.4619, allocations: 20.12 kB / 0.5862 GB, free: 36.12 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.4636, allocations: 1.262 MB / 0.5874 GB, free: 35.58 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.4647, allocations: 1.1 MB / 0.5885 GB, free: 34.43 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005381/0.4701, allocations: 2.773 MB / 0.5912 GB, free: 31.66 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.4711, allocations: 0.885 MB / 0.592 GB, free: 30.77 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/0.4713, allocations: 127 kB / 0.5922 GB, free: 30.63 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.4713, allocations: 56.56 kB / 0.5922 GB, free: 30.56 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 2.736e-06/0.4714, allocations: 0 / 0.5922 GB, free: 30.56 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003278/0.4746, allocations: 2.656 MB / 0.5948 GB, free: 27.91 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.4747, allocations: 73.41 kB / 0.5949 GB, free: 27.82 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.4748, allocations: 229 kB / 0.5951 GB, free: 27.59 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.862e-05/0.4749, allocations: 57.7 kB / 0.5952 GB, free: 27.53 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.475, allocations: 127.3 kB / 0.5953 GB, free: 27.4 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.4753, allocations: 0.7817 MB / 0.596 GB, free: 26.61 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.4755, allocations: 178.1 kB / 0.5962 GB, free: 26.43 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.4756, allocations: 325.9 kB / 0.5965 GB, free: 26.1 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.4767, allocations: 0.9216 MB / 0.5974 GB, free: 25.18 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.4778, allocations: 0.9486 MB / 0.5983 GB, free: 24.22 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.4802, allocations: 2.066 MB / 0.6004 GB, free: 22.12 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.4802, allocations: 3.984 kB / 0.6004 GB, free: 22.12 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002847/0.4831, allocations: 2.423 MB / 0.6027 GB, free: 19.65 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4831, allocations: 10.5 kB / 0.6027 GB, free: 19.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4831, allocations: 4 kB / 0.6028 GB, free: 19.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4831, allocations: 8 kB / 0.6028 GB, free: 19.63 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.485, allocations: 0.5228 MB / 0.6033 GB, free: 19.11 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.485, allocations: 8 kB / 0.6033 GB, free: 19.1 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/0.4857, allocations: 154.2 kB / 0.6034 GB, free: 18.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.4859, allocations: 75.97 kB / 0.6035 GB, free: 18.87 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.0003474/0.4862, allocations: 313.2 kB / 0.6038 GB, free: 18.55 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.4864, allocations: 86.97 kB / 0.6039 GB, free: 18.47 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.49, allocations: 2.71 MB / 0.6065 GB, free: 15.71 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4901, allocations: 35.98 kB / 0.6066 GB, free: 15.67 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4901, allocations: 0 / 0.6066 GB, free: 15.67 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.4901, allocations: 15.94 kB / 0.6066 GB, free: 15.66 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.4914, allocations: 1.342 MB / 0.6079 GB, free: 14.26 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4914, allocations: 0 / 0.6079 GB, free: 14.26 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/0.4939, allocations: 0.5891 MB / 0.6085 GB, free: 13.67 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.494, allocations: 12 kB / 0.6085 GB, free: 13.66 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.4941, allocations: 91.94 kB / 0.6086 GB, free: 13.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/0.4941, allocations: 15.92 kB / 0.6086 GB, free: 13.55 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4941, allocations: 0 / 0.6086 GB, free: 13.55 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/0.4981, allocations: 3.619 MB / 0.6121 GB, free: 9.855 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004783/0.4986, allocations: 418.8 kB / 0.6125 GB, free: 9.426 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.4988, allocations: 75.95 kB / 0.6126 GB, free: 9.352 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006756/0.4995, allocations: 44 kB / 0.6126 GB, free: 9.309 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.4997, allocations: 162 kB / 0.6128 GB, free: 9.148 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.4998, allocations: 79.97 kB / 0.6129 GB, free: 9.07 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001009/0.4999, allocations: 172.5 kB / 0.613 GB, free: 8.906 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4999, allocations: 0 / 0.613 GB, free: 8.906 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000686/0.5006, allocations: 456 kB / 0.6135 GB, free: 8.461 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.00427/0.5049, allocations: 4.271 MB / 0.6176 GB, free: 4.102 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.5075, allocations: 2.275 MB / 0.6198 GB, free: 1.797 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5075, allocations: 0 / 0.6198 GB, free: 1.797 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.5088, allocations: 1.265 MB / 0.6211 GB, free: 0.5273 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007391/0.5096, allocations: 197.1 kB / 0.6213 GB, free: 344 kB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/0.5287, allocations: 15.71 MB / 0.6366 GB, free: 388 kB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.5294, allocations: 1.151 MB / 0.6377 GB, free: 15.19 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.001658/0.5311, allocations: 0.7473 MB / 0.6385 GB, free: 14.44 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008166/0.5319, allocations: 480.2 kB / 0.6389 GB, free: 13.97 MB / 494.3 MB Notification: Performance of SimCode: time 7.41e-07/0.5319, allocations: 0 / 0.6389 GB, free: 13.97 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6601/1.192, allocations: 29.29 MB / 0.6675 GB, free: 0.9375 MB / 0.4983 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/1.192, allocations: 248.7 kB / 0.6678 GB, free: 0.6758 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/3.845, allocations: 0 / 0.6678 GB, free: 0.6758 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)