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.7664/0.7664, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.001314/0.001314, allocations: 180.8 kB / 169.7 MB, free: 1.77 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.884/1.884, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.0008962/0.0008964, allocations: 98.2 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.621e-05, allocations: 4 kB / 0.5533 GB, free: 54.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1816, allocations: 76.75 MB / 0.6282 GB, free: 9.977 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6174/0.7991, allocations: 118.5 MB / 0.7439 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.7994, allocations: 119.2 kB / 0.744 GB, free: 11 MB / 0.4948 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.1086/0.908, allocations: 26.08 MB / 0.7695 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.286e-06/0.9081, allocations: 0 / 0.7695 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.284e-05/0.9081, allocations: 20 kB / 0.7695 GB, free: 3.539 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.002673/0.9108, allocations: 1.343 MB / 0.7708 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.9109, allocations: 12.03 kB / 0.7708 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004422/0.9113, allocations: 154 kB / 0.771 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.9125, allocations: 0.6456 MB / 0.7716 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.9125, allocations: 20 kB / 0.7716 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.9127, allocations: 36 kB / 0.7717 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.9131, allocations: 387.1 kB / 0.772 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.9131, allocations: 0 / 0.772 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.9131, allocations: 3.953 kB / 0.772 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.9131, allocations: 4 kB / 0.772 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.9135, allocations: 423.8 kB / 0.7724 GB, free: 408 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.9146, allocations: 0.9905 MB / 0.7734 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005147/0.9151, allocations: 0.5595 MB / 0.774 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.9154, allocations: 329.6 kB / 0.7743 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.9165, allocations: 1.036 MB / 0.7753 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003911/0.9169, allocations: 400.8 kB / 0.7757 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.9169, allocations: 4 kB / 0.7757 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001305/0.9182, allocations: 1.023 MB / 0.7767 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.9183, allocations: 89.03 kB / 0.7768 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.9204, allocations: 1.611 MB / 0.7783 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.968e-05/0.9205, allocations: 45.7 kB / 0.7784 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/0.921, allocations: 489.9 kB / 0.7788 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.921, allocations: 27.69 kB / 0.7789 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.9211, allocations: 20 kB / 0.7789 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.9214, allocations: 407 kB / 0.7793 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.923, allocations: 1.464 MB / 0.7807 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.9249, allocations: 1.606 MB / 0.7823 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.927, allocations: 1.857 MB / 0.7841 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.927, allocations: 7.938 kB / 0.7841 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005113/0.9321, allocations: 4.007 MB / 0.788 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.9322, allocations: 11.94 kB / 0.788 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.827e-05/0.9322, allocations: 20 kB / 0.788 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.9322, allocations: 8.031 kB / 0.788 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/0.9329, allocations: 147.7 kB / 0.7882 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.933, allocations: 7.953 kB / 0.7882 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.934, allocations: 248.3 kB / 0.7884 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.9342, allocations: 91.98 kB / 0.7885 GB, free: 15.45 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.0001743/0.9344, allocations: 124.9 kB / 0.7886 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.9345, allocations: 122.1 kB / 0.7887 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.9357, allocations: 1.001 MB / 0.7897 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.9357, allocations: 7.984 kB / 0.7897 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9357, allocations: 0 / 0.7897 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.9357, allocations: 3.953 kB / 0.7897 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/0.9365, allocations: 0.6833 MB / 0.7904 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.9365, allocations: 0 / 0.7904 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.9366, allocations: 8 kB / 0.7904 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.9366, allocations: 4 kB / 0.7904 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.9366, allocations: 3.984 kB / 0.7904 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.9367, allocations: 8.031 kB / 0.7904 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9367, allocations: 0 / 0.7904 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/0.9376, allocations: 1.061 MB / 0.7915 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.9379, allocations: 207.1 kB / 0.7917 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.938, allocations: 4 kB / 0.7917 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.9383, allocations: 11.98 kB / 0.7917 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.9384, allocations: 11.89 kB / 0.7917 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.9384, allocations: 15.97 kB / 0.7917 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001383/0.9398, allocations: 1.089 MB / 0.7928 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9398, allocations: 0 / 0.7928 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002092/0.9419, allocations: 0.5267 MB / 0.7933 GB, free: 10.4 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.001813/0.9437, allocations: 0.5643 MB / 0.7938 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002642/0.9464, allocations: 2.495 MB / 0.7963 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.9464, allocations: 3.938 kB / 0.7963 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.9468, allocations: 339.8 kB / 0.7966 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.9473, allocations: 62.48 kB / 0.7967 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.9503, allocations: 2.091 MB / 0.7987 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008966/0.9512, allocations: 1.183 MB / 0.7999 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005064/0.9518, allocations: 126.3 kB / 0.8 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.9519, allocations: 67.38 kB / 0.8 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of SimCode: time 1.293e-06/0.952, allocations: 0 / 0.8 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of Templates: time 0.02386/0.9758, allocations: 11.67 MB / 0.8114 GB, free: 7.762 MB / 0.5573 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)