Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",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.001693/0.001693, allocations: 102.4 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.001941/0.001941, 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.234/1.234, allocations: 222.9 MB / 241.1 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7477/0.7477, allocations: 119.3 MB / 410.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.89 kB / 0.4917 GB, free: 12.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3813, allocations: 80.68 MB / 0.5705 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001922/0.3833, allocations: 1.432 MB / 0.5719 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006432/0.3839, allocations: 0.5273 MB / 0.5724 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.384, allocations: 0 / 0.5724 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.447e-05/0.384, allocations: 5.672 kB / 0.5724 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.3843, allocations: 49.41 kB / 0.5725 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.104e-05/0.3843, allocations: 29.23 kB / 0.5725 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.3847, allocations: 0.5845 MB / 0.5731 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.3847, allocations: 6.094 kB / 0.5731 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.3849, allocations: 198.7 kB / 0.5732 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.3852, allocations: 309.2 kB / 0.5735 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.677e-05/0.3853, allocations: 29.5 kB / 0.5736 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3855, allocations: 48.27 kB / 0.5736 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.3857, allocations: 238.4 kB / 0.5738 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.3858, allocations: 235.2 kB / 0.5741 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.3862, allocations: 436.1 kB / 0.5745 GB, free: 40.61 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3862, allocations: 0 / 0.5745 GB, free: 40.61 MB / 462.3 MB Notification: Performance of FrontEnd: time 5.81e-07/0.3862, allocations: 1.219 kB / 0.5745 GB, free: 40.61 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3862, allocations: 0 / 0.5745 GB, free: 40.61 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00144/0.3876, allocations: 0.8164 MB / 0.5753 GB, free: 39.99 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3877, allocations: 9.938 kB / 0.5753 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.95e-05/0.3878, allocations: 82.41 kB / 0.5754 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.3879, allocations: 51.69 kB / 0.5754 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3882, allocations: 319.6 kB / 0.5757 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3882, allocations: 28.75 kB / 0.5758 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/0.3883, allocations: 60.97 kB / 0.5758 GB, free: 39.56 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.3891, allocations: 0.5905 MB / 0.5764 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3891, allocations: 3.938 kB / 0.5764 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.3892, allocations: 15 kB / 0.5764 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3892, allocations: 10.94 kB / 0.5764 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007423/0.3899, allocations: 0.5812 MB / 0.577 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.3906, allocations: 0.6224 MB / 0.5776 GB, free: 38.5 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.3936, allocations: 1.365 MB / 0.5789 GB, free: 37.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.3942, allocations: 461.2 kB / 0.5794 GB, free: 37.69 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.3944, allocations: 104 kB / 0.5795 GB, free: 37.59 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3944, allocations: 51.33 kB / 0.5795 GB, free: 37.53 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.545e-06/0.3944, allocations: 0 / 0.5795 GB, free: 37.53 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001869/0.3963, allocations: 1.342 MB / 0.5808 GB, free: 36.93 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.3963, allocations: 66.47 kB / 0.5809 GB, free: 36.87 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3965, allocations: 180.6 kB / 0.5811 GB, free: 36.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.3965, allocations: 41.48 kB / 0.5811 GB, free: 36.68 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.3966, allocations: 108.4 kB / 0.5812 GB, free: 36.58 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.3968, allocations: 402.5 kB / 0.5816 GB, free: 36.23 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.397, allocations: 199.5 kB / 0.5818 GB, free: 36.12 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.3971, allocations: 375.1 kB / 0.5821 GB, free: 35.76 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006362/0.3977, allocations: 470.9 kB / 0.5826 GB, free: 35.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.3983, allocations: 485.4 kB / 0.583 GB, free: 35.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.3996, allocations: 1.047 MB / 0.5841 GB, free: 34.85 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3996, allocations: 0 / 0.5841 GB, free: 34.85 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001609/0.4013, allocations: 1.24 MB / 0.5853 GB, free: 34.29 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4013, allocations: 9.75 kB / 0.5853 GB, free: 34.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4013, allocations: 1.25 kB / 0.5853 GB, free: 34.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4013, allocations: 9.062 kB / 0.5853 GB, free: 34.28 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009279/0.4023, allocations: 275.1 kB / 0.5856 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4023, allocations: 4 kB / 0.5856 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.4026, allocations: 79.06 kB / 0.5856 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.4027, allocations: 39.98 kB / 0.5857 GB, free: 33.91 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 (144): * Single equations (assignments): 144 * 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.000188/0.4029, allocations: 205.5 kB / 0.5859 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/0.403, allocations: 51.42 kB / 0.5859 GB, free: 33.65 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.4047, allocations: 1.388 MB / 0.5873 GB, free: 32.26 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.4047, allocations: 16 kB / 0.5873 GB, free: 32.24 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4048, allocations: 0 / 0.5873 GB, free: 32.24 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.4048, allocations: 7.969 kB / 0.5873 GB, free: 32.23 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/0.4055, allocations: 0.7426 MB / 0.588 GB, free: 31.44 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4055, allocations: 4 kB / 0.588 GB, free: 31.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.4068, allocations: 299.7 kB / 0.5883 GB, free: 31.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.4068, allocations: 8 kB / 0.5883 GB, free: 31.14 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/0.4068, allocations: 47.97 kB / 0.5884 GB, free: 31.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4069, allocations: 4 kB / 0.5884 GB, free: 31.09 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4069, allocations: 0 / 0.5884 GB, free: 31.09 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.4089, allocations: 1.858 MB / 0.5902 GB, free: 29.21 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.4091, allocations: 252 kB / 0.5904 GB, free: 28.94 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.886e-05/0.4092, allocations: 39.97 kB / 0.5905 GB, free: 28.9 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.4095, allocations: 24 kB / 0.5905 GB, free: 28.88 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.4097, allocations: 89.19 kB / 0.5906 GB, free: 28.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/0.4097, allocations: 39.98 kB / 0.5906 GB, free: 28.75 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.028e-05/0.4098, allocations: 128.3 kB / 0.5907 GB, free: 28.62 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4098, allocations: 0 / 0.5907 GB, free: 28.62 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000425/0.4102, allocations: 232 kB / 0.591 GB, free: 28.4 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (144): * Single equations (assignments): 144 * 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.002176/0.4124, allocations: 2.459 MB / 0.5934 GB, free: 25.91 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.4137, allocations: 1.147 MB / 0.5945 GB, free: 24.76 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4137, allocations: 0 / 0.5945 GB, free: 24.76 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006321/0.4144, allocations: 0.6397 MB / 0.5951 GB, free: 24.12 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.4148, allocations: 110.5 kB / 0.5952 GB, free: 24.02 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007086/0.4219, allocations: 8.006 MB / 0.603 GB, free: 15.93 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.4221, allocations: 0.9317 MB / 0.6039 GB, free: 14.97 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006842/0.4228, allocations: 364.8 kB / 0.6043 GB, free: 14.61 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.4232, allocations: 239.3 kB / 0.6045 GB, free: 14.38 MB / 462.3 MB Notification: Performance of SimCode: time 3.01e-07/0.4232, allocations: 0 / 0.6045 GB, free: 14.38 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5022/0.9254, allocations: 15.65 MB / 0.6198 GB, free: 14.93 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.9257, allocations: 248.7 kB / 0.62 GB, free: 14.67 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/3.121, allocations: 0 / 0.62 GB, free: 14.67 MB / 478.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1)