Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 176.1 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.505/0.505, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009072/0.0009073, allocations: 86.48 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.522e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1256, allocations: 72.31 MB / 0.5537 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5756, allocations: 106.1 MB / 0.6573 GB, free: 4.223 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5759, allocations: 100.6 kB / 0.6574 GB, free: 4.16 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.05127/0.6272, allocations: 13.12 MB / 0.6702 GB, free: 8.828 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.739e-06/0.6272, allocations: 7.984 kB / 0.6702 GB, free: 8.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.759e-05/0.6273, allocations: 12 kB / 0.6702 GB, free: 8.809 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001195/0.6285, allocations: 1.008 MB / 0.6712 GB, free: 7.809 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6285, allocations: 16.03 kB / 0.6712 GB, free: 7.793 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.6287, allocations: 110.5 kB / 0.6713 GB, free: 7.684 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007433/0.6294, allocations: 0.5462 MB / 0.6719 GB, free: 7.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.6295, allocations: 0 / 0.6719 GB, free: 7.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.6295, allocations: 4 kB / 0.6719 GB, free: 7.086 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004536/0.63, allocations: 347.5 kB / 0.6722 GB, free: 6.746 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.6303, allocations: 241.3 kB / 0.6724 GB, free: 6.504 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.6303, allocations: 0 / 0.6724 GB, free: 6.504 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.6304, allocations: 3.953 kB / 0.6724 GB, free: 6.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.6304, allocations: 0 / 0.6724 GB, free: 6.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.6309, allocations: 0.5903 MB / 0.673 GB, free: 5.984 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.6312, allocations: 194.3 kB / 0.6732 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.6314, allocations: 180.6 kB / 0.6734 GB, free: 5.605 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.042e-05/0.6315, allocations: 28.7 kB / 0.6734 GB, free: 5.574 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.6315, allocations: 34.55 kB / 0.6734 GB, free: 5.531 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.6315, allocations: 0 / 0.6734 GB, free: 5.531 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0007479/0.6323, allocations: 0.5074 MB / 0.6739 GB, free: 5.016 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.6323, allocations: 54.03 kB / 0.674 GB, free: 4.953 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.6334, allocations: 1.136 MB / 0.6751 GB, free: 4.012 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/0.6335, allocations: 29.7 kB / 0.6751 GB, free: 3.977 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.6337, allocations: 455.8 kB / 0.6755 GB, free: 3.766 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.6338, allocations: 3.906 kB / 0.6755 GB, free: 3.762 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.6338, allocations: 7.938 kB / 0.6756 GB, free: 3.754 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.634, allocations: 340.3 kB / 0.6759 GB, free: 3.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006685/0.6346, allocations: 0.6843 MB / 0.6765 GB, free: 2.871 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/0.6353, allocations: 0.6843 MB / 0.6772 GB, free: 2.312 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.636, allocations: 0.7143 MB / 0.6779 GB, free: 1.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6361, allocations: 0 / 0.6779 GB, free: 1.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001816/0.6379, allocations: 1.624 MB / 0.6795 GB, free: 356 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6379, allocations: 7.938 kB / 0.6795 GB, free: 348 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.693e-05/0.638, allocations: 32 kB / 0.6795 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.638, allocations: 0 / 0.6795 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.144e-05/0.6381, allocations: 15.97 kB / 0.6796 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.6381, allocations: 0 / 0.6796 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.6384, allocations: 74.94 kB / 0.6796 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-05/0.6385, allocations: 78.83 kB / 0.6797 GB, free: 152 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 105 (cmp,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.6387, allocations: 166.8 kB / 0.6799 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006258/0.6394, allocations: 0.5073 MB / 0.6804 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.6395, allocations: 106.5 kB / 0.6805 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.6408, allocations: 0.6906 MB / 0.6811 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6409, allocations: 4.062 kB / 0.6811 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6409, allocations: 4 kB / 0.6811 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6409, allocations: 0 / 0.6811 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.6413, allocations: 0.5101 MB / 0.6816 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.6413, allocations: 0 / 0.6816 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.6414, allocations: 15.95 kB / 0.6817 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.6414, allocations: 4 kB / 0.6817 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.6414, allocations: 11.97 kB / 0.6817 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6414, allocations: 3.984 kB / 0.6817 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6414, allocations: 3.984 kB / 0.6817 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.6421, allocations: 0.5407 MB / 0.6822 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.6422, allocations: 178.7 kB / 0.6824 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.6423, allocations: 3.984 kB / 0.6824 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.6426, allocations: 0 / 0.6824 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.6426, allocations: 15.97 kB / 0.6824 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.6427, allocations: 43.95 kB / 0.6824 GB, free: 13.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008229/0.6435, allocations: 0.8299 MB / 0.6832 GB, free: 12.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6435, allocations: 8.031 kB / 0.6833 GB, free: 12.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007309/0.6443, allocations: 246.7 kB / 0.6835 GB, free: 12.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00148/0.6458, allocations: 1.28 MB / 0.6847 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009968/0.6468, allocations: 1.082 MB / 0.6858 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6468, allocations: 0 / 0.6858 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.647, allocations: 191.7 kB / 0.686 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.6473, allocations: 53.27 kB / 0.686 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.6495, allocations: 1.601 MB / 0.6876 GB, free: 8.578 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.65, allocations: 1.034 MB / 0.6886 GB, free: 7.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000388/0.6504, allocations: 175.3 kB / 0.6888 GB, free: 7.348 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/0.6508, allocations: 381.6 kB / 0.6891 GB, free: 7.25 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6508, allocations: 0 / 0.6891 GB, free: 7.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/0.6897, allocations: 16.36 MB / 0.7051 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.69, allocations: 264.1 kB / 0.7054 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/2.929, allocations: 0 / 0.7054 GB, free: 6.594 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)