Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_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.GFunction_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 180.9 kB / 8.006 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.4847/0.4847, 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.335/1.335, allocations: 221.5 MB / 343.2 MB, free: 1.562 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.0009312/0.0009312, allocations: 95.88 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.906e-05, allocations: 8 kB / 494.6 MB, free: 52.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 72.31 MB / 0.5537 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4336/0.5579, allocations: 124.3 MB / 0.675 GB, free: 1.957 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5583, allocations: 115.2 kB / 0.6751 GB, free: 1.887 MB / 474.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.1304/0.6887, allocations: 34.28 MB / 0.7086 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6888, allocations: 0 / 0.7086 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.692e-05/0.6888, allocations: 20 kB / 0.7086 GB, free: 4.176 MB / 0.4948 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.003862/0.6927, allocations: 1.589 MB / 0.7102 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6928, allocations: 8.031 kB / 0.7102 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/0.6934, allocations: 177.6 kB / 0.7104 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.6947, allocations: 0.7869 MB / 0.7111 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.6947, allocations: 7.984 kB / 0.7111 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.6948, allocations: 27.94 kB / 0.7112 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004031/0.6952, allocations: 426.9 kB / 0.7116 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.6957, allocations: 382.8 kB / 0.7119 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6957, allocations: 0 / 0.7119 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.6957, allocations: 0 / 0.7119 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6957, allocations: 0 / 0.7119 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.6971, allocations: 1.15 MB / 0.7131 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.6976, allocations: 0.5502 MB / 0.7136 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.6978, allocations: 332.2 kB / 0.7139 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.6989, allocations: 1.032 MB / 0.7149 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.6993, allocations: 398 kB / 0.7153 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.694e-06/0.6993, allocations: 0 / 0.7153 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001164/0.7005, allocations: 1.043 MB / 0.7163 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.7006, allocations: 89.09 kB / 0.7164 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.7027, allocations: 1.837 MB / 0.7182 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.874e-05/0.7028, allocations: 33.7 kB / 0.7182 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/0.7032, allocations: 0.5265 MB / 0.7187 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.7033, allocations: 19.03 kB / 0.7188 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.7034, allocations: 4 kB / 0.7188 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.7036, allocations: 444.5 kB / 0.7192 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.7056, allocations: 2.065 MB / 0.7212 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/0.7077, allocations: 2.24 MB / 0.7234 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002678/0.7104, allocations: 2.856 MB / 0.7262 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7104, allocations: 3.938 kB / 0.7262 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006836/0.7173, allocations: 6.04 MB / 0.7321 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.7173, allocations: 8 kB / 0.7321 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/0.7174, allocations: 59.98 kB / 0.7321 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.7175, allocations: 0 / 0.7321 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.7181, allocations: 147.7 kB / 0.7323 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7181, allocations: 8.031 kB / 0.7323 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009427/0.7191, allocations: 303.1 kB / 0.7326 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.7193, allocations: 140 kB / 0.7327 GB, free: 11.81 MB / 0.5261 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.0002467/0.7195, allocations: 174.1 kB / 0.7329 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008587/0.7204, allocations: 1.03 MB / 0.7339 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.7205, allocations: 145.6 kB / 0.734 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009393/0.7214, allocations: 1.004 MB / 0.735 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7215, allocations: 4 kB / 0.735 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.7215, allocations: 7.938 kB / 0.735 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7215, allocations: 0 / 0.735 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006957/0.7222, allocations: 0.7415 MB / 0.7357 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7222, allocations: 0 / 0.7357 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-05/0.7223, allocations: 11.98 kB / 0.7358 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7223, allocations: 0 / 0.7358 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.7223, allocations: 8.031 kB / 0.7358 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7223, allocations: 0 / 0.7358 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7223, allocations: 0 / 0.7358 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009385/0.7233, allocations: 1.081 MB / 0.7368 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.7235, allocations: 238.7 kB / 0.737 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.7236, allocations: 4 kB / 0.737 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.724, allocations: 4 kB / 0.7371 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.724, allocations: 15.88 kB / 0.7371 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.7241, allocations: 11.98 kB / 0.7371 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001219/0.7253, allocations: 1.181 MB / 0.7382 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7253, allocations: 0 / 0.7382 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00216/0.7275, allocations: 0.7335 MB / 0.7389 GB, free: 5.297 MB / 0.5261 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.003292/0.7308, allocations: 2.401 MB / 0.7413 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002877/0.7337, allocations: 3.379 MB / 0.7446 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7337, allocations: 0 / 0.7446 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.7339, allocations: 339.8 kB / 0.7449 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.7343, allocations: 68.91 kB / 0.745 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/0.7393, allocations: 2.908 MB / 0.7478 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/0.7402, allocations: 1.273 MB / 0.7491 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004342/0.7407, allocations: 126.3 kB / 0.7492 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/0.7413, allocations: 0.5656 MB / 0.7497 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of SimCode: time 7.81e-07/0.7413, allocations: 0 / 0.7497 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05992/0.8012, allocations: 29.3 MB / 0.7784 GB, free: 12.83 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.8015, allocations: 249.6 kB / 0.7786 GB, free: 12.55 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.634, allocations: 3.938 kB / 0.7786 GB, free: 12.54 MB / 0.573 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)