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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 181.8 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4753/0.4753, allocations: 90.82 MB / 104.5 MB, free: 9.793 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.369/1.369, allocations: 221.3 MB / 348.3 MB, free: 0.5 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.001179/0.001179, allocations: 92.95 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.234e-05, allocations: 4 kB / 0.4897 GB, free: 5.328 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4245, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.5769, allocations: 129.4 MB / 0.6867 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.5773, allocations: 119.9 kB / 0.6868 GB, free: 6.672 MB / 0.4948 GB [/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.457/1.034, allocations: 38.43 MB / 0.7243 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/1.034, allocations: 7.688 kB / 0.7243 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.989e-05/1.034, allocations: 11.03 kB / 0.7243 GB, free: 130.7 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.002513/1.037, allocations: 1.154 MB / 0.7255 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.037, allocations: 13.92 kB / 0.7255 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/1.037, allocations: 103.8 kB / 0.7256 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007329/1.038, allocations: 468.8 kB / 0.726 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/1.038, allocations: 30.75 kB / 0.7261 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/1.038, allocations: 36.59 kB / 0.7261 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/1.039, allocations: 380.8 kB / 0.7265 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.039, allocations: 0 / 0.7265 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.039, allocations: 7.922 kB / 0.7265 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/1.039, allocations: 0 / 0.7265 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/1.039, allocations: 431 kB / 0.7269 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/1.04, allocations: 0.7829 MB / 0.7276 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/1.04, allocations: 0.5592 MB / 0.7282 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/1.04, allocations: 334.7 kB / 0.7285 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007477/1.041, allocations: 1.029 MB / 0.7295 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/1.041, allocations: 403.3 kB / 0.7299 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/1.041, allocations: 0 / 0.7299 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0007521/1.042, allocations: 0.9755 MB / 0.7308 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/1.042, allocations: 84.62 kB / 0.7309 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009546/1.043, allocations: 1.118 MB / 0.732 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/1.043, allocations: 49.64 kB / 0.7321 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/1.043, allocations: 298.8 kB / 0.7324 GB, free: 126 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/1.043, allocations: 26.8 kB / 0.7324 GB, free: 126 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/1.043, allocations: 16 kB / 0.7324 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/1.043, allocations: 420.4 kB / 0.7328 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009538/1.044, allocations: 1.216 MB / 0.734 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/1.045, allocations: 1.355 MB / 0.7353 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/1.047, allocations: 1.624 MB / 0.7369 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/1.047, allocations: 0 / 0.7369 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003167/1.05, allocations: 3.458 MB / 0.7403 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.05, allocations: 4 kB / 0.7403 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.05, allocations: 4 kB / 0.7403 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.05, allocations: 4 kB / 0.7403 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/1.05, allocations: 147.5 kB / 0.7404 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/1.05, allocations: 11.61 kB / 0.7404 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/1.051, allocations: 247.9 kB / 0.7407 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/1.051, allocations: 59.59 kB / 0.7407 GB, free: 118.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * 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.0001253/1.051, allocations: 128.5 kB / 0.7408 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/1.051, allocations: 70.69 kB / 0.7409 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006841/1.052, allocations: 0.9475 MB / 0.7418 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.052, allocations: 0 / 0.7418 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.052, allocations: 3.562 kB / 0.7418 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.052, allocations: 7.953 kB / 0.7419 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/1.052, allocations: 0.5096 MB / 0.7423 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.052, allocations: 4 kB / 0.7424 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/1.052, allocations: 14.83 kB / 0.7424 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.053, allocations: 0 / 0.7424 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/1.053, allocations: 4 kB / 0.7424 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.053, allocations: 0 / 0.7424 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.053, allocations: 0 / 0.7424 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/1.053, allocations: 1.018 MB / 0.7434 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.053, allocations: 159.7 kB / 0.7435 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.925e-05/1.053, allocations: 7.938 kB / 0.7435 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/1.053, allocations: 4 kB / 0.7435 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/1.054, allocations: 10.91 kB / 0.7435 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/1.054, allocations: 15.5 kB / 0.7436 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006264/1.054, allocations: 0.7068 MB / 0.7442 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.054, allocations: 0 / 0.7442 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002185/1.056, allocations: 0.7031 MB / 0.7449 GB, free: 114.2 MB / 0.5105 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.003193/1.06, allocations: 0.8826 MB / 0.7458 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001708/1.061, allocations: 2.404 MB / 0.7481 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.061, allocations: 4 kB / 0.7481 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/1.062, allocations: 337.5 kB / 0.7485 GB, free: 111 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/1.062, allocations: 52.33 kB / 0.7485 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/1.063, allocations: 1.496 MB / 0.75 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/1.064, allocations: 1.009 MB / 0.751 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002124/1.064, allocations: 68.67 kB / 0.751 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/1.064, allocations: 39.09 kB / 0.7511 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of SimCode: time 4.41e-07/1.064, allocations: 0 / 0.7511 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.02176/1.086, allocations: 15.15 MB / 0.7659 GB, free: 93.63 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)