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.001673/0.001673, allocations: 110.3 kB / 16.92 MB, free: 5.785 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.001886/0.001886, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.362/1.362, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8677/0.8677, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.91 kB / 0.4924 GB, free: 12.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.4661, allocations: 80.69 MB / 0.5712 GB, free: 43.79 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002184/0.4684, allocations: 1.382 MB / 0.5726 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007039/0.4691, allocations: 0.5164 MB / 0.5731 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.4691, allocations: 0 / 0.5731 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.189e-05/0.4692, allocations: 9.172 kB / 0.5731 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.4695, allocations: 59.36 kB / 0.5731 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.45e-05/0.4696, allocations: 33.95 kB / 0.5732 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006504/0.4702, allocations: 1.019 MB / 0.5741 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.444e-05/0.4703, allocations: 14.14 kB / 0.5742 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.4707, allocations: 367 kB / 0.5745 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006176/0.4713, allocations: 0.5166 MB / 0.575 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.4715, allocations: 58.44 kB / 0.5751 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.4717, allocations: 77.08 kB / 0.5751 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003794/0.4721, allocations: 469.6 kB / 0.5756 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.4725, allocations: 451.7 kB / 0.576 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.4731, allocations: 0.8106 MB / 0.5768 GB, free: 40.14 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4731, allocations: 0 / 0.5768 GB, free: 40.14 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4731, allocations: 0 / 0.5768 GB, free: 40.14 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.4731, allocations: 1.312 kB / 0.5768 GB, free: 40.14 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.002875/0.476, allocations: 1.29 MB / 0.5781 GB, free: 39.27 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.476, allocations: 17.05 kB / 0.5781 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.4762, allocations: 135.5 kB / 0.5782 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.4764, allocations: 87.22 kB / 0.5783 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.477, allocations: 473.8 kB / 0.5788 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.477, allocations: 58.09 kB / 0.5788 GB, free: 38.71 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.4772, allocations: 115 kB / 0.5789 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.4787, allocations: 1.145 MB / 0.58 GB, free: 38.02 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.4788, allocations: 0 / 0.58 GB, free: 38.02 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.751e-05/0.4789, allocations: 34.31 kB / 0.5801 GB, free: 37.99 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.4789, allocations: 18.94 kB / 0.5801 GB, free: 37.99 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.4809, allocations: 1.266 MB / 0.5813 GB, free: 37.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.4822, allocations: 1.088 MB / 0.5824 GB, free: 36.79 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005969/0.4882, allocations: 2.779 MB / 0.5851 GB, free: 35.09 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.4892, allocations: 0.8851 MB / 0.586 GB, free: 34.21 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.4894, allocations: 127 kB / 0.5861 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4894, allocations: 52.56 kB / 0.5861 GB, free: 34 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 3.207e-06/0.4894, allocations: 3.938 kB / 0.5861 GB, free: 34 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003409/0.4929, allocations: 2.652 MB / 0.5887 GB, free: 31.35 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.4929, allocations: 73.41 kB / 0.5888 GB, free: 31.27 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.4931, allocations: 229 kB / 0.589 GB, free: 31.03 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.527e-05/0.4931, allocations: 61.7 kB / 0.5891 GB, free: 30.96 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.4932, allocations: 131.3 kB / 0.5892 GB, free: 30.83 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.4936, allocations: 0.7778 MB / 0.59 GB, free: 30.04 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/0.494, allocations: 380.3 kB / 0.5903 GB, free: 29.66 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.494, allocations: 329.9 kB / 0.5906 GB, free: 29.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.4952, allocations: 0.9138 MB / 0.5915 GB, free: 28.42 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.4964, allocations: 0.9486 MB / 0.5925 GB, free: 27.46 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.4987, allocations: 2.066 MB / 0.5945 GB, free: 25.36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4988, allocations: 0 / 0.5945 GB, free: 25.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002921/0.5017, allocations: 2.438 MB / 0.5969 GB, free: 22.88 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5017, allocations: 4 kB / 0.5969 GB, free: 22.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5017, allocations: 0 / 0.5969 GB, free: 22.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5018, allocations: 12 kB / 0.5969 GB, free: 22.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.5036, allocations: 0.515 MB / 0.5974 GB, free: 22.35 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.5037, allocations: 12 kB / 0.5974 GB, free: 22.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/0.5044, allocations: 146.2 kB / 0.5975 GB, free: 22.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.5045, allocations: 79.97 kB / 0.5976 GB, free: 22.11 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.0003342/0.5049, allocations: 310 kB / 0.5979 GB, free: 21.8 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.505, allocations: 87.06 kB / 0.598 GB, free: 21.71 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/0.5087, allocations: 2.713 MB / 0.6006 GB, free: 18.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.5087, allocations: 28 kB / 0.6007 GB, free: 18.92 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5087, allocations: 0 / 0.6007 GB, free: 18.92 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.5087, allocations: 11.95 kB / 0.6007 GB, free: 18.91 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.51, allocations: 1.338 MB / 0.602 GB, free: 17.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.51, allocations: 0 / 0.602 GB, free: 17.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002628/0.5127, allocations: 0.5892 MB / 0.6026 GB, free: 16.93 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.5127, allocations: 8 kB / 0.6026 GB, free: 16.92 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.5128, allocations: 95.92 kB / 0.6027 GB, free: 16.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.5128, allocations: 15.94 kB / 0.6027 GB, free: 16.81 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5128, allocations: 3.938 kB / 0.6027 GB, free: 16.8 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004067/0.5169, allocations: 3.623 MB / 0.6062 GB, free: 13.1 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.5174, allocations: 418.8 kB / 0.6066 GB, free: 12.67 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.5176, allocations: 75.95 kB / 0.6067 GB, free: 12.6 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.5183, allocations: 48 kB / 0.6067 GB, free: 12.55 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.5185, allocations: 158 kB / 0.6069 GB, free: 12.39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.5187, allocations: 83.97 kB / 0.607 GB, free: 12.31 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001013/0.5188, allocations: 168.5 kB / 0.6071 GB, free: 12.15 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5188, allocations: 0 / 0.6071 GB, free: 12.15 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006886/0.5195, allocations: 452 kB / 0.6076 GB, free: 11.71 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.004358/0.5238, allocations: 4.275 MB / 0.6117 GB, free: 7.348 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.007992/0.5318, allocations: 5.864 MB / 0.6175 GB, free: 1.453 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5318, allocations: 0 / 0.6175 GB, free: 1.453 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.5332, allocations: 1.265 MB / 0.6187 GB, free: 188 kB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.534, allocations: 205.5 kB / 0.6189 GB, free: 15.98 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.5523, allocations: 14.66 MB / 0.6332 GB, free: 1.062 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.553, allocations: 1.151 MB / 0.6343 GB, free: 15.88 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.001605/0.5546, allocations: 0.7356 MB / 0.635 GB, free: 15.14 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007892/0.5554, allocations: 475.3 kB / 0.6355 GB, free: 14.68 MB / 494.3 MB Notification: Performance of SimCode: time 6.11e-07/0.5554, allocations: 0 / 0.6355 GB, free: 14.68 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05518/0.6106, allocations: 30.89 MB / 0.6657 GB, free: 8 kB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.873/9.483, allocations: 8.562 kB / 0.6657 GB, free: 0 / 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.csv --start-time 0 --stop-time 432000 --timeout 300 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 20 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1)