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_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-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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0009833/0.0009833, allocations: 107.3 kB / 16.41 MB, free: 6.465 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.0009899/0.0009899, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7526/0.7526, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.19 kB / 0.5863 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 80.93 MB / 0.6654 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002754/0.1312, allocations: 1.733 MB / 0.6671 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005329/0.1365, allocations: 4.206 MB / 0.6712 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.482e-05/0.1366, allocations: 7.938 kB / 0.6712 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.1377, allocations: 362.5 kB / 0.6715 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.1379, allocations: 63.66 kB / 0.6716 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.1401, allocations: 0.9854 MB / 0.6726 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00022/0.1404, allocations: 151.4 kB / 0.6727 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.1404, allocations: 9.547 kB / 0.6727 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.65e-05/0.1405, allocations: 63.66 kB / 0.6728 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.1407, allocations: 159.5 kB / 0.6729 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.1408, allocations: 16 kB / 0.6729 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.1427, allocations: 1.377 MB / 0.6743 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.1429, allocations: 279.8 kB / 0.6745 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.1432, allocations: 298.2 kB / 0.6748 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.145, allocations: 1.551 MB / 0.6763 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.145, allocations: 4 kB / 0.6763 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.233e-06/0.145, allocations: 0 / 0.6763 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.145, allocations: 0 / 0.6763 GB, free: 10.62 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.009448/0.1544, allocations: 1.273 MB / 0.6776 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1545, allocations: 9.109 kB / 0.6776 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.1549, allocations: 99.58 kB / 0.6777 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.1554, allocations: 406 kB / 0.6781 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1555, allocations: 8.359 kB / 0.6781 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.1555, allocations: 7.938 kB / 0.6781 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.1559, allocations: 383.2 kB / 0.6785 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1559, allocations: 4 kB / 0.6785 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.156, allocations: 4 kB / 0.6785 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.156, allocations: 0 / 0.6785 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.1564, allocations: 439.7 kB / 0.6789 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.157, allocations: 0.6574 MB / 0.6795 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.1575, allocations: 0.5711 MB / 0.6801 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.1578, allocations: 337.7 kB / 0.6804 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009139/0.1587, allocations: 1.025 MB / 0.6814 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003717/0.1591, allocations: 408.9 kB / 0.6818 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.1591, allocations: 0 / 0.6818 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001254/0.1603, allocations: 1.293 MB / 0.6831 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1604, allocations: 81.14 kB / 0.6831 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.1615, allocations: 1.281 MB / 0.6844 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.1616, allocations: 33.7 kB / 0.6844 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1618, allocations: 289.3 kB / 0.6847 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.1618, allocations: 23.67 kB / 0.6847 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.1621, allocations: 351.5 kB / 0.6851 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1622, allocations: 322 kB / 0.6854 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.1634, allocations: 1.358 MB / 0.6867 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.1646, allocations: 1.497 MB / 0.6882 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006676/0.1713, allocations: 3.538 MB / 0.6916 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1713, allocations: 0 / 0.6916 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003951/0.1752, allocations: 3.973 MB / 0.6955 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1753, allocations: 8 kB / 0.6955 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1753, allocations: 0 / 0.6955 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1753, allocations: 7.922 kB / 0.6955 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1754, allocations: 16 kB / 0.6955 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1754, allocations: 4.312 kB / 0.6955 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.1759, allocations: 228.3 kB / 0.6957 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.176, allocations: 28.02 kB / 0.6958 GB, free: 6.098 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.0002717/0.1762, allocations: 249.5 kB / 0.696 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.1763, allocations: 70.69 kB / 0.6961 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.1766, allocations: 79.72 kB / 0.6961 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1766, allocations: 4 kB / 0.6962 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1766, allocations: 0 / 0.6962 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1767, allocations: 159.8 kB / 0.6963 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.1768, allocations: 3.984 kB / 0.6963 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1769, allocations: 4 kB / 0.6963 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.177, allocations: 19.86 kB / 0.6963 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008722/0.1778, allocations: 1.066 MB / 0.6974 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008987/0.1788, allocations: 1.213 MB / 0.6986 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002963/0.1791, allocations: 343.8 kB / 0.6989 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007253/0.1798, allocations: 0.714 MB / 0.6996 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of Backend: time 5.91e-07/0.1798, allocations: 4.031 kB / 0.6996 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003312/0.1831, allocations: 2.635 MB / 0.7022 GB, free: 15.46 MB / 0.545 GB Notification: Performance of SimCode: time 0.001874/0.185, allocations: 1.856 MB / 0.704 GB, free: 13.56 MB / 0.545 GB Notification: Performance of Templates: time 0.01657/0.2016, allocations: 10.53 MB / 0.7142 GB, free: 3.078 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)