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.0008776/0.0008776, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001013/0.001013, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9202/0.9202, allocations: 135.3 MB / 426.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 8 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1421, allocations: 82.31 MB / 0.5874 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006062/0.1428, allocations: 274.8 kB / 0.5877 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1439, allocations: 0.9815 MB / 0.5886 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.1439, allocations: 4 kB / 0.5886 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.597e-06/0.1439, allocations: 0 / 0.5886 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005668/0.1445, allocations: 75.86 kB / 0.5887 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.007e-05/0.1445, allocations: 11.94 kB / 0.5887 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.539e-05/0.1446, allocations: 7.984 kB / 0.5887 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.1446, allocations: 0 / 0.5887 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.785e-05/0.1446, allocations: 4 kB / 0.5887 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.1449, allocations: 27.97 kB / 0.5888 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.1449, allocations: 0 / 0.5888 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.145, allocations: 67.86 kB / 0.5888 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-06/0.145, allocations: 8 kB / 0.5888 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.1451, allocations: 25.7 kB / 0.5889 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1452, allocations: 43.94 kB / 0.5889 GB, free: 1.465 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1452, allocations: 0 / 0.5889 GB, free: 1.465 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1452, allocations: 0 / 0.5889 GB, free: 1.465 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.1452, allocations: 4 kB / 0.5889 GB, free: 1.461 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.0002665/0.1455, allocations: 331.6 kB / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1455, allocations: 8.031 kB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.1455, allocations: 4 kB / 0.5892 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1457, allocations: 166.9 kB / 0.5894 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1457, allocations: 4 kB / 0.5894 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.1457, allocations: 3.938 kB / 0.5894 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.72e-05/0.1458, allocations: 33.69 kB / 0.5894 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1458, allocations: 3.984 kB / 0.5894 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.1458, allocations: 0 / 0.5894 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1458, allocations: 0 / 0.5894 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.1458, allocations: 11.94 kB / 0.5894 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1462, allocations: 464.6 kB / 0.5899 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.999e-05/0.1463, allocations: 165.1 kB / 0.59 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.1463, allocations: 84.17 kB / 0.5901 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.1463, allocations: 79.31 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1464, allocations: 109.8 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1464, allocations: 4 kB / 0.5903 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.037e-05/0.1464, allocations: 29.69 kB / 0.5903 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1465, allocations: 134.6 kB / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.1466, allocations: 97.86 kB / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.1466, allocations: 25.7 kB / 0.5906 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.1466, allocations: 80.14 kB / 0.5907 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.1467, allocations: 0 / 0.5907 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.1467, allocations: 4 kB / 0.5907 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.1468, allocations: 322.8 kB / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.1468, allocations: 4 kB / 0.591 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-06/0.1468, allocations: 0 / 0.591 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.561e-05/0.1468, allocations: 3.938 kB / 0.591 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1468, allocations: 0 / 0.591 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001055/0.1469, allocations: 33.7 kB / 0.591 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1469, allocations: 4 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1469, allocations: 0 / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.147, allocations: 4.094 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.359e-05/0.147, allocations: 0 / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.147, allocations: 7.984 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.147, allocations: 4 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.147, allocations: 0 / 0.591 GB, free: 15.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/0.1471, allocations: 189.1 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.1472, allocations: 108.9 kB / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.1472, allocations: 104.1 kB / 0.5914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.506e-05/0.1473, allocations: 180.3 kB / 0.5916 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.903e-05/0.1473, allocations: 188.2 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.866e-05/0.1474, allocations: 184.3 kB / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1476, allocations: 409.1 kB / 0.5923 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/0.1476, allocations: 101 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.1477, allocations: 109 kB / 0.5925 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.547e-05/0.1477, allocations: 180.2 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/0.1478, allocations: 180.3 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.597e-05/0.1479, allocations: 180.2 kB / 0.593 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.395e-05/0.1479, allocations: 184.2 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.148, allocations: 319.6 kB / 0.5935 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.1481, allocations: 182.1 kB / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.1482, allocations: 180.2 kB / 0.5939 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.524e-05/0.1483, allocations: 101 kB / 0.594 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.1483, allocations: 184.2 kB / 0.5941 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.1484, allocations: 105 kB / 0.5942 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.1484, allocations: 87.27 kB / 0.5943 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1484, allocations: 0 / 0.5943 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000247/0.1487, allocations: 20 kB / 0.5943 GB, free: 11.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003133/0.149, allocations: 230 kB / 0.5946 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.919e-05/0.149, allocations: 4 kB / 0.5946 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1491, allocations: 0 / 0.5946 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.1491, allocations: 3.938 kB / 0.5946 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1494, allocations: 0.5293 MB / 0.5951 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.1497, allocations: 194 kB / 0.5953 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1499, allocations: 0.677 MB / 0.5959 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.15, allocations: 0 / 0.5959 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.15, allocations: 15.44 kB / 0.5959 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.15, allocations: 0 / 0.5959 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of Templates: time 0.002507/0.1525, allocations: 0.6396 MB / 0.5966 GB, free: 9.109 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)