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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6613/0.6613, allocations: 117.9 MB / 133.9 MB, free: 4.516 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.000929/0.0009291, allocations: 180.5 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.4 MB / 394.8 MB, free: 20.91 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.0007372/0.0007371, allocations: 104.2 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 12 kB / 0.5424 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3321, allocations: 74.54 MB / 0.6152 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.4746, allocations: 122.2 MB / 0.7345 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.475, allocations: 123.9 kB / 0.7347 GB, free: 11.57 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.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.4.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.4.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.3773/0.8523, allocations: 31.22 MB / 0.7652 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8524, allocations: 0 / 0.7652 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.88e-05/0.8525, allocations: 11.84 kB / 0.7652 GB, free: 118.8 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.00275/0.8552, allocations: 1.2 MB / 0.7663 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.8553, allocations: 7.5 kB / 0.7663 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.8557, allocations: 101.4 kB / 0.7664 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.8565, allocations: 481.6 kB / 0.7669 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.8565, allocations: 23.19 kB / 0.7669 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.8566, allocations: 32 kB / 0.767 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.857, allocations: 400.2 kB / 0.7673 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.857, allocations: 1.688 kB / 0.7673 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.857, allocations: 3.938 kB / 0.7673 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.857, allocations: 0 / 0.7673 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.8574, allocations: 431.7 kB / 0.7678 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.8581, allocations: 0.7705 MB / 0.7685 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.8585, allocations: 0.5623 MB / 0.7691 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.8587, allocations: 333.7 kB / 0.7694 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007774/0.8595, allocations: 1.047 MB / 0.7704 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.8598, allocations: 404.9 kB / 0.7708 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.8598, allocations: 0 / 0.7708 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.00105/0.8609, allocations: 1.311 MB / 0.7721 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.8609, allocations: 81.11 kB / 0.7721 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.8622, allocations: 1.269 MB / 0.7734 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.569e-05/0.8623, allocations: 41.7 kB / 0.7734 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.8626, allocations: 301.9 kB / 0.7737 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.8626, allocations: 23.47 kB / 0.7737 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.8627, allocations: 12 kB / 0.7737 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8628, allocations: 428 kB / 0.7741 GB, free: 110 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.8639, allocations: 1.214 MB / 0.7753 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.865, allocations: 1.361 MB / 0.7767 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004553/0.8696, allocations: 2.758 MB / 0.7794 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.8696, allocations: 0 / 0.7794 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003688/0.8733, allocations: 3.451 MB / 0.7827 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.8734, allocations: 11.72 kB / 0.7827 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.8734, allocations: 4 kB / 0.7827 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.8734, allocations: 4 kB / 0.7827 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.874, allocations: 143.8 kB / 0.7829 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.8741, allocations: 8.031 kB / 0.7829 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/0.8747, allocations: 240.3 kB / 0.7831 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/0.8748, allocations: 59.98 kB / 0.7832 GB, free: 100.6 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.000308/0.8751, allocations: 261.5 kB / 0.7834 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.8752, allocations: 78.61 kB / 0.7835 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007956/0.876, allocations: 0.9445 MB / 0.7844 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.876, allocations: 4 kB / 0.7844 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.876, allocations: 0 / 0.7844 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.876, allocations: 0 / 0.7844 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.8764, allocations: 0.5175 MB / 0.7849 GB, free: 98.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8764, allocations: 11.92 kB / 0.7849 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.8765, allocations: 7.984 kB / 0.7849 GB, free: 98.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.8765, allocations: 3.938 kB / 0.785 GB, free: 98.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.8765, allocations: 7.938 kB / 0.785 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8765, allocations: 3.938 kB / 0.785 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8765, allocations: 4.031 kB / 0.785 GB, free: 98.74 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.8772, allocations: 1.009 MB / 0.786 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.8774, allocations: 155.8 kB / 0.7861 GB, free: 97.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.8774, allocations: 3.938 kB / 0.7861 GB, free: 97.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.8776, allocations: 11.98 kB / 0.7861 GB, free: 97.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.8776, allocations: 4 kB / 0.7861 GB, free: 97.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.8777, allocations: 19.97 kB / 0.7861 GB, free: 97.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006469/0.8783, allocations: 0.7023 MB / 0.7868 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/0.8783, allocations: 0 / 0.7868 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001932/0.8803, allocations: 0.503 MB / 0.7873 GB, free: 96.29 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.002329/0.8826, allocations: 0.648 MB / 0.788 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.8845, allocations: 2.356 MB / 0.7903 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.8845, allocations: 0 / 0.7903 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.8847, allocations: 343.7 kB / 0.7906 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.8853, allocations: 56.78 kB / 0.7906 GB, free: 92.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.8873, allocations: 1.977 MB / 0.7926 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.8877, allocations: 0.989 MB / 0.7935 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.8879, allocations: 59.59 kB / 0.7936 GB, free: 89.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.888, allocations: 43.41 kB / 0.7936 GB, free: 89.79 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/0.888, allocations: 0 / 0.7936 GB, free: 89.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.01931/0.9073, allocations: 11.35 MB / 0.8047 GB, free: 78.53 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)