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.001211/0.001211, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001216/0.001216, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.251/1.251, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7689/0.7689, allocations: 119.3 MB / 411 MB, free: 9.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.4924 GB, free: 12.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3854, allocations: 80.69 MB / 0.5712 GB, free: 44.06 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.00181/0.3872, allocations: 1.383 MB / 0.5726 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005841/0.3878, allocations: 0.5172 MB / 0.5731 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.3878, allocations: 0 / 0.5731 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.523e-05/0.3879, allocations: 10.08 kB / 0.5731 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.3881, allocations: 57.58 kB / 0.5731 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.248e-05/0.3882, allocations: 33.98 kB / 0.5732 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.3886, allocations: 0.5526 MB / 0.5737 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.3886, allocations: 5.719 kB / 0.5737 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.3888, allocations: 199.2 kB / 0.5739 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.389, allocations: 280.5 kB / 0.5742 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.3891, allocations: 33.75 kB / 0.5742 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3893, allocations: 52.34 kB / 0.5742 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3894, allocations: 242.4 kB / 0.5745 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.3896, allocations: 235.2 kB / 0.5747 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.3899, allocations: 437.2 kB / 0.5751 GB, free: 41.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3899, allocations: 4 kB / 0.5751 GB, free: 41.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.001e-06/0.3899, allocations: 0 / 0.5751 GB, free: 41.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3899, allocations: 0 / 0.5751 GB, free: 41.38 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.001452/0.3914, allocations: 0.8182 MB / 0.5759 GB, free: 40.75 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.3914, allocations: 17.45 kB / 0.5759 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.014e-05/0.3915, allocations: 85.19 kB / 0.576 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.3916, allocations: 48.78 kB / 0.5761 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.3919, allocations: 323.9 kB / 0.5764 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3919, allocations: 33.84 kB / 0.5764 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.392, allocations: 60.5 kB / 0.5765 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/0.3927, allocations: 0.5861 MB / 0.577 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3927, allocations: 0 / 0.577 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.3928, allocations: 14.75 kB / 0.577 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.3928, allocations: 11 kB / 0.5771 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.3935, allocations: 0.5809 MB / 0.5776 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.3942, allocations: 0.6265 MB / 0.5782 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.3971, allocations: 1.361 MB / 0.5796 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/0.3976, allocations: 459.6 kB / 0.58 GB, free: 38.44 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.3977, allocations: 100 kB / 0.5801 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.3978, allocations: 47.3 kB / 0.5801 GB, free: 38.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.134e-06/0.3978, allocations: 0 / 0.5801 GB, free: 38.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.0018/0.3996, allocations: 1.339 MB / 0.5815 GB, free: 37.7 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.3996, allocations: 66.53 kB / 0.5815 GB, free: 37.63 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.3997, allocations: 176.4 kB / 0.5817 GB, free: 37.5 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.3998, allocations: 42.36 kB / 0.5817 GB, free: 37.45 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.3998, allocations: 110.4 kB / 0.5818 GB, free: 37.35 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.4, allocations: 400.1 kB / 0.5822 GB, free: 37 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.4002, allocations: 195.1 kB / 0.5824 GB, free: 36.89 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.4003, allocations: 375.8 kB / 0.5828 GB, free: 36.53 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.4009, allocations: 473.9 kB / 0.5832 GB, free: 36.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.4015, allocations: 485.8 kB / 0.5837 GB, free: 36.11 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.4027, allocations: 1.048 MB / 0.5847 GB, free: 35.59 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4027, allocations: 0 / 0.5847 GB, free: 35.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001309/0.404, allocations: 1.246 MB / 0.5859 GB, free: 34.33 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.404, allocations: 4 kB / 0.5859 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4041, allocations: 0 / 0.5859 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4041, allocations: 7.984 kB / 0.5859 GB, free: 34.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008794/0.405, allocations: 275.6 kB / 0.5862 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.405, allocations: 7.938 kB / 0.5862 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.4053, allocations: 83.06 kB / 0.5863 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.4054, allocations: 39.98 kB / 0.5863 GB, free: 33.92 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.0001649/0.4055, allocations: 209.5 kB / 0.5865 GB, free: 33.71 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.4056, allocations: 55.42 kB / 0.5866 GB, free: 33.65 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.4073, allocations: 1.38 MB / 0.5879 GB, free: 32.26 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.4073, allocations: 16 kB / 0.5879 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4073, allocations: 0 / 0.5879 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4073, allocations: 11.97 kB / 0.5879 GB, free: 32.23 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.4079, allocations: 0.7438 MB / 0.5887 GB, free: 31.44 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.4079, allocations: 0 / 0.5887 GB, free: 31.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.4092, allocations: 307.7 kB / 0.589 GB, free: 31.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.4092, allocations: 7.938 kB / 0.589 GB, free: 31.13 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/0.4092, allocations: 43.97 kB / 0.589 GB, free: 31.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4093, allocations: 4 kB / 0.589 GB, free: 31.09 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4093, allocations: 0 / 0.589 GB, free: 31.09 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.4112, allocations: 1.862 MB / 0.5908 GB, free: 29.21 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.4114, allocations: 252 kB / 0.5911 GB, free: 28.94 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.119e-05/0.4115, allocations: 35.98 kB / 0.5911 GB, free: 28.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.4118, allocations: 24 kB / 0.5911 GB, free: 28.88 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4119, allocations: 81.19 kB / 0.5912 GB, free: 28.8 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.412, allocations: 39.98 kB / 0.5912 GB, free: 28.76 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.508e-05/0.412, allocations: 136.3 kB / 0.5914 GB, free: 28.63 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.412, allocations: 0 / 0.5914 GB, free: 28.63 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003829/0.4124, allocations: 236 kB / 0.5916 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.002074/0.4145, allocations: 2.454 MB / 0.594 GB, free: 25.91 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.4169, allocations: 2.084 MB / 0.596 GB, free: 23.83 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4169, allocations: 0 / 0.596 GB, free: 23.83 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006081/0.4175, allocations: 0.6358 MB / 0.5967 GB, free: 23.2 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.4179, allocations: 103.9 kB / 0.5967 GB, free: 23.09 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006771/0.4247, allocations: 7.813 MB / 0.6044 GB, free: 15.19 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.4249, allocations: 0.9189 MB / 0.6053 GB, free: 14.25 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006247/0.4256, allocations: 372.8 kB / 0.6056 GB, free: 13.88 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.4259, allocations: 231.4 kB / 0.6059 GB, free: 13.65 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.4259, allocations: 4 kB / 0.6059 GB, free: 13.65 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.393/1.819, allocations: 16.31 MB / 0.6218 GB, free: 13.52 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.001/10.82, allocations: 7 kB / 0.6218 GB, free: 13.51 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)