Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.195/2.195, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 172 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 221.3 MB / 0.7915 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008415/0.0008415, allocations: 87.94 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.702e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2476, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9857/1.233, allocations: 173.5 MB / 1.388 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/1.234, allocations: 114.5 kB / 1.388 GB, free: 12.71 MB / 0.8542 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.1381/1.372, allocations: 34.46 MB / 1.422 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.393e-06/1.372, allocations: 0 / 1.422 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.304e-05/1.372, allocations: 27.94 kB / 1.422 GB, free: 14.42 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00317/1.375, allocations: 1.586 MB / 1.424 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/1.375, allocations: 8.031 kB / 1.424 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/1.375, allocations: 41.11 kB / 1.424 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000491/1.376, allocations: 181.6 kB / 1.424 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/1.377, allocations: 0.7792 MB / 1.425 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/1.377, allocations: 22.38 kB / 1.425 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/1.378, allocations: 43.42 kB / 1.425 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/1.378, allocations: 385 kB / 1.425 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.378, allocations: 3.938 kB / 1.425 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/1.378, allocations: 3.938 kB / 1.425 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.378, allocations: 3.953 kB / 1.425 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/1.378, allocations: 431.2 kB / 1.425 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/1.38, allocations: 1.202 MB / 1.427 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/1.38, allocations: 0.558 MB / 1.427 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/1.38, allocations: 328 kB / 1.428 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/1.382, allocations: 1.039 MB / 1.429 GB, free: 7.777 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003532/1.382, allocations: 404 kB / 1.429 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 2.705e-06/1.382, allocations: 0 / 1.429 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.001095/1.383, allocations: 1.04 MB / 1.43 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/1.383, allocations: 92.39 kB / 1.43 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/1.385, allocations: 1.945 MB / 1.432 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/1.385, allocations: 52.31 kB / 1.432 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004518/1.386, allocations: 0.5411 MB / 1.432 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/1.386, allocations: 19.55 kB / 1.433 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/1.386, allocations: 18.44 kB / 1.433 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002262/1.386, allocations: 441.8 kB / 1.433 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/1.388, allocations: 2.08 MB / 1.435 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/1.391, allocations: 2.267 MB / 1.437 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/1.394, allocations: 2.876 MB / 1.44 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.394, allocations: 0 / 1.44 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.007359/1.401, allocations: 6.098 MB / 1.446 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.401, allocations: 4 kB / 1.446 GB, free: 9.273 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/1.401, allocations: 56 kB / 1.446 GB, free: 9.219 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.401, allocations: 4 kB / 1.446 GB, free: 9.215 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/1.402, allocations: 150.6 kB / 1.446 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.402, allocations: 4 kB / 1.446 GB, free: 9.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/1.403, allocations: 317.2 kB / 1.446 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/1.403, allocations: 144.1 kB / 1.447 GB, free: 8.645 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,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],cluSiz[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * 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.0002553/1.404, allocations: 190.9 kB / 1.447 GB, free: 8.473 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/1.404, allocations: 141.7 kB / 1.447 GB, free: 8.332 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/1.405, allocations: 1.011 MB / 1.448 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.405, allocations: 0 / 1.448 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.405, allocations: 0 / 1.448 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.405, allocations: 4 kB / 1.448 GB, free: 7.332 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/1.406, allocations: 0.7687 MB / 1.449 GB, free: 6.645 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.406, allocations: 0 / 1.449 GB, free: 6.645 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.954e-05/1.406, allocations: 11.92 kB / 1.449 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.406, allocations: 7.938 kB / 1.449 GB, free: 6.625 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/1.406, allocations: 0 / 1.449 GB, free: 6.625 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.406, allocations: 4.188 kB / 1.449 GB, free: 6.621 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.406, allocations: 4 kB / 1.449 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009635/1.407, allocations: 1.088 MB / 1.45 GB, free: 5.496 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/1.407, allocations: 234.7 kB / 1.45 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.407, allocations: 11.94 kB / 1.45 GB, free: 5.234 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/1.408, allocations: 8 kB / 1.45 GB, free: 5.227 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/1.408, allocations: 3.984 kB / 1.45 GB, free: 5.223 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/1.408, allocations: 11.98 kB / 1.45 GB, free: 5.211 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001568/1.409, allocations: 1.292 MB / 1.451 GB, free: 3.898 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/1.409, allocations: 0 / 1.451 GB, free: 3.898 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00246/1.412, allocations: 0.7491 MB / 1.452 GB, free: 3.148 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004011/1.416, allocations: 2.396 MB / 1.454 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003172/1.419, allocations: 3.404 MB / 1.458 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.419, allocations: 0 / 1.458 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/1.419, allocations: 343.7 kB / 1.458 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/1.42, allocations: 67.88 kB / 1.458 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/1.425, allocations: 2.924 MB / 1.461 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008261/1.426, allocations: 1.273 MB / 1.462 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004121/1.426, allocations: 122.4 kB / 1.462 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000588/1.427, allocations: 0.5617 MB / 1.463 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of SimCode: time 8.72e-07/1.427, allocations: 0 / 1.463 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05632/1.483, allocations: 30.28 MB / 1.492 GB, free: 9.863 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/1.483, allocations: 267.6 kB / 1.493 GB, free: 9.527 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.476/4.96, allocations: 0 / 1.493 GB, free: 9.527 MB / 0.948 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)