Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 116.8 kB / 16.42 MB, free: 6.492 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: 186.6 kB / 17.35 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.23/1.23, allocations: 222.9 MB / 241.1 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.7413/0.7413, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 71.66 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1265, allocations: 80.92 MB / 0.6654 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001616/0.1282, allocations: 0.5587 MB / 0.6659 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1294, allocations: 0.9879 MB / 0.6669 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.1294, allocations: 0 / 0.6669 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.034e-05/0.1294, allocations: 0 / 0.6669 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000626/0.1301, allocations: 95.78 kB / 0.667 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.438e-05/0.1301, allocations: 11.92 kB / 0.667 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.995e-05/0.1302, allocations: 0 / 0.667 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.1302, allocations: 8 kB / 0.667 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.405e-05/0.1302, allocations: 0 / 0.667 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1304, allocations: 35.97 kB / 0.667 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.1304, allocations: 3.938 kB / 0.667 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.1306, allocations: 83.91 kB / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.1306, allocations: 0 / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.1306, allocations: 0 / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1308, allocations: 63.92 kB / 0.6672 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1308, allocations: 0 / 0.6672 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1308, allocations: 0 / 0.6672 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.1308, allocations: 3.938 kB / 0.6672 GB, free: 3.926 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002882/0.1311, allocations: 343.4 kB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1312, allocations: 17.09 kB / 0.6675 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.1312, allocations: 0.9375 kB / 0.6675 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.28e-05/0.1313, allocations: 164.3 kB / 0.6677 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1313, allocations: 4.125 kB / 0.6677 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.1313, allocations: 4 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.962e-05/0.1314, allocations: 29.7 kB / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.1314, allocations: 0 / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.1314, allocations: 0 / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1314, allocations: 0 / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.1314, allocations: 11.98 kB / 0.6677 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.1318, allocations: 460.6 kB / 0.6681 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.816e-05/0.1319, allocations: 173.1 kB / 0.6683 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.1319, allocations: 80.14 kB / 0.6684 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1319, allocations: 79.28 kB / 0.6685 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.132, allocations: 105.8 kB / 0.6686 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.132, allocations: 0 / 0.6686 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.207e-05/0.1321, allocations: 33.64 kB / 0.6686 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.1321, allocations: 55.41 kB / 0.6686 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.1322, allocations: 97.84 kB / 0.6687 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.1322, allocations: 25.7 kB / 0.6688 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.1322, allocations: 92.05 kB / 0.6689 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.1322, allocations: 0 / 0.6689 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.1323, allocations: 13.72 kB / 0.6689 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.1324, allocations: 318.8 kB / 0.6692 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.1324, allocations: 0 / 0.6692 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.1324, allocations: 4 kB / 0.6692 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.001e-05/0.1324, allocations: 4.859 kB / 0.6692 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1324, allocations: 0 / 0.6692 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.862e-05/0.1325, allocations: 45.7 kB / 0.6692 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1325, allocations: 4 kB / 0.6692 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1325, allocations: 0 / 0.6692 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1325, allocations: 3.938 kB / 0.6692 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.524e-05/0.1326, allocations: 0 / 0.6692 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1326, allocations: 0 / 0.6692 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.332e-05/0.1326, allocations: 4 kB / 0.6692 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1326, allocations: 3.984 kB / 0.6692 GB, free: 1.547 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.803e-05/0.1327, allocations: 189.1 kB / 0.6694 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.1327, allocations: 101 kB / 0.6695 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.1328, allocations: 112.2 kB / 0.6696 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/0.1328, allocations: 180.3 kB / 0.6698 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-05/0.1329, allocations: 112.9 kB / 0.6699 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.1329, allocations: 186 kB / 0.6701 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.133, allocations: 180.2 kB / 0.6703 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.1331, allocations: 112.9 kB / 0.6704 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.1332, allocations: 176.3 kB / 0.6705 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.021e-05/0.1333, allocations: 263.5 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001408/0.1334, allocations: 387.3 kB / 0.6711 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.491e-05/0.1334, allocations: 108.9 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.1335, allocations: 87.27 kB / 0.6713 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of Backend: time 1.7e-07/0.1335, allocations: 0 / 0.6713 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004784/0.134, allocations: 128.7 kB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0003994/0.1344, allocations: 0.8349 MB / 0.6723 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.002489/0.1369, allocations: 0.6822 MB / 0.6729 GB, free: 13.62 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)