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.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_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") [/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.8146/0.8146, allocations: 117.9 MB / 133.9 MB, free: 4.547 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.001001/0.001001, allocations: 174.9 kB / 161.7 MB, free: 2.785 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.587/1.587, allocations: 205.4 MB / 394.8 MB, free: 20.96 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.0007029/0.0007029, allocations: 89.84 kB / 470.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003359, allocations: 12 kB / 0.5424 GB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2857, allocations: 74.54 MB / 0.6152 GB, free: 54.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.4257, allocations: 117.5 MB / 0.7299 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/0.4261, allocations: 115.9 kB / 0.73 GB, free: 400 kB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.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.4.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.4.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.3427/0.7688, allocations: 26.14 MB / 0.7555 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.786e-06/0.7688, allocations: 1.625 kB / 0.7555 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.428e-05/0.7689, allocations: 22.25 kB / 0.7555 GB, free: 117.4 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.003679/0.7726, allocations: 1.613 MB / 0.7571 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.7726, allocations: 9.031 kB / 0.7571 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005146/0.7732, allocations: 154.7 kB / 0.7573 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.7742, allocations: 0.6822 MB / 0.7579 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.7742, allocations: 34.62 kB / 0.758 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.7743, allocations: 38.45 kB / 0.758 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.7748, allocations: 388.3 kB / 0.7584 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.7749, allocations: 192 / 0.7584 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.7749, allocations: 11.36 kB / 0.7584 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.7749, allocations: 3.156 kB / 0.7584 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.7752, allocations: 435.1 kB / 0.7588 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.7761, allocations: 0.9886 MB / 0.7598 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.7765, allocations: 0.558 MB / 0.7603 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.7767, allocations: 342.8 kB / 0.7607 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006695/0.7774, allocations: 1.033 MB / 0.7617 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.7777, allocations: 408.4 kB / 0.762 GB, free: 114 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.7777, allocations: 0 / 0.762 GB, free: 114 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001093/0.7788, allocations: 1.364 MB / 0.7634 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.7788, allocations: 83.38 kB / 0.7635 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.7803, allocations: 1.849 MB / 0.7653 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.7803, allocations: 47.7 kB / 0.7653 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.7806, allocations: 491.6 kB / 0.7658 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.7806, allocations: 19.44 kB / 0.7658 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.7807, allocations: 19.53 kB / 0.7658 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.7808, allocations: 407.7 kB / 0.7662 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.7821, allocations: 1.478 MB / 0.7676 GB, free: 112 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.7834, allocations: 1.625 MB / 0.7692 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004582/0.7879, allocations: 3.014 MB / 0.7722 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.788, allocations: 0 / 0.7722 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004131/0.7921, allocations: 4.043 MB / 0.7761 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.7922, allocations: 11.94 kB / 0.7761 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.476e-05/0.7922, allocations: 20 kB / 0.7762 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.7922, allocations: 4 kB / 0.7762 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.7928, allocations: 143.4 kB / 0.7763 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.7928, allocations: 7.188 kB / 0.7763 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/0.7937, allocations: 244.3 kB / 0.7765 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.607e-05/0.7938, allocations: 95.08 kB / 0.7766 GB, free: 105.1 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.0004072/0.7942, allocations: 384.3 kB / 0.777 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.7943, allocations: 126 kB / 0.7771 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007683/0.7951, allocations: 1.006 MB / 0.7781 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7951, allocations: 4 kB / 0.7781 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7951, allocations: 0 / 0.7781 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.7951, allocations: 0 / 0.7781 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.7956, allocations: 0.6913 MB / 0.7788 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7956, allocations: 0 / 0.7788 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.7957, allocations: 11.8 kB / 0.7788 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.7957, allocations: 7.938 kB / 0.7788 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.7957, allocations: 0 / 0.7788 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.7957, allocations: 2.812 kB / 0.7788 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7957, allocations: 4 kB / 0.7788 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/0.7964, allocations: 1.047 MB / 0.7798 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.7966, allocations: 210 kB / 0.78 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.7967, allocations: 3.938 kB / 0.78 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.797, allocations: 11.52 kB / 0.78 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.797, allocations: 11.78 kB / 0.7801 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.797, allocations: 11.89 kB / 0.7801 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009413/0.798, allocations: 1.117 MB / 0.7812 GB, free: 101 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.798, allocations: 0 / 0.7812 GB, free: 101 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001674/0.7997, allocations: 0.5142 MB / 0.7817 GB, free: 100.5 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.001279/0.801, allocations: 0.5615 MB / 0.7822 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.8026, allocations: 2.528 MB / 0.7847 GB, free: 97.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8026, allocations: 0 / 0.7847 GB, free: 97.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.8029, allocations: 338.3 kB / 0.785 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.8034, allocations: 58.55 kB / 0.7851 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.8058, allocations: 2.727 MB / 0.7877 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.8063, allocations: 1.155 MB / 0.7888 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003745/0.8067, allocations: 130.3 kB / 0.789 GB, free: 93.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.8068, allocations: 59.39 kB / 0.789 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of SimCode: time 3.8e-07/0.8068, allocations: 4 kB / 0.789 GB, free: 93.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.01799/0.8248, allocations: 11.8 MB / 0.8006 GB, free: 81.63 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)