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.7727/0.7727, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 192.7 kB / 169.7 MB, free: 1.727 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.851/1.851, allocations: 205.1 MB / 404.5 MB, free: 1.656 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.000835/0.0008355, allocations: 96.64 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.475e-05/4.502e-05, allocations: 8 kB / 0.5532 GB, free: 54.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2002, allocations: 76.75 MB / 0.6282 GB, free: 9.977 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7089/0.9092, allocations: 123.3 MB / 0.7486 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.9096, allocations: 119 kB / 0.7487 GB, free: 6.207 MB / 0.4948 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.1102/1.02, allocations: 31.06 MB / 0.779 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.485e-06/1.02, allocations: 0 / 0.779 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.558e-05/1.02, allocations: 24 kB / 0.779 GB, free: 9.734 MB / 0.5261 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.002448/1.022, allocations: 1.041 MB / 0.7801 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.022, allocations: 8.031 kB / 0.7801 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/1.023, allocations: 98.66 kB / 0.7802 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008357/1.024, allocations: 472.7 kB / 0.7806 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/1.024, allocations: 20 kB / 0.7806 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.511e-05/1.024, allocations: 36 kB / 0.7807 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/1.024, allocations: 387.1 kB / 0.781 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/1.024, allocations: 0 / 0.781 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/1.024, allocations: 7.953 kB / 0.781 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.024, allocations: 0 / 0.781 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/1.025, allocations: 427.8 kB / 0.7815 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/1.026, allocations: 0.7744 MB / 0.7822 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/1.026, allocations: 0.5555 MB / 0.7828 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/1.026, allocations: 333.7 kB / 0.7831 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.028, allocations: 1.028 MB / 0.7841 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/1.028, allocations: 408.8 kB / 0.7845 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/1.028, allocations: 0 / 0.7845 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001059/1.029, allocations: 0.9763 MB / 0.7854 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/1.029, allocations: 85.09 kB / 0.7855 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/1.031, allocations: 1.116 MB / 0.7866 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.614e-05/1.031, allocations: 41.7 kB / 0.7866 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/1.031, allocations: 298 kB / 0.7869 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/1.031, allocations: 19.8 kB / 0.7869 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/1.031, allocations: 16 kB / 0.7869 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00022/1.031, allocations: 419.8 kB / 0.7873 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/1.032, allocations: 1.206 MB / 0.7885 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/1.034, allocations: 1.345 MB / 0.7898 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/1.036, allocations: 1.6 MB / 0.7914 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.036, allocations: 4 kB / 0.7914 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004406/1.04, allocations: 3.43 MB / 0.7948 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/1.04, allocations: 4 kB / 0.7948 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/1.04, allocations: 3.938 kB / 0.7948 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/1.04, allocations: 4 kB / 0.7948 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/1.041, allocations: 143.8 kB / 0.7949 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/1.041, allocations: 11.94 kB / 0.7949 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/1.042, allocations: 240.3 kB / 0.7951 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.042, allocations: 59.98 kB / 0.7952 GB, free: 8.633 MB / 0.5417 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 () * 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.000153/1.042, allocations: 136.8 kB / 0.7953 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/1.042, allocations: 70.69 kB / 0.7954 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/1.043, allocations: 0.9406 MB / 0.7963 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/1.043, allocations: 0 / 0.7963 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.043, allocations: 0 / 0.7963 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/1.043, allocations: 7.953 kB / 0.7963 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/1.044, allocations: 0.5099 MB / 0.7968 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.044, allocations: 8.031 kB / 0.7968 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.068e-05/1.044, allocations: 11.98 kB / 0.7968 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.044, allocations: 0 / 0.7968 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/1.044, allocations: 0 / 0.7968 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/1.044, allocations: 4 kB / 0.7968 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.044, allocations: 0 / 0.7968 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/1.045, allocations: 1.017 MB / 0.7978 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.045, allocations: 159.8 kB / 0.798 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/1.045, allocations: 4 kB / 0.798 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/1.045, allocations: 7.984 kB / 0.798 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/1.045, allocations: 7.938 kB / 0.798 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/1.045, allocations: 11.98 kB / 0.798 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008318/1.046, allocations: 0.7 MB / 0.7987 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/1.046, allocations: 0 / 0.7987 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002649/1.049, allocations: 0.5071 MB / 0.7992 GB, free: 4.426 MB / 0.5417 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.002265/1.051, allocations: 0.6499 MB / 0.7998 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002749/1.054, allocations: 2.347 MB / 0.8021 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.054, allocations: 3.938 kB / 0.8021 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/1.054, allocations: 331.8 kB / 0.8024 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/1.054, allocations: 52.83 kB / 0.8025 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/1.056, allocations: 1.482 MB / 0.8039 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/1.057, allocations: 1.005 MB / 0.8049 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002232/1.057, allocations: 54.97 kB / 0.805 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/1.057, allocations: 43.34 kB / 0.805 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of SimCode: time 3.01e-07/1.057, allocations: 0 / 0.805 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of Templates: time 0.0215/1.079, allocations: 11.39 MB / 0.8161 GB, free: 3.062 MB / 0.5573 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)