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.001203/0.001203, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.323/1.323, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9165/0.9165, allocations: 135.3 MB / 427.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 8 kB / 0.5083 GB, free: 4.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 82.31 MB / 0.5887 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006817/0.1503, allocations: 282.8 kB / 0.5889 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1515, allocations: 0.9932 MB / 0.5899 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.172e-05/0.1515, allocations: 0 / 0.5899 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.1515, allocations: 0 / 0.5899 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006257/0.1521, allocations: 87.84 kB / 0.59 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.024e-05/0.1522, allocations: 8 kB / 0.59 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.876e-05/0.1522, allocations: 7.938 kB / 0.59 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.1523, allocations: 3.984 kB / 0.59 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.965e-05/0.1523, allocations: 4 kB / 0.59 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.1525, allocations: 31.62 kB / 0.59 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1525, allocations: 0 / 0.59 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1527, allocations: 91.84 kB / 0.5901 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.206e-06/0.1527, allocations: 0 / 0.5901 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.1528, allocations: 29.64 kB / 0.5902 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.1529, allocations: 51.94 kB / 0.5902 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1529, allocations: 0 / 0.5902 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1529, allocations: 4 kB / 0.5902 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1529, allocations: 0 / 0.5902 GB, free: 0.9492 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.0002584/0.1532, allocations: 327.8 kB / 0.5905 GB, free: 0.582 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1532, allocations: 12.03 kB / 0.5905 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.1532, allocations: 4.922 kB / 0.5905 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1533, allocations: 168.3 kB / 0.5907 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1534, allocations: 384 / 0.5907 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.1534, allocations: 7.938 kB / 0.5907 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.047e-05/0.1535, allocations: 29.7 kB / 0.5907 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1535, allocations: 3.938 kB / 0.5907 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.1535, allocations: 0 / 0.5907 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1535, allocations: 0 / 0.5907 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.1535, allocations: 4 kB / 0.5907 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.1539, allocations: 464.5 kB / 0.5912 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.642e-05/0.154, allocations: 181.1 kB / 0.5914 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.154, allocations: 84.17 kB / 0.5914 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1541, allocations: 79.22 kB / 0.5915 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1541, allocations: 105.8 kB / 0.5916 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1541, allocations: 0 / 0.5916 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.559e-05/0.1542, allocations: 29.7 kB / 0.5916 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1542, allocations: 126.7 kB / 0.5918 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/0.1543, allocations: 105.8 kB / 0.5919 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.1543, allocations: 29.64 kB / 0.5919 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.1544, allocations: 80.14 kB / 0.592 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/0.1544, allocations: 3.984 kB / 0.592 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.1544, allocations: 9.719 kB / 0.592 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.1545, allocations: 314.8 kB / 0.5923 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.735e-06/0.1545, allocations: 8 kB / 0.5923 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-06/0.1545, allocations: 7.938 kB / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.1546, allocations: 8.859 kB / 0.5923 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1546, allocations: 0 / 0.5923 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.395e-05/0.1547, allocations: 33.69 kB / 0.5923 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1547, allocations: 4 kB / 0.5923 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1547, allocations: 0 / 0.5923 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.1547, allocations: 4 kB / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.507e-05/0.1547, allocations: 4.094 kB / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1547, allocations: 0 / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.1548, allocations: 0 / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1548, allocations: 0 / 0.5923 GB, free: 14.51 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 8.143e-05/0.1549, allocations: 189.1 kB / 0.5925 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.1549, allocations: 104.9 kB / 0.5926 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.155, allocations: 112.1 kB / 0.5927 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.115e-05/0.155, allocations: 184.3 kB / 0.5929 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.688e-05/0.1551, allocations: 184.3 kB / 0.5931 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.407e-05/0.1551, allocations: 176.3 kB / 0.5933 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1554, allocations: 409.1 kB / 0.5936 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/0.1554, allocations: 105 kB / 0.5937 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.1554, allocations: 104.9 kB / 0.5938 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-05/0.1555, allocations: 180.3 kB / 0.594 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/0.1556, allocations: 184.2 kB / 0.5942 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.537e-05/0.1556, allocations: 184.2 kB / 0.5944 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.185e-05/0.1557, allocations: 180.3 kB / 0.5945 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.1558, allocations: 315.6 kB / 0.5948 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.1559, allocations: 190 kB / 0.595 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.156, allocations: 180.3 kB / 0.5952 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.156, allocations: 104.9 kB / 0.5953 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.1561, allocations: 184.4 kB / 0.5955 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.1561, allocations: 101 kB / 0.5956 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.1562, allocations: 95.2 kB / 0.5957 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1562, allocations: 0 / 0.5957 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002493/0.1564, allocations: 23.94 kB / 0.5957 GB, free: 10.87 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.0003604/0.1568, allocations: 217 kB / 0.5959 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.703e-05/0.1569, allocations: 11.94 kB / 0.5959 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1569, allocations: 0 / 0.5959 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1569, allocations: 0 / 0.5959 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1572, allocations: 0.5215 MB / 0.5964 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.1576, allocations: 223.8 kB / 0.5966 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1578, allocations: 0.6731 MB / 0.5973 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.1579, allocations: 11.44 kB / 0.5973 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1579, allocations: 0 / 0.5973 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of Templates: time 0.002333/0.1602, allocations: 0.8452 MB / 0.5981 GB, free: 8.312 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)