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/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001061, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8171/0.8171, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003186, allocations: 12 kB / 0.5069 GB, free: 5.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 82.31 MB / 0.5872 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001345/0.1407, allocations: 1.107 MB / 0.5883 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00363/0.1443, allocations: 2.768 MB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.1444, allocations: 0 / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.1445, allocations: 19.91 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.1447, allocations: 15.97 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.1465, allocations: 0.7214 MB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.036e-05/0.1466, allocations: 55.84 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.1467, allocations: 4 kB / 0.5918 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.1467, allocations: 43.83 kB / 0.5919 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.1469, allocations: 135.8 kB / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.147, allocations: 12 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.1487, allocations: 1.256 MB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005209/0.1492, allocations: 0.608 MB / 0.5938 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1494, allocations: 177 kB / 0.594 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.1507, allocations: 1.181 MB / 0.5951 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.1507, allocations: 0 / 0.5951 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1507, allocations: 0 / 0.5951 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.1508, allocations: 0 / 0.5951 GB, free: 10.82 MB / 0.4981 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.009535/0.1603, allocations: 1.613 MB / 0.5967 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.1603, allocations: 8.031 kB / 0.5967 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/0.1607, allocations: 142 kB / 0.5969 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.1613, allocations: 0.501 MB / 0.5974 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1613, allocations: 3.984 kB / 0.5974 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.1613, allocations: 8 kB / 0.5974 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.1617, allocations: 383.2 kB / 0.5977 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1617, allocations: 0 / 0.5977 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1617, allocations: 8 kB / 0.5977 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1618, allocations: 0 / 0.5977 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.1622, allocations: 439.7 kB / 0.5982 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.1628, allocations: 0.8073 MB / 0.5989 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.1633, allocations: 0.5594 MB / 0.5995 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008976/0.1642, allocations: 1.036 MB / 0.6005 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.1646, allocations: 400.8 kB / 0.6009 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.1646, allocations: 0 / 0.6009 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001197/0.1658, allocations: 1.351 MB / 0.6022 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.1658, allocations: 81.11 kB / 0.6023 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.1675, allocations: 1.842 MB / 0.6041 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1675, allocations: 25.7 kB / 0.6041 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.1678, allocations: 477.3 kB / 0.6046 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.1679, allocations: 23.73 kB / 0.6046 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.1679, allocations: 0 / 0.6046 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1681, allocations: 403 kB / 0.605 GB, free: 212 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2207/0.3887, allocations: 1.517 MB / 0.6064 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009793/0.3898, allocations: 1.641 MB / 0.608 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.391, allocations: 2.048 MB / 0.61 GB, free: 47.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.391, allocations: 3.641 kB / 0.6101 GB, free: 47.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00315/0.3941, allocations: 4.296 MB / 0.6142 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3941, allocations: 5.906 kB / 0.6143 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3942, allocations: 0 / 0.6143 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3942, allocations: 2.781 kB / 0.6143 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3943, allocations: 19.72 kB / 0.6143 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3943, allocations: 2.062 kB / 0.6143 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.3948, allocations: 238 kB / 0.6145 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.3948, allocations: 21.64 kB / 0.6145 GB, free: 46.39 MB / 0.4981 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 (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0003268/0.3952, allocations: 363.7 kB / 0.6149 GB, free: 46.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.3952, allocations: 125.1 kB / 0.615 GB, free: 46.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.3955, allocations: 141.1 kB / 0.6151 GB, free: 46.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3955, allocations: 5.125 kB / 0.6151 GB, free: 46.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3955, allocations: 4.641 kB / 0.6151 GB, free: 46.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3955, allocations: 3.938 kB / 0.6151 GB, free: 46.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.3959, allocations: 0.6822 MB / 0.6158 GB, free: 45.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3959, allocations: 0.875 kB / 0.6158 GB, free: 45.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.396, allocations: 5.938 kB / 0.6158 GB, free: 45.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.396, allocations: 3.094 kB / 0.6158 GB, free: 45.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.396, allocations: 10.09 kB / 0.6158 GB, free: 45.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.396, allocations: 3.953 kB / 0.6158 GB, free: 45.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.396, allocations: 1.422 kB / 0.6158 GB, free: 45.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.3967, allocations: 1.068 MB / 0.6169 GB, free: 45.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3968, allocations: 194.8 kB / 0.6171 GB, free: 45.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.3969, allocations: 12.8 kB / 0.6171 GB, free: 45.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.3971, allocations: 6.719 kB / 0.6171 GB, free: 45.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.3971, allocations: 6.734 kB / 0.6171 GB, free: 45.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.3971, allocations: 18.5 kB / 0.6171 GB, free: 45.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008596/0.398, allocations: 1.097 MB / 0.6182 GB, free: 45.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.398, allocations: 0 / 0.6182 GB, free: 45.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008189/0.3988, allocations: 435.3 kB / 0.6186 GB, free: 45.03 MB / 0.4981 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.0008825/0.3997, allocations: 481.2 kB / 0.619 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001541/0.4013, allocations: 2.646 MB / 0.6216 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4013, allocations: 0 / 0.6216 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.4015, allocations: 343.4 kB / 0.622 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.4017, allocations: 45.98 kB / 0.622 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.4038, allocations: 2.707 MB / 0.6246 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.4042, allocations: 1.179 MB / 0.6258 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.4044, allocations: 33.33 kB / 0.6258 GB, free: 42.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.4045, allocations: 30.56 kB / 0.6259 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.4045, allocations: 0 / 0.6259 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.01413/0.4186, allocations: 9.538 MB / 0.6352 GB, free: 41.54 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: