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.001173/0.001173, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001119/0.001119, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7844/0.7844, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 68.14 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1692, allocations: 80.91 MB / 0.6654 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002594/0.1718, allocations: 1.409 MB / 0.6667 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00498/0.1768, allocations: 3.024 MB / 0.6697 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.1769, allocations: 4 kB / 0.6697 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.1771, allocations: 11.86 kB / 0.6697 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.1773, allocations: 27.84 kB / 0.6697 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.1799, allocations: 1.002 MB / 0.6707 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.18, allocations: 79.69 kB / 0.6708 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1801, allocations: 4 kB / 0.6708 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.1801, allocations: 43.89 kB / 0.6708 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.1804, allocations: 157.5 kB / 0.671 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.1805, allocations: 16 kB / 0.671 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.1825, allocations: 1.377 MB / 0.6723 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006861/0.1832, allocations: 0.6797 MB / 0.673 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.1835, allocations: 448.9 kB / 0.6734 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.1859, allocations: 1.78 MB / 0.6752 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.186, allocations: 0 / 0.6752 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.805e-06/0.186, allocations: 4 kB / 0.6752 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.186, allocations: 4 kB / 0.6752 GB, free: 11.68 MB / 0.5137 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.01074/0.1967, allocations: 1.69 MB / 0.6768 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1968, allocations: 12.03 kB / 0.6768 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004172/0.1972, allocations: 142.9 kB / 0.677 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.1978, allocations: 0.5289 MB / 0.6775 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1978, allocations: 384 / 0.6775 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.1979, allocations: 15.88 kB / 0.6775 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.1983, allocations: 383.2 kB / 0.6779 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1983, allocations: 3.984 kB / 0.6779 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.1983, allocations: 11.98 kB / 0.6779 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1984, allocations: 0 / 0.6779 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.1988, allocations: 427.8 kB / 0.6783 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007965/0.1996, allocations: 0.8189 MB / 0.6791 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.2002, allocations: 0.5633 MB / 0.6796 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.2005, allocations: 337.7 kB / 0.68 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.2016, allocations: 1.025 MB / 0.681 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/0.202, allocations: 404.8 kB / 0.6814 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.202, allocations: 0 / 0.6814 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.00138/0.2034, allocations: 1.347 MB / 0.6827 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.2035, allocations: 81.11 kB / 0.6827 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.2053, allocations: 1.835 MB / 0.6845 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/0.2054, allocations: 29.7 kB / 0.6846 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.2058, allocations: 481.2 kB / 0.685 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.2058, allocations: 27.86 kB / 0.685 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.2062, allocations: 351.5 kB / 0.6854 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2063, allocations: 301.1 kB / 0.6857 GB, free: 368 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.2076, allocations: 1.51 MB / 0.6871 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.209, allocations: 1.642 MB / 0.6887 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007081/0.2161, allocations: 3.698 MB / 0.6924 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.2162, allocations: 3.938 kB / 0.6924 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004542/0.2207, allocations: 4.319 MB / 0.6966 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.2208, allocations: 5.719 kB / 0.6966 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.2208, allocations: 4 kB / 0.6966 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.2208, allocations: 0 / 0.6966 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.221, allocations: 20.02 kB / 0.6966 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.221, allocations: 0 / 0.6966 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006052/0.2216, allocations: 232.3 kB / 0.6968 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.2216, allocations: 19.98 kB / 0.6969 GB, free: 4.77 MB / 0.5294 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004797/0.2221, allocations: 373.4 kB / 0.6972 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.981e-05/0.2222, allocations: 122 kB / 0.6973 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.2226, allocations: 145.1 kB / 0.6975 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2226, allocations: 4 kB / 0.6975 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2226, allocations: 0 / 0.6975 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2226, allocations: 0 / 0.6975 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.2232, allocations: 0.6871 MB / 0.6981 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2232, allocations: 0 / 0.6981 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.2233, allocations: 11.98 kB / 0.6981 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.2233, allocations: 0 / 0.6981 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.2234, allocations: 8 kB / 0.6982 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2234, allocations: 11.97 kB / 0.6982 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2234, allocations: 0 / 0.6982 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009659/0.2243, allocations: 1.047 MB / 0.6992 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.2245, allocations: 195.1 kB / 0.6994 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.2246, allocations: 0 / 0.6994 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.2248, allocations: 11.98 kB / 0.6994 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.2249, allocations: 8 kB / 0.6994 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.2249, allocations: 15.97 kB / 0.6994 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001194/0.2261, allocations: 1.101 MB / 0.7005 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.583e-06/0.2261, allocations: 0 / 0.7005 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001089/0.2272, allocations: 443.8 kB / 0.7009 GB, free: 472 kB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/0.2284, allocations: 487.7 kB / 0.7014 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002377/0.2308, allocations: 2.644 MB / 0.704 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2308, allocations: 4.062 kB / 0.704 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.2311, allocations: 344.1 kB / 0.7043 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.2316, allocations: 54.62 kB / 0.7043 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.2346, allocations: 2.622 MB / 0.7069 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/0.2353, allocations: 1.157 MB / 0.708 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.2354, allocations: 27.42 kB / 0.7081 GB, free: 9.047 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/0.2355, allocations: 0 / 0.7081 GB, free: 9.047 MB / 0.545 GB Notification: Performance of Templates: time 0.02794/0.2634, allocations: 15.03 MB / 0.7227 GB, free: 10.01 MB / 0.5606 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)