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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9008/0.9008, allocations: 128.7 MB / 143.7 MB, free: 2.297 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.001507/0.001507, allocations: 178.1 kB / 173.8 MB, free: 6.113 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.815/1.815, allocations: 205.4 MB / 409 MB, free: 10.49 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.0008534/0.0008534, allocations: 96.88 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.000399, allocations: 13.66 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1721, allocations: 76.77 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5277/0.6998, allocations: 118.6 MB / 0.7511 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.7002, allocations: 118.1 kB / 0.7513 GB, free: 38.91 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_100boreholes.mo:19:38-19: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_100boreholes.mo:20:39-20: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_100boreholes.mo:21:56-21: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_100boreholes.mo:22:41-22:52:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.09974/0.8, allocations: 26.08 MB / 0.7767 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.235e-06/0.8, allocations: 3.906 kB / 0.7767 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.163e-05/0.8001, allocations: 19.53 kB / 0.7767 GB, free: 36.15 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.003436/0.8035, allocations: 1.631 MB / 0.7783 GB, free: 35.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.8036, allocations: 10.77 kB / 0.7783 GB, free: 35.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.804, allocations: 155 kB / 0.7785 GB, free: 34.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008639/0.8049, allocations: 0.6552 MB / 0.7791 GB, free: 34.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.8049, allocations: 26.95 kB / 0.7792 GB, free: 34.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.805, allocations: 37.97 kB / 0.7792 GB, free: 34.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.8054, allocations: 382.1 kB / 0.7796 GB, free: 34.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.8054, allocations: 0 / 0.7796 GB, free: 34.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.8054, allocations: 7.891 kB / 0.7796 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8055, allocations: 0 / 0.7796 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.8058, allocations: 439 kB / 0.78 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.807, allocations: 0.9888 MB / 0.781 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.8075, allocations: 0.5581 MB / 0.7815 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008686/0.8084, allocations: 1.04 MB / 0.7825 GB, free: 33.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000369/0.8088, allocations: 401.2 kB / 0.7829 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.8088, allocations: 3.938 kB / 0.7829 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001328/0.8101, allocations: 1.358 MB / 0.7842 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.8102, allocations: 82.86 kB / 0.7843 GB, free: 32.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.812, allocations: 1.629 MB / 0.7859 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.8121, allocations: 44.39 kB / 0.7859 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.8124, allocations: 491.3 kB / 0.7864 GB, free: 32.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.8125, allocations: 27.38 kB / 0.7864 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.8126, allocations: 19.06 kB / 0.7865 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8127, allocations: 406.2 kB / 0.7868 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.814, allocations: 1.479 MB / 0.7883 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.8154, allocations: 1.623 MB / 0.7899 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.8169, allocations: 1.876 MB / 0.7917 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8169, allocations: 0 / 0.7917 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004099/0.821, allocations: 4.041 MB / 0.7956 GB, free: 30.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.8211, allocations: 3.938 kB / 0.7957 GB, free: 30.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.998e-05/0.8211, allocations: 23.47 kB / 0.7957 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.8211, allocations: 3.938 kB / 0.7957 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.8217, allocations: 148.8 kB / 0.7958 GB, free: 30.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.8217, allocations: 11.92 kB / 0.7958 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/0.8225, allocations: 246.6 kB / 0.7961 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/0.8226, allocations: 93.83 kB / 0.7962 GB, free: 30.11 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.0005149/0.8231, allocations: 376.9 kB / 0.7965 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.8232, allocations: 121.2 kB / 0.7966 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008256/0.8241, allocations: 1.014 MB / 0.7976 GB, free: 29.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8241, allocations: 0 / 0.7976 GB, free: 29.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8241, allocations: 0 / 0.7976 GB, free: 29.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.8241, allocations: 3.953 kB / 0.7976 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.8246, allocations: 0.6801 MB / 0.7983 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8246, allocations: 0 / 0.7983 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-05/0.8247, allocations: 7.844 kB / 0.7983 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.8247, allocations: 0 / 0.7983 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.8247, allocations: 3.984 kB / 0.7983 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.8247, allocations: 3.906 kB / 0.7983 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.8247, allocations: 4.031 kB / 0.7983 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.8254, allocations: 1.072 MB / 0.7994 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.8256, allocations: 206.2 kB / 0.7996 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.54e-05/0.8257, allocations: 3.906 kB / 0.7996 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.826, allocations: 15.83 kB / 0.7996 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.826, allocations: 7.891 kB / 0.7996 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.8261, allocations: 15.59 kB / 0.7996 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001067/0.8271, allocations: 1.111 MB / 0.8007 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8272, allocations: 0 / 0.8007 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001922/0.8291, allocations: 0.5227 MB / 0.8012 GB, free: 28.25 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.00133/0.8304, allocations: 0.5667 MB / 0.8017 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.8323, allocations: 2.508 MB / 0.8042 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8323, allocations: 0 / 0.8042 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.8325, allocations: 344.6 kB / 0.8045 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.8328, allocations: 68.92 kB / 0.8046 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.8354, allocations: 2.717 MB / 0.8072 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.836, allocations: 1.176 MB / 0.8084 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003841/0.8363, allocations: 132.5 kB / 0.8085 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.8365, allocations: 68.75 kB / 0.8086 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of SimCode: time 4.2e-07/0.8365, allocations: 0 / 0.8086 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of Templates: time 0.01968/0.8562, allocations: 11.57 MB / 0.8199 GB, free: 19.58 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe 2>&1)