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.001088/0.001088, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001217/0.001217, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.953/0.953, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.55 kB / 0.5049 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.144, allocations: 80.93 MB / 0.5839 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001811/0.1459, allocations: 0.6141 MB / 0.5845 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1471, allocations: 0.9892 MB / 0.5855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.1471, allocations: 0 / 0.5855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.1472, allocations: 0 / 0.5855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006503/0.1478, allocations: 83.86 kB / 0.5856 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.984e-05/0.1479, allocations: 11.94 kB / 0.5856 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.235e-05/0.1479, allocations: 7.984 kB / 0.5856 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.148, allocations: 0 / 0.5856 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.755e-05/0.148, allocations: 3.984 kB / 0.5856 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.1482, allocations: 39.97 kB / 0.5856 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1482, allocations: 0 / 0.5856 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.1484, allocations: 79.86 kB / 0.5857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.286e-06/0.1484, allocations: 3.938 kB / 0.5857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.1485, allocations: 11.92 kB / 0.5857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1486, allocations: 59.94 kB / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1486, allocations: 0 / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1486, allocations: 0 / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1486, allocations: 0 / 0.5858 GB, free: 2.961 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.0002971/0.1489, allocations: 331.8 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.149, allocations: 16.03 kB / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.149, allocations: 4.844 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1491, allocations: 164.4 kB / 0.5863 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1492, allocations: 384 / 0.5863 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1492, allocations: 3.938 kB / 0.5863 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.881e-05/0.1493, allocations: 33.64 kB / 0.5863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1493, allocations: 0 / 0.5863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.1493, allocations: 3.938 kB / 0.5863 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1493, allocations: 0 / 0.5863 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.1493, allocations: 15.98 kB / 0.5863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.1497, allocations: 468.5 kB / 0.5868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.562e-05/0.1498, allocations: 165.1 kB / 0.5869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.1499, allocations: 92.14 kB / 0.587 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1499, allocations: 79.28 kB / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.1499, allocations: 105.8 kB / 0.5872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.1499, allocations: 0 / 0.5872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.522e-05/0.15, allocations: 25.7 kB / 0.5872 GB, free: 1.293 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.1501, allocations: 130.7 kB / 0.5873 GB, free: 1.152 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.1502, allocations: 101.8 kB / 0.5874 GB, free: 1.043 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1502, allocations: 25.7 kB / 0.5875 GB, free: 1.012 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.1502, allocations: 84.14 kB / 0.5875 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.1503, allocations: 0 / 0.5875 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.1503, allocations: 17.72 kB / 0.5876 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1504, allocations: 314.8 kB / 0.5879 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.1504, allocations: 3.938 kB / 0.5879 GB, free: 0.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.445e-06/0.1504, allocations: 3.984 kB / 0.5879 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.1505, allocations: 8.859 kB / 0.5879 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1505, allocations: 0 / 0.5879 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001162/0.1506, allocations: 45.77 kB / 0.5879 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1506, allocations: 4 kB / 0.5879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1506, allocations: 0 / 0.5879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1507, allocations: 0 / 0.5879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-05/0.1507, allocations: 0 / 0.5879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1507, allocations: 0 / 0.5879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.1507, allocations: 0 / 0.5879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.1507, allocations: 7.938 kB / 0.5879 GB, free: 0.5039 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 9.399e-05/0.1508, allocations: 197 kB / 0.5881 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.1509, allocations: 104.9 kB / 0.5882 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.1509, allocations: 108.2 kB / 0.5883 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.327e-05/0.151, allocations: 184.2 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.615e-05/0.1511, allocations: 180.3 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.489e-05/0.1512, allocations: 184.2 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.1514, allocations: 405.2 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/0.1514, allocations: 104.9 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.1515, allocations: 112.9 kB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.819e-05/0.1515, allocations: 180.3 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.1516, allocations: 180.2 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.405e-05/0.1517, allocations: 176.3 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-05/0.1518, allocations: 180.3 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1519, allocations: 315.7 kB / 0.5904 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.152, allocations: 186 kB / 0.5906 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/0.152, allocations: 176.3 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.1521, allocations: 109 kB / 0.5909 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.1522, allocations: 180.2 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.1522, allocations: 109 kB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.1523, allocations: 79.28 kB / 0.5912 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1523, allocations: 0 / 0.5912 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002599/0.1526, allocations: 23.92 kB / 0.5913 GB, free: 12.88 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.0003454/0.1529, allocations: 225.4 kB / 0.5915 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.665e-05/0.153, allocations: 11.94 kB / 0.5915 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.153, allocations: 0 / 0.5915 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.153, allocations: 0 / 0.5915 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.1534, allocations: 463.7 kB / 0.5919 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.1538, allocations: 204.1 kB / 0.5921 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.154, allocations: 0.6729 MB / 0.5928 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.1541, allocations: 4 kB / 0.5928 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.1541, allocations: 11.44 kB / 0.5928 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1541, allocations: 4 kB / 0.5928 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.002613/0.1567, allocations: 0.6499 MB / 0.5934 GB, free: 10.64 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)