Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json 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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009656/0.0009657, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8168/0.8168, allocations: 130.7 MB / 138.7 MB, free: 3.633 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.5 MB / 391.8 MB, free: 14.25 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.000918/0.0009179, allocations: 98.41 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.991e-05, allocations: 4 kB / 0.5485 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.5346, allocations: 81.57 MB / 0.6282 GB, free: 43.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.7148, allocations: 125.3 MB / 0.7506 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.7151, allocations: 115.8 kB / 0.7507 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1049/0.8201, allocations: 25.17 MB / 0.7753 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8202, allocations: 0 / 0.7753 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001067/0.8203, allocations: 20 kB / 0.7753 GB, free: 8.09 MB / 0.5573 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.003265/0.8236, allocations: 1.346 MB / 0.7766 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.8236, allocations: 8.031 kB / 0.7766 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005693/0.8242, allocations: 162 kB / 0.7768 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.8255, allocations: 0.6429 MB / 0.7774 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.8255, allocations: 4 kB / 0.7774 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.8256, allocations: 27.98 kB / 0.7774 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000392/0.826, allocations: 419.8 kB / 0.7778 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.8264, allocations: 383.1 kB / 0.7782 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.8264, allocations: 3.938 kB / 0.7782 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.8265, allocations: 3.953 kB / 0.7782 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.8265, allocations: 8 kB / 0.7782 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.8278, allocations: 0.9317 MB / 0.7791 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.8283, allocations: 0.5516 MB / 0.7797 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.8285, allocations: 329.7 kB / 0.78 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.8296, allocations: 1.036 MB / 0.781 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003699/0.83, allocations: 396.9 kB / 0.7814 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.645e-06/0.83, allocations: 0 / 0.7814 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001115/0.8312, allocations: 1.019 MB / 0.7824 GB, free: 408 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.8312, allocations: 86.17 kB / 0.7824 GB, free: 304 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.8333, allocations: 1.529 MB / 0.7839 GB, free: 14.73 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/0.8334, allocations: 33.7 kB / 0.784 GB, free: 14.69 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/0.8339, allocations: 474 kB / 0.7844 GB, free: 14.22 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.834, allocations: 19.8 kB / 0.7844 GB, free: 14.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.8341, allocations: 4 kB / 0.7844 GB, free: 14.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.8343, allocations: 407 kB / 0.7848 GB, free: 13.79 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.836, allocations: 1.452 MB / 0.7862 GB, free: 12.34 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.8377, allocations: 1.585 MB / 0.7878 GB, free: 10.75 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.84, allocations: 1.837 MB / 0.7896 GB, free: 8.891 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.84, allocations: 4 kB / 0.7896 GB, free: 8.887 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005381/0.8454, allocations: 3.968 MB / 0.7935 GB, free: 4.883 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.8454, allocations: 4 kB / 0.7935 GB, free: 4.879 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-05/0.8455, allocations: 20 kB / 0.7935 GB, free: 4.859 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.8455, allocations: 4 kB / 0.7935 GB, free: 4.855 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/0.8462, allocations: 151.8 kB / 0.7936 GB, free: 4.707 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.8462, allocations: 4 kB / 0.7936 GB, free: 4.703 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.8473, allocations: 232.3 kB / 0.7939 GB, free: 4.473 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.8475, allocations: 95.92 kB / 0.794 GB, free: 4.379 MB / 0.573 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.000174/0.8477, allocations: 120.8 kB / 0.7941 GB, free: 4.254 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.8479, allocations: 118 kB / 0.7942 GB, free: 4.137 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.8492, allocations: 0.9967 MB / 0.7952 GB, free: 3.125 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8492, allocations: 8.031 kB / 0.7952 GB, free: 3.117 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8492, allocations: 0 / 0.7952 GB, free: 3.117 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.8492, allocations: 0 / 0.7952 GB, free: 3.117 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.8502, allocations: 0.6557 MB / 0.7958 GB, free: 2.418 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8502, allocations: 0 / 0.7958 GB, free: 2.418 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-05/0.8503, allocations: 11.92 kB / 0.7958 GB, free: 2.406 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8503, allocations: 0 / 0.7958 GB, free: 2.406 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.8504, allocations: 4 kB / 0.7958 GB, free: 2.402 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8504, allocations: 0 / 0.7958 GB, free: 2.402 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8504, allocations: 0 / 0.7958 GB, free: 2.402 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.8514, allocations: 1.069 MB / 0.7969 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.8518, allocations: 207.1 kB / 0.7971 GB, free: 1.074 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.8519, allocations: 0 / 0.7971 GB, free: 1.074 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.8523, allocations: 4 kB / 0.7971 GB, free: 1.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.8524, allocations: 7.984 kB / 0.7971 GB, free: 1.062 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.8524, allocations: 15.98 kB / 0.7971 GB, free: 1.047 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001371/0.8538, allocations: 1.011 MB / 0.7981 GB, free: 12 kB / 0.573 GB Notification: Performance of sort global known variables: time 1.874e-06/0.8538, allocations: 0 / 0.7981 GB, free: 12 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.438/1.292, allocations: 0.4983 MB / 0.7986 GB, free: 149.1 MB / 0.573 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.00304/1.295, allocations: 0.5609 MB / 0.7991 GB, free: 149 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004249/1.299, allocations: 2.477 MB / 0.8015 GB, free: 148.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/1.299, allocations: 2.531 kB / 0.8015 GB, free: 148.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005759/1.3, allocations: 331.4 kB / 0.8018 GB, free: 148.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/1.3, allocations: 59.62 kB / 0.8019 GB, free: 148.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/1.306, allocations: 2.094 MB / 0.8039 GB, free: 148.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.307, allocations: 1.185 MB / 0.8051 GB, free: 147.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006039/1.308, allocations: 130.6 kB / 0.8052 GB, free: 147.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/1.308, allocations: 70.06 kB / 0.8053 GB, free: 147.8 MB / 0.573 GB Notification: Performance of SimCode: time 2.204e-06/1.308, allocations: 1.406 kB / 0.8053 GB, free: 147.8 MB / 0.573 GB Notification: Performance of Templates: time 0.02164/1.33, allocations: 10.96 MB / 0.816 GB, free: 147.3 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)