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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 183.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4891/0.4891, allocations: 92 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.2 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008596/0.0008596, allocations: 96.22 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 8 kB / 0.4983 GB, free: 42.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1633, allocations: 72.32 MB / 0.5689 GB, free: 1.891 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4867/0.6501, allocations: 125 MB / 0.691 GB, free: 11.41 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/0.6505, allocations: 123.9 kB / 0.6911 GB, free: 11.29 MB / 490.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.1313/0.7819, allocations: 34.5 MB / 0.7248 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7819, allocations: 0 / 0.7248 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001145/0.7821, allocations: 24 kB / 0.7248 GB, free: 8.719 MB / 0.5105 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.004853/0.7869, allocations: 1.922 MB / 0.7267 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.787, allocations: 8.031 kB / 0.7267 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006328/0.7876, allocations: 177.6 kB / 0.7269 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.7894, allocations: 0.7836 MB / 0.7276 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.7894, allocations: 27.98 kB / 0.7276 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.7896, allocations: 36 kB / 0.7277 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.79, allocations: 395.1 kB / 0.7281 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.79, allocations: 4 kB / 0.7281 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.7901, allocations: 3.953 kB / 0.7281 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.7901, allocations: 0 / 0.7281 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.7905, allocations: 435.7 kB / 0.7285 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.792, allocations: 1.203 MB / 0.7297 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.7926, allocations: 0.5634 MB / 0.7302 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009703/0.7935, allocations: 1.032 MB / 0.7312 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003991/0.794, allocations: 400.9 kB / 0.7316 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.794, allocations: 3.938 kB / 0.7316 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001549/0.7955, allocations: 1.385 MB / 0.733 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.7956, allocations: 81.05 kB / 0.733 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.7981, allocations: 1.959 MB / 0.7349 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.7982, allocations: 49.7 kB / 0.735 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000535/0.7988, allocations: 0.5451 MB / 0.7355 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.7988, allocations: 23.78 kB / 0.7355 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.7989, allocations: 20 kB / 0.7356 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.7991, allocations: 449 kB / 0.736 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.8015, allocations: 2.093 MB / 0.738 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/0.804, allocations: 2.278 MB / 0.7403 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.8069, allocations: 2.888 MB / 0.7431 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.8069, allocations: 0 / 0.7431 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.008128/0.8151, allocations: 6.131 MB / 0.7491 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.8151, allocations: 4 kB / 0.7491 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.8152, allocations: 56 kB / 0.7491 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.8153, allocations: 4 kB / 0.7491 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.8159, allocations: 143.8 kB / 0.7493 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.816, allocations: 7.953 kB / 0.7493 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009708/0.8169, allocations: 319.1 kB / 0.7496 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.8171, allocations: 148 kB / 0.7497 GB, free: 14.5 MB / 0.5417 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 () * Number of clocked 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.0007241/0.8179, allocations: 489.3 kB / 0.7502 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.8181, allocations: 137.7 kB / 0.7503 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.8193, allocations: 1.015 MB / 0.7513 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.8193, allocations: 0 / 0.7513 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8193, allocations: 0 / 0.7513 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.8193, allocations: 7.953 kB / 0.7513 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009499/0.8203, allocations: 0.775 MB / 0.7521 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.8203, allocations: 0 / 0.7521 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/0.8204, allocations: 11.94 kB / 0.7521 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.8204, allocations: 0 / 0.7521 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.8204, allocations: 7.984 kB / 0.7521 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8204, allocations: 0 / 0.7521 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8205, allocations: 4.031 kB / 0.7521 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.8215, allocations: 1.092 MB / 0.7532 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.8219, allocations: 226.7 kB / 0.7534 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.8221, allocations: 4 kB / 0.7534 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.8224, allocations: 15.98 kB / 0.7534 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.8225, allocations: 7.953 kB / 0.7534 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.8225, allocations: 15.91 kB / 0.7534 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001729/0.8243, allocations: 1.305 MB / 0.7547 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8243, allocations: 0 / 0.7547 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002688/0.827, allocations: 0.7413 MB / 0.7554 GB, free: 8.523 MB / 0.5417 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) * Number of clocked states: 0 () * 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.003378/0.8304, allocations: 0.8095 MB / 0.7562 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003456/0.8338, allocations: 3.424 MB / 0.7596 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.8338, allocations: 0 / 0.7596 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.8342, allocations: 339.8 kB / 0.7599 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.8346, allocations: 68.8 kB / 0.7599 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.8391, allocations: 3.083 MB / 0.763 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.8402, allocations: 1.272 MB / 0.7642 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00046/0.8407, allocations: 122.4 kB / 0.7643 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.8409, allocations: 67.38 kB / 0.7644 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of SimCode: time 8.42e-07/0.8409, allocations: 4 kB / 0.7644 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.03747/0.8784, allocations: 15.53 MB / 0.7795 GB, free: 15.78 MB / 0.573 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)