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.001143/0.001143, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4818/0.4818, allocations: 90.92 MB / 99.35 MB, free: 2.199 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.367/1.367, 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.0009652/0.0009652, allocations: 95.27 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.665e-05, allocations: 4 kB / 494.5 MB, free: 52.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 72.31 MB / 0.5536 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.458/0.5812, allocations: 128.8 MB / 0.6794 GB, free: 13.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.5815, allocations: 115.4 kB / 0.6795 GB, free: 13.63 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.1309/0.7124, allocations: 38.18 MB / 0.7168 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7124, allocations: 0 / 0.7168 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.603e-05/0.7125, allocations: 19.94 kB / 0.7168 GB, free: 12.87 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.003188/0.7157, allocations: 1.149 MB / 0.7179 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.7158, allocations: 12.03 kB / 0.7179 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004826/0.7163, allocations: 106.6 kB / 0.718 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008541/0.7171, allocations: 472.9 kB / 0.7185 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.7172, allocations: 8 kB / 0.7185 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.7173, allocations: 20 kB / 0.7185 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003953/0.7177, allocations: 419.8 kB / 0.7189 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.7181, allocations: 391.1 kB / 0.7193 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.7181, allocations: 0 / 0.7193 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.7181, allocations: 4 kB / 0.7193 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.7181, allocations: 0 / 0.7193 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.7192, allocations: 0.7265 MB / 0.72 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.7197, allocations: 0.5478 MB / 0.7205 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.72, allocations: 333.5 kB / 0.7208 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.7211, allocations: 1.032 MB / 0.7218 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/0.7215, allocations: 396.9 kB / 0.7222 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 3.437e-06/0.7215, allocations: 3.984 kB / 0.7222 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.00107/0.7226, allocations: 0.9725 MB / 0.7232 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.7227, allocations: 85.06 kB / 0.7233 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.7238, allocations: 1.069 MB / 0.7243 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.7239, allocations: 25.7 kB / 0.7243 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.7242, allocations: 290 kB / 0.7246 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.7242, allocations: 19.7 kB / 0.7246 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.7242, allocations: 4.844 kB / 0.7246 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.7244, allocations: 423.9 kB / 0.725 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.7257, allocations: 1.198 MB / 0.7262 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.727, allocations: 1.34 MB / 0.7275 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.7287, allocations: 1.602 MB / 0.7291 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.7287, allocations: 0 / 0.7291 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004155/0.7329, allocations: 3.425 MB / 0.7324 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.7329, allocations: 4 kB / 0.7324 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.733, allocations: 4 kB / 0.7324 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.733, allocations: 7.938 kB / 0.7324 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.7336, allocations: 147.8 kB / 0.7326 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.7337, allocations: 4 kB / 0.7326 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.7343, allocations: 232.2 kB / 0.7328 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.7344, allocations: 59.98 kB / 0.7329 GB, free: 11.87 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: 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.0001845/0.7346, allocations: 116.8 kB / 0.733 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.7347, allocations: 74.69 kB / 0.733 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.7358, allocations: 0.9447 MB / 0.734 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7358, allocations: 0 / 0.734 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7358, allocations: 0 / 0.734 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.7358, allocations: 0 / 0.734 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.7364, allocations: 0.4972 MB / 0.7344 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.7364, allocations: 0 / 0.7344 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.741e-05/0.7365, allocations: 8 kB / 0.7344 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.7365, allocations: 0 / 0.7344 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.7366, allocations: 11.92 kB / 0.7345 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.7366, allocations: 0 / 0.7345 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.7366, allocations: 0 / 0.7345 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009323/0.7375, allocations: 1.005 MB / 0.7354 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.7377, allocations: 159.8 kB / 0.7356 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/0.7378, allocations: 4 kB / 0.7356 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.7379, allocations: 11.98 kB / 0.7356 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.738, allocations: 4 kB / 0.7356 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.738, allocations: 19.91 kB / 0.7356 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007537/0.7388, allocations: 0.6443 MB / 0.7363 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7388, allocations: 0 / 0.7363 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002906/0.7417, allocations: 0.6944 MB / 0.7369 GB, free: 7.586 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.003958/0.7457, allocations: 0.8945 MB / 0.7378 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002536/0.7482, allocations: 2.386 MB / 0.7401 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7483, allocations: 0 / 0.7401 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.7486, allocations: 327.8 kB / 0.7405 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.7489, allocations: 58.47 kB / 0.7405 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.7509, allocations: 1.477 MB / 0.742 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.7514, allocations: 1.009 MB / 0.7429 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002423/0.7517, allocations: 59.27 kB / 0.743 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.7518, allocations: 39.42 kB / 0.743 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.7518, allocations: 0 / 0.743 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of Templates: time 0.02346/0.7753, allocations: 13.87 MB / 0.7566 GB, free: 3.469 MB / 0.5417 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)