Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_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_dev_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.009527/0.009527, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9655/0.9655, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 406.9 MB, free: 3.188 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.001197/0.001197, allocations: 102.9 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003195, allocations: 12 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.5495, allocations: 126.3 MB / 0.7728 GB, free: 5.664 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/0.5499, allocations: 118.2 kB / 0.773 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4116/0.9615, allocations: 25.33 MB / 0.7977 GB, free: 130 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.777e-06/0.9616, allocations: 0 / 0.7977 GB, free: 130 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.836e-05/0.9617, allocations: 23.81 kB / 0.7977 GB, free: 130 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.003516/0.9652, allocations: 1.627 MB / 0.7993 GB, free: 129 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.9653, allocations: 9.312 kB / 0.7993 GB, free: 129 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005807/0.9659, allocations: 162.9 kB / 0.7995 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.9672, allocations: 0.6531 MB / 0.8001 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.9673, allocations: 23.47 kB / 0.8001 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.9674, allocations: 41.42 kB / 0.8002 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.9681, allocations: 385.3 kB / 0.8005 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.9681, allocations: 2.312 kB / 0.8005 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.9682, allocations: 3.219 kB / 0.8005 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.9682, allocations: 0.7812 kB / 0.8005 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006825/0.9689, allocations: 435.8 kB / 0.801 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.9705, allocations: 0.998 MB / 0.8019 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008239/0.9713, allocations: 0.5731 MB / 0.8025 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009002/0.9722, allocations: 1.028 MB / 0.8035 GB, free: 127 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008043/0.973, allocations: 403.5 kB / 0.8039 GB, free: 127 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.895e-06/0.9731, allocations: 0 / 0.8039 GB, free: 127 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.003228/0.9763, allocations: 1.359 MB / 0.8052 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.9764, allocations: 84.12 kB / 0.8053 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.9785, allocations: 1.633 MB / 0.8069 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004937/0.979, allocations: 49.55 kB / 0.8069 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.9794, allocations: 490.2 kB / 0.8074 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.9795, allocations: 19.17 kB / 0.8074 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.9796, allocations: 17.39 kB / 0.8074 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9797, allocations: 410.5 kB / 0.8078 GB, free: 126 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.9812, allocations: 1.476 MB / 0.8093 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.9826, allocations: 1.626 MB / 0.8108 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.9842, allocations: 1.864 MB / 0.8127 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.9842, allocations: 0 / 0.8127 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004378/0.9886, allocations: 4.045 MB / 0.8166 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.9887, allocations: 3.188 kB / 0.8166 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-05/0.9887, allocations: 26.16 kB / 0.8166 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.9888, allocations: 3.094 kB / 0.8166 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.9894, allocations: 147.7 kB / 0.8168 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.9894, allocations: 5.422 kB / 0.8168 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.9905, allocations: 240.8 kB / 0.817 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.9907, allocations: 90.41 kB / 0.8171 GB, free: 122.6 MB / 0.5573 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.0005159/0.9912, allocations: 389 kB / 0.8175 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.486e-05/0.9913, allocations: 121.7 kB / 0.8176 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008634/0.9922, allocations: 1.005 MB / 0.8186 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.9922, allocations: 4 kB / 0.8186 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9922, allocations: 0 / 0.8186 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9922, allocations: 0 / 0.8186 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.9928, allocations: 0.6928 MB / 0.8193 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.9928, allocations: 3.75 kB / 0.8193 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/0.9929, allocations: 7.891 kB / 0.8193 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.9929, allocations: 4 kB / 0.8193 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.9929, allocations: 0 / 0.8193 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9929, allocations: 0 / 0.8193 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9929, allocations: 4 kB / 0.8193 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.9937, allocations: 1.078 MB / 0.8203 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.9939, allocations: 210.8 kB / 0.8205 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.994, allocations: 3.844 kB / 0.8205 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.9943, allocations: 4 kB / 0.8205 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.9943, allocations: 11.55 kB / 0.8205 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.9944, allocations: 12.97 kB / 0.8206 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009809/0.9954, allocations: 1.111 MB / 0.8216 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9954, allocations: 2.031 kB / 0.8216 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001876/0.9972, allocations: 0.5157 MB / 0.8222 GB, free: 118.4 MB / 0.5573 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.00188/0.9991, allocations: 0.5683 MB / 0.8227 GB, free: 118 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002121/1.001, allocations: 2.515 MB / 0.8252 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.001, allocations: 0 / 0.8252 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/1.002, allocations: 342.8 kB / 0.8255 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/1.002, allocations: 58.5 kB / 0.8255 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/1.005, allocations: 2.718 MB / 0.8282 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/1.006, allocations: 1.186 MB / 0.8294 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004295/1.006, allocations: 124.1 kB / 0.8295 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/1.006, allocations: 69.69 kB / 0.8295 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/1.006, allocations: 0 / 0.8295 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.01841/1.025, allocations: 11.46 MB / 0.8407 GB, free: 102.1 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)