Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 218.7 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8762/0.8762, allocations: 134 MB / 447.2 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 60.81 kB / 0.6198 GB, free: 6.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1779, allocations: 85.91 MB / 0.7037 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001829/0.1797, allocations: 0.5779 MB / 0.7043 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1812, allocations: 1.023 MB / 0.7053 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.1812, allocations: 0 / 0.7053 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.1812, allocations: 0 / 0.7053 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007564/0.182, allocations: 83.78 kB / 0.7054 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.016e-05/0.182, allocations: 11.94 kB / 0.7054 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.952e-05/0.1821, allocations: 7.984 kB / 0.7054 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.1821, allocations: 8 kB / 0.7054 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.929e-05/0.1821, allocations: 3.938 kB / 0.7054 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.1824, allocations: 31.97 kB / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1824, allocations: 0 / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.1826, allocations: 83.91 kB / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.1826, allocations: 0 / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.1826, allocations: 0 / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1828, allocations: 79.66 kB / 0.7056 GB, free: 15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1828, allocations: 0 / 0.7056 GB, free: 15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1828, allocations: 0 / 0.7056 GB, free: 15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.1828, allocations: 0 / 0.7056 GB, free: 15 MB / 0.5294 GB 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.000427/0.1833, allocations: 266.2 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1833, allocations: 12.03 kB / 0.7058 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.1834, allocations: 0.9375 kB / 0.7058 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1835, allocations: 106.5 kB / 0.7059 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1835, allocations: 4.125 kB / 0.7059 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.1835, allocations: 0 / 0.7059 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1836, allocations: 29.7 kB / 0.706 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1836, allocations: 3.984 kB / 0.706 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1836, allocations: 0 / 0.706 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1836, allocations: 0 / 0.706 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.1837, allocations: 8 kB / 0.706 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.1841, allocations: 362.5 kB / 0.7063 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/0.1842, allocations: 165.1 kB / 0.7065 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.1842, allocations: 80.14 kB / 0.7066 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.1843, allocations: 83.31 kB / 0.7066 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/0.1843, allocations: 105.8 kB / 0.7067 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.1843, allocations: 0 / 0.7067 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.001e-05/0.1844, allocations: 37.62 kB / 0.7068 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.1845, allocations: 126.7 kB / 0.7069 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1846, allocations: 105.8 kB / 0.707 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1846, allocations: 25.7 kB / 0.707 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.1846, allocations: 96.08 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.1847, allocations: 0 / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.1847, allocations: 13.72 kB / 0.7071 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1848, allocations: 318.8 kB / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.1848, allocations: 0 / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-06/0.1848, allocations: 0 / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.1849, allocations: 8.859 kB / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1849, allocations: 0 / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001074/0.185, allocations: 41.7 kB / 0.7075 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.185, allocations: 8 kB / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.185, allocations: 0 / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.185, allocations: 0 / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.935e-05/0.185, allocations: 0 / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.185, allocations: 0 / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.1851, allocations: 7.984 kB / 0.7075 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1851, allocations: 7.938 kB / 0.7075 GB, free: 12.82 MB / 0.5294 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 0.000113/0.1852, allocations: 185.2 kB / 0.7077 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.1852, allocations: 108.9 kB / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.969e-05/0.1853, allocations: 108.1 kB / 0.7079 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.929e-05/0.1854, allocations: 180.3 kB / 0.7081 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.162e-05/0.1855, allocations: 188.2 kB / 0.7082 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-05/0.1855, allocations: 176.3 kB / 0.7084 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.1858, allocations: 380.2 kB / 0.7088 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/0.1859, allocations: 109 kB / 0.7089 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.1859, allocations: 101 kB / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.239e-05/0.186, allocations: 184.2 kB / 0.7091 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-05/0.1861, allocations: 176.5 kB / 0.7093 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.635e-05/0.1861, allocations: 184.2 kB / 0.7095 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.909e-05/0.1862, allocations: 180.3 kB / 0.7097 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.1864, allocations: 311.7 kB / 0.71 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.1864, allocations: 105 kB / 0.7101 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.1865, allocations: 180.2 kB / 0.7102 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1866, allocations: 113 kB / 0.7103 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.1867, allocations: 180.3 kB / 0.7105 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.1868, allocations: 108.9 kB / 0.7106 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.128e-05/0.1868, allocations: 83.22 kB / 0.7107 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1868, allocations: 0 / 0.7107 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002871/0.1871, allocations: 19.92 kB / 0.7107 GB, free: 9.34 MB / 0.5294 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.0004385/0.1875, allocations: 227.5 kB / 0.7109 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.446e-05/0.1876, allocations: 3.984 kB / 0.7109 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1876, allocations: 0 / 0.7109 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.1876, allocations: 7.938 kB / 0.7109 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.188, allocations: 455.8 kB / 0.7114 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.1885, allocations: 221.9 kB / 0.7116 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1888, allocations: 0.673 MB / 0.7122 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.1889, allocations: 11.44 kB / 0.7123 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1889, allocations: 0 / 0.7123 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of Templates: time 0.002907/0.1918, allocations: 0.8627 MB / 0.7131 GB, free: 6.84 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.660001374781132] Failed to read output from testmodel.py, exit status != 0: 0.20098498091101646 0.21850653 0.032190178 Calling exit ...