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.0009378/0.0009378, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008359/0.000836, allocations: 177.3 kB / 15.94 MB, free: 228 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.16/1.16, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8236/0.8236, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002975, allocations: 12 kB / 0.5069 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1374, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.000584/0.1381, allocations: 282.8 kB / 0.5875 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1391, allocations: 0.9487 MB / 0.5884 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.1392, allocations: 0 / 0.5884 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.586e-06/0.1392, allocations: 0 / 0.5884 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000589/0.1398, allocations: 79.83 kB / 0.5885 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.089e-05/0.1398, allocations: 11.94 kB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.301e-05/0.1398, allocations: 0 / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.1399, allocations: 4 kB / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.401e-05/0.1399, allocations: 3.938 kB / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.14, allocations: 39.95 kB / 0.5886 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-06/0.1401, allocations: 3.938 kB / 0.5886 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1402, allocations: 51.95 kB / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-06/0.1402, allocations: 0 / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.1402, allocations: 25.7 kB / 0.5886 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.44e-05/0.1403, allocations: 47.94 kB / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.1403, allocations: 0 / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1403, allocations: 0 / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.816e-06/0.1403, allocations: 0 / 0.5887 GB, free: 1.598 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.0002464/0.1406, allocations: 323.7 kB / 0.589 GB, free: 1.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.1406, allocations: 20.02 kB / 0.589 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.204e-05/0.1406, allocations: 3.906 kB / 0.589 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.776e-05/0.1407, allocations: 167 kB / 0.5892 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1408, allocations: 0 / 0.5892 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1408, allocations: 4 kB / 0.5892 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.58e-05/0.1408, allocations: 25.7 kB / 0.5892 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1409, allocations: 0 / 0.5892 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.1409, allocations: 0 / 0.5892 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1409, allocations: 3.938 kB / 0.5892 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.564e-05/0.1409, allocations: 11.94 kB / 0.5892 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.1412, allocations: 468.6 kB / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.185e-05/0.1413, allocations: 169.2 kB / 0.5898 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1413, allocations: 75.28 kB / 0.5899 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1414, allocations: 117.8 kB / 0.59 GB, free: 56 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1414, allocations: 0 / 0.59 GB, free: 56 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.07e-05/0.1414, allocations: 25.7 kB / 0.59 GB, free: 24 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.1415, allocations: 126.7 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.1416, allocations: 109.8 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.1416, allocations: 25.7 kB / 0.5903 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.1416, allocations: 80.14 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.1417, allocations: 3.984 kB / 0.5904 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.1417, allocations: 4 kB / 0.5904 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.1418, allocations: 318.8 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.1418, allocations: 4 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-06/0.1418, allocations: 0 / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.208e-05/0.1418, allocations: 0 / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1418, allocations: 0 / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.685e-05/0.1419, allocations: 45.56 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1419, allocations: 6.031 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.1419, allocations: 4.094 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.1419, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.496e-05/0.1419, allocations: 4 kB / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.142, allocations: 0 / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.142, allocations: 0 / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.142, allocations: 0 / 0.5907 GB, free: 15.26 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.22e-05/0.1421, allocations: 185.1 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.1421, allocations: 116.9 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.1422, allocations: 108.1 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.246e-05/0.1422, allocations: 176.3 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.288e-05/0.1423, allocations: 180.2 kB / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.216e-05/0.1423, allocations: 180.3 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1425, allocations: 413.1 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.1426, allocations: 101 kB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.1426, allocations: 109 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-05/0.1426, allocations: 184.2 kB / 0.5924 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/0.1427, allocations: 180.2 kB / 0.5926 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-05/0.1428, allocations: 180.2 kB / 0.5928 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.207e-05/0.1428, allocations: 184.3 kB / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.1429, allocations: 315.6 kB / 0.5932 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.143, allocations: 182.1 kB / 0.5934 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.1431, allocations: 180.2 kB / 0.5936 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.1431, allocations: 109 kB / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.1432, allocations: 180.3 kB / 0.5938 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.1432, allocations: 104.9 kB / 0.5939 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.1433, allocations: 83.28 kB / 0.594 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1433, allocations: 0 / 0.594 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002452/0.1435, allocations: 23.98 kB / 0.5941 GB, free: 11.64 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.0002726/0.1438, allocations: 218.6 kB / 0.5943 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.793e-05/0.1439, allocations: 5.719 kB / 0.5943 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1439, allocations: 0 / 0.5943 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.367e-06/0.1439, allocations: 0 / 0.5943 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1441, allocations: 0.5301 MB / 0.5948 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001654/0.1443, allocations: 162 kB / 0.5949 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.1445, allocations: 0.677 MB / 0.5956 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.1445, allocations: 7.719 kB / 0.5956 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.1446, allocations: 11.44 kB / 0.5956 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of SimCode: time 1.323e-06/0.1446, allocations: 0 / 0.5956 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of Templates: time 0.00226/0.1468, allocations: 0.6319 MB / 0.5962 GB, free: 9.379 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: