Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7948/0.7948, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 184.4 kB / 173.8 MB, free: 6.129 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 409 MB, free: 10.53 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008951/0.0008953, allocations: 98.42 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 11.84 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 76.76 MB / 0.6354 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5234/0.6751, allocations: 123.3 MB / 0.7558 GB, free: 30.23 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.6755, allocations: 125.9 kB / 0.7559 GB, free: 30.23 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:23:38-23:49:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:24:39-24:50:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:25:56-25:67:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:26:41-26:52:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.09751/0.773, allocations: 31.12 MB / 0.7863 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7731, allocations: 0 / 0.7863 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.12e-05/0.7731, allocations: 19.5 kB / 0.7863 GB, free: 25.53 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.002161/0.7753, allocations: 1.197 MB / 0.7875 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.7753, allocations: 11.59 kB / 0.7875 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.7757, allocations: 105.6 kB / 0.7876 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.7763, allocations: 467.5 kB / 0.7881 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.7764, allocations: 21.47 kB / 0.7881 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.7764, allocations: 33.25 kB / 0.7881 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.7768, allocations: 385.8 kB / 0.7885 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.7768, allocations: 0 / 0.7885 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.7768, allocations: 11.5 kB / 0.7885 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.7768, allocations: 4 kB / 0.7885 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.7771, allocations: 428.7 kB / 0.7889 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.7777, allocations: 0.7769 MB / 0.7897 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.778, allocations: 0.5628 MB / 0.7902 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007082/0.7787, allocations: 1.036 MB / 0.7912 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.7791, allocations: 405.2 kB / 0.7916 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.7791, allocations: 0 / 0.7916 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0009748/0.7801, allocations: 1.306 MB / 0.7929 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.7801, allocations: 81.05 kB / 0.793 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008656/0.781, allocations: 1.128 MB / 0.7941 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.781, allocations: 43.39 kB / 0.7941 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.7812, allocations: 309.1 kB / 0.7944 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.7812, allocations: 15.34 kB / 0.7944 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.7813, allocations: 14.81 kB / 0.7944 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7814, allocations: 430 kB / 0.7948 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009509/0.7824, allocations: 1.215 MB / 0.796 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.7834, allocations: 1.355 MB / 0.7974 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.7846, allocations: 1.611 MB / 0.7989 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7846, allocations: 0 / 0.7989 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003236/0.7879, allocations: 3.451 MB / 0.8023 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.7879, allocations: 3.875 kB / 0.8023 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.7879, allocations: 3.844 kB / 0.8023 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.7879, allocations: 3.781 kB / 0.8023 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.7885, allocations: 152.2 kB / 0.8025 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.7885, allocations: 7.859 kB / 0.8025 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.7891, allocations: 238.7 kB / 0.8027 GB, free: 18.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.718e-05/0.7891, allocations: 62.19 kB / 0.8028 GB, free: 18.71 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: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002646/0.7894, allocations: 262 kB / 0.803 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.7895, allocations: 74.14 kB / 0.8031 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.7902, allocations: 0.9543 MB / 0.804 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7902, allocations: 3.938 kB / 0.804 GB, free: 18.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7902, allocations: 0 / 0.804 GB, free: 18.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.7902, allocations: 7.641 kB / 0.804 GB, free: 18.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.7906, allocations: 0.5095 MB / 0.8045 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7906, allocations: 3.938 kB / 0.8045 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.7906, allocations: 11.77 kB / 0.8045 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.7907, allocations: 0 / 0.8045 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.7907, allocations: 7.875 kB / 0.8045 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.7907, allocations: 4 kB / 0.8045 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7907, allocations: 80 / 0.8045 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.7913, allocations: 1.023 MB / 0.8055 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.7914, allocations: 162.6 kB / 0.8057 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.7915, allocations: 3.562 kB / 0.8057 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.7916, allocations: 7.828 kB / 0.8057 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.7917, allocations: 11.67 kB / 0.8057 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.7917, allocations: 15.59 kB / 0.8057 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000576/0.7923, allocations: 0.703 MB / 0.8064 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7923, allocations: 3.875 kB / 0.8064 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001581/0.7939, allocations: 0.5011 MB / 0.8069 GB, free: 17.16 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) * 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.001573/0.7954, allocations: 0.6572 MB / 0.8076 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.7972, allocations: 2.359 MB / 0.8099 GB, free: 16.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7972, allocations: 3.562 kB / 0.8099 GB, free: 16.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.7974, allocations: 341.6 kB / 0.8102 GB, free: 16.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.7977, allocations: 48.84 kB / 0.8102 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.7995, allocations: 1.969 MB / 0.8122 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.7999, allocations: 1.006 MB / 0.8131 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001951/0.8001, allocations: 65.55 kB / 0.8132 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.803e-05/0.8002, allocations: 38.48 kB / 0.8132 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of SimCode: time 4.3e-07/0.8002, allocations: 0 / 0.8132 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.01824/0.8184, allocations: 11.08 MB / 0.8241 GB, free: 9.152 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe 2>&1)