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: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009531/0.0009533, allocations: 87.94 kB / 16.31 MB, free: 6.469 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.0009569/0.0009569, allocations: 185.8 kB / 17.21 MB, free: 6.336 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.271/1.271, allocations: 223.3 MB / 241.2 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7289/0.7289, allocations: 120.5 MB / 412.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 8 kB / 0.4956 GB, free: 9.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 82.86 MB / 0.5765 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.00138/0.1615, allocations: 1.081 MB / 0.5775 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007414/0.1623, allocations: 491.6 kB / 0.578 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.1624, allocations: 0 / 0.578 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.351e-05/0.1624, allocations: 7.922 kB / 0.578 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.1627, allocations: 59.8 kB / 0.5781 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.353e-05/0.1628, allocations: 31.91 kB / 0.5781 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007256/0.1636, allocations: 0.9047 MB / 0.579 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.1636, allocations: 8.188 kB / 0.579 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.164, allocations: 371.5 kB / 0.5793 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006614/0.1646, allocations: 0.5734 MB / 0.5799 GB, free: 3.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1648, allocations: 60 kB / 0.58 GB, free: 3.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.1649, allocations: 75.98 kB / 0.58 GB, free: 3.137 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00042/0.1654, allocations: 475 kB / 0.5805 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.1655, allocations: 145.3 kB / 0.5806 GB, free: 2.523 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.166, allocations: 0.5302 MB / 0.5811 GB, free: 1.992 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.166, allocations: 7.938 kB / 0.5811 GB, free: 1.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.166, allocations: 0 / 0.5811 GB, free: 1.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.166, allocations: 0 / 0.5811 GB, free: 1.984 MB / 446.1 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.003002/0.169, allocations: 1.568 MB / 0.5827 GB, free: 376 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1691, allocations: 12.03 kB / 0.5827 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1692, allocations: 91.02 kB / 0.5828 GB, free: 272 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.476/0.6453, allocations: 452.4 kB / 0.5832 GB, free: 16.3 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/0.6454, allocations: 59.44 kB / 0.5833 GB, free: 16.3 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.6456, allocations: 115.5 kB / 0.5834 GB, free: 16.29 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.6475, allocations: 1.133 MB / 0.5845 GB, free: 16.24 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.6475, allocations: 0 / 0.5845 GB, free: 16.24 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.6476, allocations: 34.09 kB / 0.5845 GB, free: 16.24 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.6476, allocations: 19.41 kB / 0.5845 GB, free: 16.24 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.6495, allocations: 1.26 MB / 0.5858 GB, free: 16.23 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.651, allocations: 1.097 MB / 0.5868 GB, free: 15.84 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006102/0.6571, allocations: 2.77 MB / 0.5895 GB, free: 15.07 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.6584, allocations: 0.8775 MB / 0.5904 GB, free: 14.79 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.6587, allocations: 132.2 kB / 0.5905 GB, free: 14.68 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.6588, allocations: 51.19 kB / 0.5906 GB, free: 14.63 MB / 446.3 MB Notification: Performance of pre-optimization done (n=203): time 3.186e-06/0.6588, allocations: 1.062 kB / 0.5906 GB, free: 14.63 MB / 446.3 MB Notification: Performance of matching and sorting (n=203): time 0.004032/0.6628, allocations: 2.656 MB / 0.5932 GB, free: 13.87 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.6629, allocations: 77.27 kB / 0.5932 GB, free: 13.8 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.6631, allocations: 227.8 kB / 0.5935 GB, free: 13.67 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-05/0.6632, allocations: 58 kB / 0.5935 GB, free: 13.62 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.6632, allocations: 132.8 kB / 0.5936 GB, free: 13.5 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004676/0.6637, allocations: 0.7811 MB / 0.5944 GB, free: 12.89 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.6638, allocations: 45.12 kB / 0.5944 GB, free: 12.85 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6639, allocations: 417.8 kB / 0.5948 GB, free: 12.5 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.6653, allocations: 0.9087 MB / 0.5957 GB, free: 12.26 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.6667, allocations: 0.9426 MB / 0.5966 GB, free: 12 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.6684, allocations: 1.086 MB / 0.5977 GB, free: 11.64 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6684, allocations: 0.5625 kB / 0.5977 GB, free: 11.64 MB / 446.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003478/0.6719, allocations: 2.412 MB / 0.6001 GB, free: 10.86 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.6719, allocations: 9.5 kB / 0.6001 GB, free: 10.85 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.6719, allocations: 0 / 0.6001 GB, free: 10.85 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.6719, allocations: 9.812 kB / 0.6001 GB, free: 10.85 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.6738, allocations: 0.523 MB / 0.6006 GB, free: 10.8 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.6739, allocations: 8.812 kB / 0.6006 GB, free: 10.8 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.6744, allocations: 150.1 kB / 0.6007 GB, free: 10.68 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.6745, allocations: 78.39 kB / 0.6008 GB, free: 10.66 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003641/0.6749, allocations: 306.3 kB / 0.6011 GB, free: 10.43 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.675, allocations: 83.28 kB / 0.6012 GB, free: 10.39 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.679, allocations: 2.733 MB / 0.6039 GB, free: 8.93 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.679, allocations: 26.66 kB / 0.6039 GB, free: 8.93 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.6791, allocations: 0 / 0.6039 GB, free: 8.93 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.6791, allocations: 13.08 kB / 0.6039 GB, free: 8.918 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.6805, allocations: 1.345 MB / 0.6052 GB, free: 8.098 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.6805, allocations: 1.281 kB / 0.6052 GB, free: 8.098 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002454/0.683, allocations: 0.5866 MB / 0.6058 GB, free: 7.98 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.683, allocations: 11.62 kB / 0.6058 GB, free: 7.98 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.6832, allocations: 95.02 kB / 0.6059 GB, free: 7.926 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/0.6832, allocations: 9.219 kB / 0.6059 GB, free: 7.926 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6832, allocations: 5.312 kB / 0.6059 GB, free: 7.922 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/0.6875, allocations: 3.603 MB / 0.6094 GB, free: 6.215 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.688, allocations: 421.9 kB / 0.6098 GB, free: 5.922 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.6882, allocations: 79.75 kB / 0.6099 GB, free: 5.875 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/0.6887, allocations: 45.62 kB / 0.6099 GB, free: 5.84 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.6888, allocations: 162.8 kB / 0.6101 GB, free: 5.758 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.689, allocations: 78.88 kB / 0.6102 GB, free: 5.734 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0001109/0.6891, allocations: 174 kB / 0.6103 GB, free: 5.613 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6891, allocations: 0 / 0.6103 GB, free: 5.613 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0007132/0.6898, allocations: 452.9 kB / 0.6108 GB, free: 5.234 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002548/0.6901, allocations: 221 kB / 0.611 GB, free: 5.012 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.6926, allocations: 2.259 MB / 0.6132 GB, free: 2.723 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6926, allocations: 0 / 0.6132 GB, free: 2.723 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.6939, allocations: 1.254 MB / 0.6144 GB, free: 1.465 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.6945, allocations: 200.3 kB / 0.6146 GB, free: 1.27 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00771/0.7022, allocations: 6.506 MB / 0.621 GB, free: 10.72 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007456/0.703, allocations: 1.155 MB / 0.6221 GB, free: 9.535 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001668/0.7047, allocations: 0.7356 MB / 0.6228 GB, free: 8.797 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/0.7052, allocations: 175.3 kB / 0.623 GB, free: 8.625 MB / 462.3 MB Notification: Performance of SimCode: time 7.12e-07/0.7053, allocations: 0 / 0.623 GB, free: 8.625 MB / 462.3 MB Notification: Performance of Templates: time 0.02694/0.7322, allocations: 16.83 MB / 0.6394 GB, free: 7.879 MB / 478.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Qh[1],Qh[2],Qh[3],Qh[40],Que[1],Que[2],Que[3],Que[40],Tu[1],Tu[2],Tu[3],Tu[40],der(Tu[1]),der(Tu[2]),der(Tu[3]),der(Tu[40]),der(x[1]),der(x[2]),der(x[3]),der(x[40]),time,time,u[1],u[2],u[3],u[40],x[1],x[2],x[3],x[40] Variables in the result:Cd,Cu[10],Cu[11],Cu[12],Cu[13],Cu[14],Cu[15],Cu[16],Cu[17],Cu[18],Cu[19],Cu[1],Cu[20],Cu[21],Cu[22],Cu[23],Cu[24],Cu[25],Cu[26],Cu[27],Cu[28],Cu[29],Cu[2],Cu[30],Cu[31],Cu[32],Cu[33],Cu[34],Cu[35],Cu[36],Cu[37],Cu[38],Cu[39],Cu[3],Cu[40],Cu[4],Cu[5],Cu[6],Cu[7],Cu[8],Cu[9],Gh,Gu,Kp,N,Qh[1],Qh[2],Qh[3],Qh[40],Qmax,Que[1],Que[2],Que[3],Que[40],Td0,Teps,Tu0,Tu[1],Tu[2],Tu[3],Tu[40],a,b,der(Tu[1]),der(Tu[2]),der(Tu[3]),der(Tu[40]),der(x[1]),der(x[2]),der(x[3]),der(x[40]),time,u[1],u[2],u[3],u[40],x[1],x[2],x[3],x[40]