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.001174/0.001174, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001197/0.001197, allocations: 195.2 kB / 16.25 MB, free: 6.637 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 / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9025/0.9025, allocations: 135.6 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 59.94 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1437, allocations: 81.02 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001753/0.1455, allocations: 0.6073 MB / 0.5851 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1467, allocations: 0.9893 MB / 0.5861 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.1467, allocations: 3.938 kB / 0.5861 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.1468, allocations: 0 / 0.5861 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005919/0.1474, allocations: 87.84 kB / 0.5862 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.095e-05/0.1474, allocations: 8 kB / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.851e-05/0.1475, allocations: 11.92 kB / 0.5862 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.1475, allocations: 0 / 0.5862 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.646e-05/0.1475, allocations: 4 kB / 0.5862 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.1477, allocations: 31.97 kB / 0.5862 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.1477, allocations: 3.938 kB / 0.5862 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.1479, allocations: 83.86 kB / 0.5863 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.1479, allocations: 3.984 kB / 0.5863 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.1479, allocations: 7.938 kB / 0.5863 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.1481, allocations: 63.92 kB / 0.5864 GB, free: 2.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1481, allocations: 0 / 0.5864 GB, free: 2.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1481, allocations: 0 / 0.5864 GB, free: 2.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1481, allocations: 0 / 0.5864 GB, free: 2.383 MB / 494.1 MB 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.0003315/0.1484, allocations: 331.8 kB / 0.5867 GB, free: 2.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.1485, allocations: 12.03 kB / 0.5867 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.1485, allocations: 4.844 kB / 0.5867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.1486, allocations: 168.4 kB / 0.5869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1486, allocations: 384 / 0.5869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.1487, allocations: 3.938 kB / 0.5869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.016e-05/0.1487, allocations: 33.7 kB / 0.5869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1487, allocations: 0 / 0.5869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.1488, allocations: 0 / 0.5869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1488, allocations: 0 / 0.5869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.1488, allocations: 11.88 kB / 0.5869 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.1492, allocations: 468.5 kB / 0.5874 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.684e-05/0.1493, allocations: 169.2 kB / 0.5876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.1494, allocations: 84.17 kB / 0.5876 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.1494, allocations: 75.28 kB / 0.5877 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.1495, allocations: 113.8 kB / 0.5878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1495, allocations: 0 / 0.5878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.485e-05/0.1495, allocations: 33.69 kB / 0.5878 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.1496, allocations: 126.7 kB / 0.588 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.1497, allocations: 101.8 kB / 0.5881 GB, free: 480 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1497, allocations: 25.7 kB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.1498, allocations: 84.14 kB / 0.5882 GB, free: 360 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.1498, allocations: 0 / 0.5882 GB, free: 360 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.1498, allocations: 17.72 kB / 0.5882 GB, free: 336 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.15, allocations: 314.8 kB / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.15, allocations: 0 / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.15, allocations: 4 kB / 0.5885 GB, free: 8 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.15, allocations: 8.906 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.15, allocations: 3.984 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001004/0.1501, allocations: 37.7 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1502, allocations: 8.094 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1502, allocations: 0 / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1502, allocations: 0 / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-05/0.1502, allocations: 0 / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1502, allocations: 3.938 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.1502, allocations: 3.906 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1502, allocations: 4 kB / 0.5886 GB, free: 15.93 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 9.511e-05/0.1503, allocations: 185.7 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.1504, allocations: 112.9 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.1505, allocations: 108.2 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.017e-05/0.1506, allocations: 184.3 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.362e-05/0.1506, allocations: 180.2 kB / 0.5893 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-05/0.1507, allocations: 176.3 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.151, allocations: 409.1 kB / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.112e-05/0.151, allocations: 109 kB / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.1511, allocations: 104.9 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.909e-05/0.1512, allocations: 192.1 kB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-05/0.1512, allocations: 176.3 kB / 0.5904 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.707e-05/0.1513, allocations: 180.2 kB / 0.5906 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.553e-05/0.1514, allocations: 180.3 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.1516, allocations: 315.7 kB / 0.591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.1517, allocations: 182.1 kB / 0.5912 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/0.1518, allocations: 180.2 kB / 0.5914 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.1518, allocations: 101 kB / 0.5915 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.1519, allocations: 192.2 kB / 0.5917 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.152, allocations: 105 kB / 0.5918 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.152, allocations: 79.28 kB / 0.5918 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.152, allocations: 0 / 0.5918 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002611/0.1523, allocations: 19.94 kB / 0.5919 GB, free: 12.31 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003449/0.1527, allocations: 230.8 kB / 0.5921 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.544e-05/0.1527, allocations: 4 kB / 0.5921 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1527, allocations: 3.938 kB / 0.5921 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.1527, allocations: 3.938 kB / 0.5921 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1531, allocations: 458.4 kB / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.1534, allocations: 204.2 kB / 0.5927 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1537, allocations: 0.6729 MB / 0.5934 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.1538, allocations: 3.391 kB / 0.5934 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.1538, allocations: 11.44 kB / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1538, allocations: 0 / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.002692/0.1565, allocations: 0.6532 MB / 0.594 GB, free: 10.07 MB / 0.4981 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)