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.0009451/0.0009451, allocations: 91.88 kB / 16.65 MB, free: 6.535 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.001055/0.001055, allocations: 174.2 kB / 17.56 MB, free: 6.184 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.296/1.296, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9438/0.9438, allocations: 120.5 MB / 413.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 8 kB / 0.4963 GB, free: 10 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.556, allocations: 82.83 MB / 0.5772 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001316/0.5573, allocations: 1.102 MB / 0.5783 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009942/0.5584, allocations: 0.5119 MB / 0.5788 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.5584, allocations: 3.938 kB / 0.5788 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.5586, allocations: 1.125 kB / 0.5788 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.5589, allocations: 58.08 kB / 0.5789 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.724e-05/0.559, allocations: 33.77 kB / 0.5789 GB, free: 40.46 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.5595, allocations: 0.5806 MB / 0.5795 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.5595, allocations: 5.531 kB / 0.5795 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.5598, allocations: 195.1 kB / 0.5797 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003861/0.5602, allocations: 304.6 kB / 0.5799 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.112e-05/0.5603, allocations: 36.81 kB / 0.58 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.5604, allocations: 53.22 kB / 0.58 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.5606, allocations: 234.3 kB / 0.5803 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.5609, allocations: 264.3 kB / 0.5805 GB, free: 39.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.5613, allocations: 432.4 kB / 0.5809 GB, free: 39.32 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5613, allocations: 0 / 0.5809 GB, free: 39.32 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5613, allocations: 0.9062 kB / 0.5809 GB, free: 39.32 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.5613, allocations: 0 / 0.5809 GB, free: 39.32 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.001747/0.5631, allocations: 0.8465 MB / 0.5818 GB, free: 38.7 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5631, allocations: 9.219 kB / 0.5818 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.5632, allocations: 83.3 kB / 0.5818 GB, free: 38.63 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.5634, allocations: 47.47 kB / 0.5819 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.5637, allocations: 328.5 kB / 0.5822 GB, free: 38.31 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.5638, allocations: 31 kB / 0.5822 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.5639, allocations: 59.02 kB / 0.5823 GB, free: 38.27 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008983/0.5648, allocations: 0.5894 MB / 0.5829 GB, free: 37.93 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5648, allocations: 0 / 0.5829 GB, free: 37.93 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.5649, allocations: 15.78 kB / 0.5829 GB, free: 37.92 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.5649, allocations: 10.09 kB / 0.5829 GB, free: 37.92 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008739/0.5658, allocations: 0.5849 MB / 0.5835 GB, free: 37.68 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008376/0.5666, allocations: 0.6226 MB / 0.5841 GB, free: 37.21 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003247/0.5699, allocations: 1.364 MB / 0.5854 GB, free: 36.61 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.5706, allocations: 456.4 kB / 0.5858 GB, free: 36.4 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.5708, allocations: 99.77 kB / 0.5859 GB, free: 36.3 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.5708, allocations: 47.84 kB / 0.586 GB, free: 36.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 3.556e-06/0.5708, allocations: 0 / 0.586 GB, free: 36.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.002096/0.5729, allocations: 1.353 MB / 0.5873 GB, free: 35.6 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.573, allocations: 60.41 kB / 0.5873 GB, free: 35.53 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.5731, allocations: 175.2 kB / 0.5875 GB, free: 35.35 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.5732, allocations: 45.7 kB / 0.5876 GB, free: 35.3 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.5732, allocations: 106.1 kB / 0.5877 GB, free: 35.2 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.5735, allocations: 398.2 kB / 0.588 GB, free: 34.8 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.967e-05/0.5736, allocations: 93.67 kB / 0.5881 GB, free: 34.7 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.5736, allocations: 374.7 kB / 0.5885 GB, free: 34.33 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.5742, allocations: 474.3 kB / 0.5889 GB, free: 33.86 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.5748, allocations: 487.5 kB / 0.5894 GB, free: 33.39 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.5761, allocations: 1.048 MB / 0.5904 GB, free: 32.34 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5761, allocations: 0 / 0.5904 GB, free: 32.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001527/0.5776, allocations: 1.238 MB / 0.5916 GB, free: 31.09 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.5777, allocations: 11.98 kB / 0.5916 GB, free: 31.08 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5777, allocations: 0 / 0.5916 GB, free: 31.08 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.5777, allocations: 4 kB / 0.5917 GB, free: 31.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.5787, allocations: 275.6 kB / 0.5919 GB, free: 30.8 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.5787, allocations: 4 kB / 0.5919 GB, free: 30.8 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/0.5792, allocations: 79.06 kB / 0.592 GB, free: 30.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.5793, allocations: 39.98 kB / 0.592 GB, free: 30.68 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.0002425/0.5795, allocations: 213.5 kB / 0.5922 GB, free: 30.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.5796, allocations: 47.47 kB / 0.5923 GB, free: 30.42 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.5816, allocations: 1.396 MB / 0.5936 GB, free: 29.01 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.5816, allocations: 12 kB / 0.5937 GB, free: 29 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5816, allocations: 0 / 0.5937 GB, free: 29 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.5816, allocations: 7.969 kB / 0.5937 GB, free: 28.99 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.5824, allocations: 0.7426 MB / 0.5944 GB, free: 28.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.5824, allocations: 0 / 0.5944 GB, free: 28.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.5838, allocations: 303.7 kB / 0.5947 GB, free: 27.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.5838, allocations: 8 kB / 0.5947 GB, free: 27.9 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/0.5839, allocations: 51.97 kB / 0.5947 GB, free: 27.85 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.584, allocations: 4 kB / 0.5947 GB, free: 27.84 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.584, allocations: 0 / 0.5947 GB, free: 27.84 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.5862, allocations: 1.854 MB / 0.5966 GB, free: 25.96 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.5866, allocations: 252 kB / 0.5968 GB, free: 25.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.5867, allocations: 39.97 kB / 0.5968 GB, free: 25.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.5871, allocations: 24 kB / 0.5969 GB, free: 25.64 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.5872, allocations: 81.19 kB / 0.5969 GB, free: 25.56 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.699e-05/0.5873, allocations: 47.98 kB / 0.597 GB, free: 25.51 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.126e-05/0.5874, allocations: 136.3 kB / 0.5971 GB, free: 25.38 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5874, allocations: 0 / 0.5971 GB, free: 25.38 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005005/0.5879, allocations: 228 kB / 0.5973 GB, free: 25.16 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.002405/0.5903, allocations: 2.459 MB / 0.5997 GB, free: 22.67 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.5918, allocations: 1.143 MB / 0.6008 GB, free: 21.52 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5918, allocations: 0 / 0.6008 GB, free: 21.52 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006881/0.5925, allocations: 0.6397 MB / 0.6015 GB, free: 20.89 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.5931, allocations: 107.8 kB / 0.6016 GB, free: 20.79 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008711/0.6018, allocations: 8.362 MB / 0.6097 GB, free: 12.34 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.6021, allocations: 0.9232 MB / 0.6106 GB, free: 11.39 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0008186/0.603, allocations: 368.8 kB / 0.611 GB, free: 11.02 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.6034, allocations: 239.3 kB / 0.6112 GB, free: 10.79 MB / 462.3 MB Notification: Performance of SimCode: time 1.172e-06/0.6034, allocations: 0 / 0.6112 GB, free: 10.79 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5105/1.114, allocations: 15.42 MB / 0.6263 GB, free: 11.6 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/1.114, allocations: 239.7 kB / 0.6265 GB, free: 11.34 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.406, allocations: 0 / 0.6265 GB, free: 11.34 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)