Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8696/0.8696, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 185 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 223.2 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009415, allocations: 84.34 kB / 0.5188 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 268 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004009, allocations: 11.75 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 82.8 MB / 0.7738 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5023/0.641, allocations: 123.6 MB / 0.8945 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.6414, allocations: 120.4 kB / 0.8946 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.09025/0.7316, allocations: 25.33 MB / 0.9193 GB, free: 19.85 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7317, allocations: 3.938 kB / 0.9193 GB, free: 19.85 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.412e-05/0.7317, allocations: 19.56 kB / 0.9193 GB, free: 19.85 MB / 0.5417 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.002859/0.7346, allocations: 1.631 MB / 0.9209 GB, free: 18.77 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.7347, allocations: 10.56 kB / 0.9209 GB, free: 18.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003932/0.7351, allocations: 158.5 kB / 0.9211 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.7361, allocations: 0.6532 MB / 0.9217 GB, free: 18.31 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.7361, allocations: 25.86 kB / 0.9218 GB, free: 18.31 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.991e-05/0.7362, allocations: 37.84 kB / 0.9218 GB, free: 18.31 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.7366, allocations: 388.1 kB / 0.9222 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7366, allocations: 4 kB / 0.9222 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.7366, allocations: 0 / 0.9222 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.7366, allocations: 0 / 0.9222 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.7369, allocations: 441.5 kB / 0.9226 GB, free: 18.12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.7377, allocations: 0.9852 MB / 0.9236 GB, free: 17.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.7381, allocations: 0.5698 MB / 0.9241 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006804/0.7387, allocations: 1.033 MB / 0.9251 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003119/0.7391, allocations: 403.1 kB / 0.9255 GB, free: 16.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.7391, allocations: 0 / 0.9255 GB, free: 16.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0009995/0.7401, allocations: 1.353 MB / 0.9268 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.7401, allocations: 84.97 kB / 0.9269 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.7414, allocations: 1.629 MB / 0.9285 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/0.7415, allocations: 45.05 kB / 0.9285 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.7418, allocations: 495.2 kB / 0.929 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.7418, allocations: 23.34 kB / 0.929 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.7419, allocations: 15.69 kB / 0.929 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.742, allocations: 416 kB / 0.9294 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.7433, allocations: 1.477 MB / 0.9309 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.7446, allocations: 1.619 MB / 0.9325 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.7462, allocations: 1.873 MB / 0.9343 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7462, allocations: 0 / 0.9343 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003659/0.7498, allocations: 4.034 MB / 0.9382 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.7499, allocations: 11.83 kB / 0.9382 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-05/0.7499, allocations: 27.34 kB / 0.9383 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7499, allocations: 3.969 kB / 0.9383 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/0.7505, allocations: 143.9 kB / 0.9384 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.7505, allocations: 3.906 kB / 0.9384 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/0.7513, allocations: 241.3 kB / 0.9386 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.7514, allocations: 96.09 kB / 0.9387 GB, free: 12.22 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 () * 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.0004257/0.7518, allocations: 382.5 kB / 0.9391 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.7519, allocations: 125 kB / 0.9392 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007876/0.7527, allocations: 1.019 MB / 0.9402 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7527, allocations: 0 / 0.9402 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7527, allocations: 0 / 0.9402 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.7527, allocations: 0 / 0.9402 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.7532, allocations: 0.6824 MB / 0.9409 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7532, allocations: 0 / 0.9409 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.7533, allocations: 7.906 kB / 0.9409 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.7533, allocations: 3.812 kB / 0.9409 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.7533, allocations: 3.984 kB / 0.9409 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7533, allocations: 0 / 0.9409 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7533, allocations: 7.812 kB / 0.9409 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.754, allocations: 1.075 MB / 0.942 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.7542, allocations: 213.6 kB / 0.9422 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.7543, allocations: 7.922 kB / 0.9422 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/0.7546, allocations: 3.875 kB / 0.9422 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.7546, allocations: 7.859 kB / 0.9422 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.7547, allocations: 15.7 kB / 0.9422 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009551/0.7556, allocations: 1.112 MB / 0.9433 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7556, allocations: 4 kB / 0.9433 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001475/0.7571, allocations: 0.5155 MB / 0.9438 GB, free: 10.35 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) * 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.001238/0.7584, allocations: 0.5607 MB / 0.9443 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.7601, allocations: 2.518 MB / 0.9468 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7601, allocations: 64 / 0.9468 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.7604, allocations: 342.3 kB / 0.9471 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.7607, allocations: 66.44 kB / 0.9472 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.7632, allocations: 2.703 MB / 0.9498 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.7636, allocations: 1.186 MB / 0.951 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003692/0.764, allocations: 128.1 kB / 0.9511 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.7642, allocations: 64.3 kB / 0.9512 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of SimCode: time 6.11e-07/0.7642, allocations: 0 / 0.9512 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of Templates: time 0.01815/0.7823, allocations: 11.48 MB / 0.9624 GB, free: 1.801 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)