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.001247/0.001247, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001155/0.001155, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9222/0.9222, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 68.62 kB / 0.5047 GB, free: 5.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1453, allocations: 80.93 MB / 0.5838 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001571/0.1469, allocations: 0.608 MB / 0.5843 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1481, allocations: 1.013 MB / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.057e-05/0.1481, allocations: 0 / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.1481, allocations: 0 / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005713/0.1487, allocations: 75.86 kB / 0.5854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.547e-05/0.1487, allocations: 7.922 kB / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.929e-05/0.1488, allocations: 4 kB / 0.5854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.1488, allocations: 4 kB / 0.5854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.426e-05/0.1488, allocations: 0 / 0.5854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.149, allocations: 42.91 kB / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.149, allocations: 0 / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1492, allocations: 83.91 kB / 0.5855 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.1492, allocations: 0 / 0.5855 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.1492, allocations: 4 kB / 0.5855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.1494, allocations: 71.91 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1494, allocations: 0 / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1494, allocations: 0 / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1494, allocations: 3.938 kB / 0.5856 GB, free: 3.039 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.000272/0.1497, allocations: 331.8 kB / 0.5859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.1497, allocations: 15.97 kB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.1497, allocations: 4.844 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.845e-05/0.1498, allocations: 164.4 kB / 0.5861 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-06/0.1499, allocations: 4.375 kB / 0.5861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1499, allocations: 7.938 kB / 0.5861 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.085e-05/0.1499, allocations: 25.7 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.15, allocations: 0 / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.15, allocations: 0 / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.15, allocations: 3.984 kB / 0.5862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/0.15, allocations: 4 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.1503, allocations: 468.5 kB / 0.5866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.404e-05/0.1504, allocations: 173.2 kB / 0.5868 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.1505, allocations: 80.14 kB / 0.5868 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1505, allocations: 75.28 kB / 0.5869 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.1505, allocations: 113.8 kB / 0.587 GB, free: 1.414 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1505, allocations: 0 / 0.587 GB, free: 1.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.613e-05/0.1506, allocations: 29.64 kB / 0.5871 GB, free: 1.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1507, allocations: 134.7 kB / 0.5872 GB, free: 1.234 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.1507, allocations: 101.8 kB / 0.5873 GB, free: 1.125 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.1508, allocations: 25.7 kB / 0.5873 GB, free: 1.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.1508, allocations: 80.14 kB / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.1508, allocations: 0 / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.1508, allocations: 17.72 kB / 0.5874 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1509, allocations: 322.7 kB / 0.5877 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-06/0.1509, allocations: 0 / 0.5877 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.151, allocations: 4 kB / 0.5877 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.151, allocations: 8.859 kB / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.151, allocations: 0 / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.176e-05/0.1511, allocations: 37.64 kB / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1511, allocations: 8.094 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1511, allocations: 3.938 kB / 0.5878 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.1511, allocations: 0 / 0.5878 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.415e-05/0.1511, allocations: 4 kB / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1511, allocations: 3.984 kB / 0.5878 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.1512, allocations: 4 kB / 0.5878 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.1512, allocations: 0 / 0.5878 GB, free: 0.582 MB / 494.1 MB 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.871e-05/0.1513, allocations: 185.1 kB / 0.588 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.1513, allocations: 108.9 kB / 0.5881 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.1514, allocations: 116 kB / 0.5882 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.995e-05/0.1514, allocations: 176.3 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-05/0.1515, allocations: 188.2 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-05/0.1516, allocations: 176.3 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1518, allocations: 405.2 kB / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/0.1518, allocations: 112.9 kB / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.1519, allocations: 101 kB / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.517e-05/0.1519, allocations: 184.2 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.152, allocations: 176.3 kB / 0.5896 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.509e-05/0.152, allocations: 176.3 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.635e-05/0.1521, allocations: 188.2 kB / 0.59 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.1522, allocations: 311.7 kB / 0.5903 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.1523, allocations: 182.1 kB / 0.5904 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.1524, allocations: 180.2 kB / 0.5906 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.1524, allocations: 108.9 kB / 0.5907 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.1525, allocations: 180.3 kB / 0.5909 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.1525, allocations: 108.9 kB / 0.591 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.1526, allocations: 79.28 kB / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1526, allocations: 0 / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002435/0.1528, allocations: 23.92 kB / 0.5911 GB, free: 12.96 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.0003019/0.1531, allocations: 239.7 kB / 0.5913 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.612e-05/0.1532, allocations: 4 kB / 0.5913 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1532, allocations: 0 / 0.5913 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.1532, allocations: 0 / 0.5913 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1535, allocations: 0.5308 MB / 0.5918 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.1538, allocations: 198 kB / 0.592 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.1541, allocations: 0.6692 MB / 0.5927 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.1541, allocations: 0 / 0.5927 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.1541, allocations: 15.42 kB / 0.5927 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1541, allocations: 0 / 0.5927 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.002395/0.1565, allocations: 0.6445 MB / 0.5933 GB, free: 10.66 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)