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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, 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.4981/0.4981, allocations: 90.92 MB / 99.35 MB, free: 2.219 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.363/1.363, allocations: 221.5 MB / 343.2 MB, free: 1.617 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.0009756/0.0009754, allocations: 103.8 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.923e-05, allocations: 4 kB / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 72.32 MB / 0.5536 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.6002, allocations: 124.3 MB / 0.6749 GB, free: 2.215 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.6005, allocations: 118.1 kB / 0.675 GB, free: 2.145 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.1037/0.7042, allocations: 30.19 MB / 0.7045 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.727e-06/0.7042, allocations: 0 / 0.7045 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.779e-05/0.7042, allocations: 19.94 kB / 0.7046 GB, free: 8.16 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.002377/0.7066, allocations: 1.123 MB / 0.7056 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7067, allocations: 8.031 kB / 0.7057 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/0.707, allocations: 90.75 kB / 0.7057 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.7076, allocations: 435.6 kB / 0.7062 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.7077, allocations: 7.922 kB / 0.7062 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.7077, allocations: 20 kB / 0.7062 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003578/0.7081, allocations: 427.4 kB / 0.7066 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.7084, allocations: 388.8 kB / 0.707 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7084, allocations: 0 / 0.707 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.7085, allocations: 3.984 kB / 0.707 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.7085, allocations: 0 / 0.707 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.7091, allocations: 0.6949 MB / 0.7076 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.7095, allocations: 0.5544 MB / 0.7082 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.7098, allocations: 333.3 kB / 0.7085 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000881/0.7107, allocations: 1.032 MB / 0.7095 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.711, allocations: 395.6 kB / 0.7099 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.711, allocations: 0 / 0.7099 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0009628/0.712, allocations: 0.9624 MB / 0.7108 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.7121, allocations: 92.98 kB / 0.7109 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/0.713, allocations: 1.006 MB / 0.7119 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.713, allocations: 29.7 kB / 0.7119 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.7132, allocations: 258.2 kB / 0.7122 GB, free: 396 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.7132, allocations: 23.61 kB / 0.7122 GB, free: 376 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.7133, allocations: 4.031 kB / 0.7122 GB, free: 372 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.7135, allocations: 417.1 kB / 0.7126 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.7146, allocations: 1.198 MB / 0.7138 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.7158, allocations: 1.332 MB / 0.7151 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.7173, allocations: 1.61 MB / 0.7166 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7173, allocations: 0 / 0.7166 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003767/0.7211, allocations: 3.417 MB / 0.72 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.7211, allocations: 12.03 kB / 0.72 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.7212, allocations: 4 kB / 0.72 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.7212, allocations: 4 kB / 0.72 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.7218, allocations: 139.8 kB / 0.7201 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.7218, allocations: 4 kB / 0.7201 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.7224, allocations: 236.2 kB / 0.7204 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.38e-05/0.7225, allocations: 59.98 kB / 0.7204 GB, free: 8.676 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.0001477/0.7226, allocations: 122.8 kB / 0.7205 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.7227, allocations: 66.78 kB / 0.7206 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008945/0.7236, allocations: 0.9245 MB / 0.7215 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7236, allocations: 0 / 0.7215 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.7236, allocations: 4 kB / 0.7215 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7236, allocations: 0 / 0.7215 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.724, allocations: 476.2 kB / 0.722 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.724, allocations: 0 / 0.722 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.7241, allocations: 7.984 kB / 0.722 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.7241, allocations: 11.97 kB / 0.722 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.7241, allocations: 4 kB / 0.722 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7241, allocations: 0 / 0.722 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.7241, allocations: 4 kB / 0.722 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/0.725, allocations: 0.9964 MB / 0.723 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.7251, allocations: 147.9 kB / 0.7231 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.7251, allocations: 11.98 kB / 0.7231 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.7253, allocations: 4 kB / 0.7231 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.7253, allocations: 11.92 kB / 0.7231 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.7254, allocations: 11.98 kB / 0.7231 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000571/0.7259, allocations: 0.5948 MB / 0.7237 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7259, allocations: 0 / 0.7237 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002209/0.7282, allocations: 0.6905 MB / 0.7244 GB, free: 4.5 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.002064/0.7302, allocations: 0.7956 MB / 0.7252 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.7323, allocations: 2.386 MB / 0.7275 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7323, allocations: 0 / 0.7275 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.7326, allocations: 331.8 kB / 0.7278 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.7328, allocations: 30.91 kB / 0.7278 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.7344, allocations: 1.436 MB / 0.7292 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.7349, allocations: 0.9852 MB / 0.7302 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.7351, allocations: 59.27 kB / 0.7303 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.7352, allocations: 35.42 kB / 0.7303 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.7352, allocations: 0 / 0.7303 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.02094/0.7562, allocations: 12.8 MB / 0.7428 GB, free: 1.617 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)