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.009143/0.009143, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7893/0.7893, allocations: 132.3 MB / 148.1 MB, free: 256 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 403.2 MB, free: 6.676 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.0008642/0.0008642, allocations: 90.8 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003396, allocations: 8 kB / 0.5641 GB, free: 2.086 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3674, allocations: 81.58 MB / 0.6438 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.5136, allocations: 126 MB / 0.7669 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5139, allocations: 113.8 kB / 0.767 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.09511/0.609, allocations: 25.33 MB / 0.7917 GB, free: 392 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6091, allocations: 0 / 0.7917 GB, free: 392 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.236e-05/0.6091, allocations: 20 kB / 0.7918 GB, free: 372 kB / 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.3174/0.9265, allocations: 1.624 MB / 0.7933 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.9266, allocations: 9.438 kB / 0.7933 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.9272, allocations: 154.4 kB / 0.7935 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.9288, allocations: 0.6588 MB / 0.7941 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.9288, allocations: 26.06 kB / 0.7942 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.929, allocations: 38.94 kB / 0.7942 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.9297, allocations: 386.7 kB / 0.7946 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9297, allocations: 2.781 kB / 0.7946 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.9297, allocations: 1.469 kB / 0.7946 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.9297, allocations: 0.75 kB / 0.7946 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.9304, allocations: 435.9 kB / 0.795 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.932, allocations: 0.9932 MB / 0.796 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009191/0.9329, allocations: 0.5617 MB / 0.7965 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008405/0.9338, allocations: 1.038 MB / 0.7975 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006017/0.9344, allocations: 401.4 kB / 0.7979 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.254e-06/0.9344, allocations: 3.812 kB / 0.7979 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.002219/0.9366, allocations: 1.352 MB / 0.7992 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.9367, allocations: 79.64 kB / 0.7993 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/0.9395, allocations: 1.636 MB / 0.8009 GB, free: 128 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.9397, allocations: 48.03 kB / 0.8009 GB, free: 128 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/0.9401, allocations: 497.5 kB / 0.8014 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.9402, allocations: 21.03 kB / 0.8014 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.9402, allocations: 16.56 kB / 0.8015 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.9404, allocations: 411.2 kB / 0.8018 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.942, allocations: 1.48 MB / 0.8033 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.9433, allocations: 1.621 MB / 0.8049 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.9449, allocations: 1.869 MB / 0.8067 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.9449, allocations: 0.6562 kB / 0.8067 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004025/0.949, allocations: 4.039 MB / 0.8106 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.949, allocations: 7.766 kB / 0.8107 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.208e-05/0.949, allocations: 22.47 kB / 0.8107 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.9491, allocations: 3.938 kB / 0.8107 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.9496, allocations: 146.2 kB / 0.8108 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.9497, allocations: 3.938 kB / 0.8108 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.9507, allocations: 250.6 kB / 0.8111 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.9508, allocations: 90.38 kB / 0.8111 GB, free: 124.5 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.00043/0.9512, allocations: 388.9 kB / 0.8115 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.9513, allocations: 121 kB / 0.8116 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008568/0.9522, allocations: 1.015 MB / 0.8126 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.9522, allocations: 0 / 0.8126 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9522, allocations: 0 / 0.8126 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.9522, allocations: 7.938 kB / 0.8126 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006766/0.9529, allocations: 0.6808 MB / 0.8133 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.9529, allocations: 0 / 0.8133 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/0.953, allocations: 10.33 kB / 0.8133 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.953, allocations: 0 / 0.8133 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.953, allocations: 5.625 kB / 0.8133 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.9531, allocations: 0 / 0.8133 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.9531, allocations: 3.656 kB / 0.8133 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007339/0.9538, allocations: 1.075 MB / 0.8144 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.954, allocations: 206.7 kB / 0.8146 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.9541, allocations: 6.328 kB / 0.8146 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.9544, allocations: 3.125 kB / 0.8146 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.9545, allocations: 7.578 kB / 0.8146 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.9545, allocations: 13.08 kB / 0.8146 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009807/0.9555, allocations: 1.116 MB / 0.8157 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9555, allocations: 0 / 0.8157 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001612/0.9571, allocations: 0.5174 MB / 0.8162 GB, free: 123 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.00145/0.9586, allocations: 0.5647 MB / 0.8167 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.9606, allocations: 2.513 MB / 0.8192 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9606, allocations: 4 kB / 0.8192 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.9608, allocations: 338.8 kB / 0.8195 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.9613, allocations: 60.48 kB / 0.8196 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.9639, allocations: 2.721 MB / 0.8222 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.9644, allocations: 1.187 MB / 0.8234 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003931/0.9648, allocations: 122.8 kB / 0.8235 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.965, allocations: 68.03 kB / 0.8236 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of SimCode: time 8.72e-07/0.965, allocations: 0 / 0.8236 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.01799/0.983, allocations: 11.47 MB / 0.8348 GB, free: 108.6 MB / 0.5573 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)