Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001128, allocations: 114.3 kB / 16.42 MB, free: 6.5 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.001105/0.001105, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8013/0.8013, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.38 kB / 0.5821 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002768/0.1293, allocations: 1.727 MB / 0.6621 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00578/0.1351, allocations: 4.218 MB / 0.6662 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1353, allocations: 7.938 kB / 0.6662 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.1364, allocations: 362.4 kB / 0.6666 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.1366, allocations: 63.67 kB / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.139, allocations: 0.9855 MB / 0.6676 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.1392, allocations: 147.4 kB / 0.6677 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.1393, allocations: 9.562 kB / 0.6677 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.1394, allocations: 67.7 kB / 0.6678 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.1396, allocations: 163.5 kB / 0.668 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.1397, allocations: 12 kB / 0.668 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.1417, allocations: 1.381 MB / 0.6693 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.1419, allocations: 275.8 kB / 0.6696 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.1422, allocations: 306.1 kB / 0.6699 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.1442, allocations: 1.553 MB / 0.6714 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1442, allocations: 0 / 0.6714 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1442, allocations: 0 / 0.6714 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.1443, allocations: 8 kB / 0.6714 GB, free: 14.95 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.01077/0.155, allocations: 1.317 MB / 0.6727 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1551, allocations: 9.109 kB / 0.6727 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.1555, allocations: 96.2 kB / 0.6728 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.156, allocations: 410.1 kB / 0.6732 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1561, allocations: 8.375 kB / 0.6732 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.1561, allocations: 11.94 kB / 0.6732 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.1565, allocations: 391.2 kB / 0.6736 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1566, allocations: 0 / 0.6736 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1566, allocations: 0 / 0.6736 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1566, allocations: 0 / 0.6736 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.157, allocations: 443.7 kB / 0.674 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.1577, allocations: 0.6619 MB / 0.6746 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.1582, allocations: 0.5634 MB / 0.6752 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.1585, allocations: 333.6 kB / 0.6755 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009631/0.1595, allocations: 1.036 MB / 0.6765 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006027/0.1601, allocations: 392.9 kB / 0.6769 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 2.886e-06/0.1601, allocations: 4 kB / 0.6769 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001862/0.162, allocations: 1.309 MB / 0.6782 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/0.1621, allocations: 77.11 kB / 0.6782 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.1639, allocations: 1.285 MB / 0.6795 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.164, allocations: 33.69 kB / 0.6795 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.1643, allocations: 286 kB / 0.6798 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.1644, allocations: 27.8 kB / 0.6798 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/0.1649, allocations: 355.5 kB / 0.6802 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1651, allocations: 314 kB / 0.6805 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.167, allocations: 1.361 MB / 0.6818 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/0.1691, allocations: 1.497 MB / 0.6833 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.1802, allocations: 3.545 MB / 0.6867 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.1802, allocations: 0 / 0.6867 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006909/0.1871, allocations: 3.973 MB / 0.6906 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.1872, allocations: 4 kB / 0.6906 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.1872, allocations: 4 kB / 0.6906 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.1873, allocations: 4.031 kB / 0.6906 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.1875, allocations: 19.92 kB / 0.6906 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1875, allocations: 0 / 0.6906 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/0.1885, allocations: 241.3 kB / 0.6909 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.1887, allocations: 27.98 kB / 0.6909 GB, free: 10.35 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.0005769/0.1893, allocations: 253.5 kB / 0.6911 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.1894, allocations: 83.23 kB / 0.6912 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/0.1899, allocations: 79.72 kB / 0.6913 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.19, allocations: 0 / 0.6913 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.19, allocations: 4 kB / 0.6913 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.1902, allocations: 160.4 kB / 0.6914 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.1904, allocations: 4 kB / 0.6914 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.1907, allocations: 11.98 kB / 0.6915 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.1908, allocations: 7.938 kB / 0.6915 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001762/0.1926, allocations: 1.062 MB / 0.6925 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001898/0.1945, allocations: 1.229 MB / 0.6937 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006068/0.1951, allocations: 335.8 kB / 0.694 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001636/0.1968, allocations: 0.7179 MB / 0.6947 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of Backend: time 1.022e-06/0.1968, allocations: 0 / 0.6947 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006706/0.2035, allocations: 2.633 MB / 0.6973 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003547/0.2071, allocations: 1.88 MB / 0.6991 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.03522/0.2423, allocations: 10.53 MB / 0.7094 GB, free: 7.297 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)