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.001897/0.001897, allocations: 105.4 kB / 16.92 MB, free: 5.781 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.00229/0.00229, 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 2.62/2.62, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.158/1.158, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 59.89 kB / 0.4924 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4786/0.4811, allocations: 80.7 MB / 0.5712 GB, free: 43.78 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002156/0.4834, allocations: 1.381 MB / 0.5726 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007039/0.4841, allocations: 0.5079 MB / 0.5731 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.4841, allocations: 1.312 kB / 0.5731 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.991e-05/0.4842, allocations: 7.922 kB / 0.5731 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.4845, allocations: 59.7 kB / 0.5731 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.533e-05/0.4846, allocations: 37.67 kB / 0.5732 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.4849, allocations: 0.5446 MB / 0.5737 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.485, allocations: 11.31 kB / 0.5737 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.4852, allocations: 201.4 kB / 0.5739 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.4855, allocations: 285 kB / 0.5742 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.308e-05/0.4856, allocations: 29.84 kB / 0.5742 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.4858, allocations: 52.91 kB / 0.5742 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.486, allocations: 237.6 kB / 0.5745 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.4862, allocations: 235 kB / 0.5747 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.4866, allocations: 437.3 kB / 0.5751 GB, free: 41.11 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4866, allocations: 0 / 0.5751 GB, free: 41.11 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4866, allocations: 0 / 0.5751 GB, free: 41.11 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.4866, allocations: 0 / 0.5751 GB, free: 41.11 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.001582/0.4882, allocations: 0.8167 MB / 0.5759 GB, free: 40.5 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.4882, allocations: 18.52 kB / 0.5759 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.782e-05/0.4883, allocations: 82.8 kB / 0.576 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.4884, allocations: 47.84 kB / 0.576 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.4888, allocations: 336.1 kB / 0.5764 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4888, allocations: 28.12 kB / 0.5764 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.4889, allocations: 64.55 kB / 0.5765 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008321/0.4897, allocations: 0.5872 MB / 0.577 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4898, allocations: 0 / 0.577 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.4898, allocations: 15.69 kB / 0.577 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.4898, allocations: 10.28 kB / 0.5771 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008621/0.4907, allocations: 0.5847 MB / 0.5776 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.4915, allocations: 0.6147 MB / 0.5782 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.4947, allocations: 1.364 MB / 0.5796 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.4954, allocations: 456.4 kB / 0.58 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/0.4956, allocations: 107.9 kB / 0.5801 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.4956, allocations: 47.34 kB / 0.5801 GB, free: 38.02 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.885e-06/0.4956, allocations: 1.25 kB / 0.5801 GB, free: 38.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.002109/0.4977, allocations: 1.343 MB / 0.5815 GB, free: 37.43 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.4978, allocations: 61.59 kB / 0.5815 GB, free: 37.37 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.4979, allocations: 184.2 kB / 0.5817 GB, free: 37.22 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.498, allocations: 41.98 kB / 0.5817 GB, free: 37.18 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.498, allocations: 103.5 kB / 0.5818 GB, free: 37.08 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.4982, allocations: 407.5 kB / 0.5822 GB, free: 36.73 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.4985, allocations: 198.6 kB / 0.5824 GB, free: 36.61 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.4986, allocations: 367.9 kB / 0.5828 GB, free: 36.26 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.4992, allocations: 471.2 kB / 0.5832 GB, free: 36.06 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.4999, allocations: 492.7 kB / 0.5837 GB, free: 35.84 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.5013, allocations: 1.04 MB / 0.5847 GB, free: 35.36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5013, allocations: 0 / 0.5847 GB, free: 35.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001524/0.5029, allocations: 1.241 MB / 0.5859 GB, free: 34.18 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5029, allocations: 4.781 kB / 0.5859 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.5029, allocations: 4 kB / 0.5859 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.5029, allocations: 11.94 kB / 0.5859 GB, free: 34.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/0.5039, allocations: 267.7 kB / 0.5862 GB, free: 33.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.5039, allocations: 11.94 kB / 0.5862 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.5043, allocations: 79.06 kB / 0.5863 GB, free: 33.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.5044, allocations: 43.98 kB / 0.5863 GB, free: 33.77 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.0002012/0.5046, allocations: 213.5 kB / 0.5865 GB, free: 33.55 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.5047, allocations: 47.42 kB / 0.5866 GB, free: 33.5 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.5066, allocations: 1.388 MB / 0.5879 GB, free: 32.11 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.5066, allocations: 16 kB / 0.5879 GB, free: 32.09 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5066, allocations: 0 / 0.5879 GB, free: 32.09 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.5066, allocations: 3.984 kB / 0.5879 GB, free: 32.09 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.5073, allocations: 0.7477 MB / 0.5887 GB, free: 31.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5074, allocations: 0 / 0.5887 GB, free: 31.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.5087, allocations: 307.6 kB / 0.589 GB, free: 30.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.5087, allocations: 4 kB / 0.589 GB, free: 30.98 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/0.5088, allocations: 51.95 kB / 0.589 GB, free: 30.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.5088, allocations: 8 kB / 0.589 GB, free: 30.93 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5088, allocations: 0 / 0.589 GB, free: 30.93 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.511, allocations: 1.85 MB / 0.5908 GB, free: 29.06 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.5112, allocations: 248 kB / 0.5911 GB, free: 28.8 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5114, allocations: 43.97 kB / 0.5911 GB, free: 28.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.5117, allocations: 24 kB / 0.5911 GB, free: 28.73 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.5119, allocations: 85.2 kB / 0.5912 GB, free: 28.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/0.5119, allocations: 39.98 kB / 0.5912 GB, free: 28.61 MB / 462.3 MB Notification: Performance of sorting global known variables: time 7.276e-05/0.512, allocations: 136.2 kB / 0.5914 GB, free: 28.47 MB / 462.3 MB Notification: Performance of sort global known variables: time 7.01e-07/0.512, allocations: 0 / 0.5914 GB, free: 28.47 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004785/0.5125, allocations: 243.9 kB / 0.5916 GB, free: 28.23 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.002392/0.5149, allocations: 2.438 MB / 0.594 GB, free: 25.77 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002805/0.5177, allocations: 2.092 MB / 0.596 GB, free: 23.67 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5177, allocations: 4 kB / 0.596 GB, free: 23.67 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.5184, allocations: 0.6358 MB / 0.5967 GB, free: 23.04 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.5189, allocations: 103.9 kB / 0.5968 GB, free: 22.93 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007939/0.5269, allocations: 7.806 MB / 0.6044 GB, free: 15.04 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.5272, allocations: 0.9231 MB / 0.6053 GB, free: 14.09 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0007404/0.528, allocations: 372.8 kB / 0.6056 GB, free: 13.72 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.5283, allocations: 239.3 kB / 0.6059 GB, free: 13.49 MB / 462.3 MB Notification: Performance of SimCode: time 6.41e-07/0.5283, allocations: 0 / 0.6059 GB, free: 13.49 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.5606, allocations: 16.3 MB / 0.6218 GB, free: 13.37 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/9.167, allocations: 11.05 kB / 0.6218 GB, free: 13.36 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_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_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1)